This project has retired. For details please refer to its Attic page.
OrganisationInformation xref
View Javadoc
1   package org.apache.archiva.admin.model.beans;
2   /*
3    * Licensed to the Apache Software Foundation (ASF) under one
4    * or more contributor license agreements.  See the NOTICE file
5    * distributed with this work for additional information
6    * regarding copyright ownership.  The ASF licenses this file
7    * to you under the Apache License, Version 2.0 (the
8    * "License"); you may not use this file except in compliance
9    * with the License.  You may obtain a copy of the License at
10   *
11   *   http://www.apache.org/licenses/LICENSE-2.0
12   *
13   * Unless required by applicable law or agreed to in writing,
14   * software distributed under the License is distributed on an
15   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16   * KIND, either express or implied.  See the License for the
17   * specific language governing permissions and limitations
18   * under the License.
19   */
20  
21  import javax.xml.bind.annotation.XmlRootElement;
22  
23  /**
24   * @author Olivier Lamy
25   * @since 1.4-M1
26   */
27  @XmlRootElement( name = "organisationInformation" )
28  public class OrganisationInformation
29  {
30      /**
31       * name of the organisation.
32       */
33      private String name;
34  
35      /**
36       * name of the organisation.
37       */
38      private String url;
39  
40      /**
41       * name of the organisation.
42       */
43      private String logoLocation;
44  
45      public OrganisationInformation()
46      {
47          // no op
48      }
49  
50      public OrganisationInformation( String name, String url, String logoLocation )
51      {
52          this.name = name;
53          this.url = url;
54          this.logoLocation = logoLocation;
55      }
56  
57      public String getName()
58      {
59          return name;
60      }
61  
62      public void setName( String name )
63      {
64          this.name = name;
65      }
66  
67      public String getUrl()
68      {
69          return url;
70      }
71  
72      public void setUrl( String url )
73      {
74          this.url = url;
75      }
76  
77      public String getLogoLocation()
78      {
79          return logoLocation;
80      }
81  
82      public void setLogoLocation( String logoLocation )
83      {
84          this.logoLocation = logoLocation;
85      }
86  
87      @Override
88      public String toString()
89      {
90          final 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( '}' );
96          return sb.toString();
97      }
98  }