This project has retired. For details please refer to its Attic page.
Application xref
View Javadoc

1   package org.apache.archiva.redback.rest.api.model;
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  import java.io.Serializable;
23  
24  /**
25   * @author Olivier Lamy
26   */
27  @XmlRootElement( name = "application" )
28  public class Application
29      implements Serializable
30  {
31      /**
32       * Field version
33       */
34      private String version;
35  
36      /**
37       * Field id
38       */
39      private String id;
40  
41      /**
42       * Field description
43       */
44      private String description;
45  
46      /**
47       * Field longDescription
48       */
49      private String longDescription;
50  
51      public Application()
52      {
53          // no op
54      }
55  
56      public String getVersion()
57      {
58          return version;
59      }
60  
61      public void setVersion( String version )
62      {
63          this.version = version;
64      }
65  
66      public String getId()
67      {
68          return id;
69      }
70  
71      public void setId( String id )
72      {
73          this.id = id;
74      }
75  
76      public String getDescription()
77      {
78          return description;
79      }
80  
81      public void setDescription( String description )
82      {
83          this.description = description;
84      }
85  
86      public String getLongDescription()
87      {
88          return longDescription;
89      }
90  
91      public void setLongDescription( String longDescription )
92      {
93          this.longDescription = longDescription;
94      }
95  }