~ubuntu-branches/ubuntu/saucy/restlet/saucy

« back to all changes in this revision

Viewing changes to org.restlet.test/src/org/restlet/test/ext/odata/cafe/Item.java

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-06-11 16:25:45 UTC
  • Revision ID: package-import@ubuntu.com-20120611162545-5w2o0resi5y3pybc
Tags: upstream-2.0.14
ImportĀ upstreamĀ versionĀ 2.0.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Copyright 2005-2012 Restlet S.A.S.
 
3
 * 
 
4
 * The contents of this file are subject to the terms of one of the following
 
5
 * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
 
6
 * 1.0 (the "Licenses"). You can select the license that you prefer but you may
 
7
 * not use this file except in compliance with one of these Licenses.
 
8
 * 
 
9
 * You can obtain a copy of the Apache 2.0 license at
 
10
 * http://www.opensource.org/licenses/apache-2.0
 
11
 * 
 
12
 * You can obtain a copy of the LGPL 3.0 license at
 
13
 * http://www.opensource.org/licenses/lgpl-3.0
 
14
 * 
 
15
 * You can obtain a copy of the LGPL 2.1 license at
 
16
 * http://www.opensource.org/licenses/lgpl-2.1
 
17
 * 
 
18
 * You can obtain a copy of the CDDL 1.0 license at
 
19
 * http://www.opensource.org/licenses/cddl1
 
20
 * 
 
21
 * You can obtain a copy of the EPL 1.0 license at
 
22
 * http://www.opensource.org/licenses/eclipse-1.0
 
23
 * 
 
24
 * See the Licenses for the specific language governing permissions and
 
25
 * limitations under the Licenses.
 
26
 * 
 
27
 * Alternatively, you can obtain a royalty free commercial license with less
 
28
 * limitations, transferable or non-transferable, directly at
 
29
 * http://www.restlet.com/products/restlet-framework
 
30
 * 
 
31
 * Restlet is a registered trademark of Restlet S.A.S.
 
32
 */
 
33
 
 
34
package org.restlet.test.ext.odata.cafe;
 
35
 
 
36
 
 
37
 
 
38
 
 
39
/**
 
40
* Generated by the generator tool for the WCF Data Services extension for the Restlet framework.<br>
 
41
*
 
42
* @see <a href="http://localhost:8111/Cafe.svc/$metadata">Metadata of the target WCF Data Services</a>
 
43
*
 
44
*/
 
45
public class Item {
 
46
 
 
47
private String description;
 
48
private String id;    /**
 
49
     * Constructor without parameter.
 
50
     * 
 
51
     */
 
52
    public Item() {
 
53
        super();
 
54
    }
 
55
 
 
56
    /**
 
57
     * Constructor.
 
58
     * 
 
59
     * @param id
 
60
     *            The identifiant value of the entity.
 
61
     */
 
62
    public Item(String id) {
 
63
        this();
 
64
        this.id = id;
 
65
    }
 
66
    
 
67
   /**
 
68
    * Returns the value of the description attribute.
 
69
    *
 
70
    * @return The value of the description attribute.
 
71
    */
 
72
   public String getDescription() {
 
73
      return description;
 
74
   }
 
75
   
 
76
   /**
 
77
    * Returns the value of the id attribute.
 
78
    *
 
79
    * @return The value of the id attribute.
 
80
    */
 
81
   public String getId() {
 
82
      return id;
 
83
   }
 
84
   
 
85
 
 
86
   /**
 
87
    * Sets the value of the description attribute.
 
88
    *
 
89
    * @param Description
 
90
    *     The value of the description attribute.
 
91
    */
 
92
   public void setDescription(String description) {
 
93
      this.description = description;
 
94
   }
 
95
   
 
96
   /**
 
97
    * Sets the value of the id attribute.
 
98
    *
 
99
    * @param ID
 
100
    *     The value of the id attribute.
 
101
    */
 
102
   public void setId(String id) {
 
103
      this.id = id;
 
104
   }
 
105
   
 
106
 
 
107
}