1package org.apache.archiva.admin.model.beans;
2/*3 * Licensed to the Apache Software Foundation (ASF) under one4 * or more contributor license agreements. See the NOTICE file5 * distributed with this work for additional information6 * regarding copyright ownership. The ASF licenses this file7 * to you under the Apache License, Version 2.0 (the8 * "License"); you may not use this file except in compliance9 * with the License. You may obtain a copy of the License at10 *11 * http://www.apache.org/licenses/LICENSE-2.012 *13 * Unless required by applicable law or agreed to in writing,14 * software distributed under the License is distributed on an15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY16 * KIND, either express or implied. See the License for the17 * specific language governing permissions and limitations18 * under the License.19 */2021import javax.xml.bind.annotation.XmlRootElement;
2223/**24 * @author Olivier Lamy25 * @since 1.4-M126 */27 @XmlRootElement( name = "organisationInformation" )
28publicclassOrganisationInformation29 {
30/**31 * name of the organisation.32 */33private String name;
3435/**36 * name of the organisation.37 */38private String url;
3940/**41 * name of the organisation.42 */43private String logoLocation;
4445publicOrganisationInformation()
46 {
47// no op48 }
4950publicOrganisationInformation( String name, String url, String logoLocation )
51 {
52this.name = name;
53this.url = url;
54this.logoLocation = logoLocation;
55 }
5657public String getName()
58 {
59return name;
60 }
6162publicvoid setName( String name )
63 {
64this.name = name;
65 }
6667public String getUrl()
68 {
69return url;
70 }
7172publicvoid setUrl( String url )
73 {
74this.url = url;
75 }
7677public String getLogoLocation()
78 {
79return logoLocation;
80 }
8182publicvoid setLogoLocation( String logoLocation )
83 {
84this.logoLocation = logoLocation;
85 }
8687 @Override
88public String toString()
89 {
90final StringBuilder sb = new StringBuilder();
91 sb.append( "OrganisationInformation" );
92 sb.append( "{name='" ).append( name ).append( '\'' );
93 sb.append( ", url='" ).append( url ).append( '\'' );
94 sb.append( ", logoLocation='" ).append( logoLocation ).append( '\'' );
95 sb.append( '}' );
96return sb.toString();
97 }
98 }