View Javadoc

1   package com.atlassian.plugins.rest.sample.entities;
2   
3   import javax.xml.bind.annotation.XmlAccessType;
4   import javax.xml.bind.annotation.XmlAccessorType;
5   import javax.xml.bind.annotation.XmlRootElement;
6   
7   @XmlAccessorType(XmlAccessType.FIELD)
8   @XmlRootElement
9   public class Apple {
10      String name;
11      String reqContentType;
12      String reqAccept;
13  
14      public Apple() {
15      }
16  
17      public Apple(final String name, final String reqContentType, final String reqAccept) {
18          this.name = name;
19          this.reqContentType = reqContentType;
20          this.reqAccept = reqAccept;
21      }
22  
23      public String getName() {
24          return name;
25      }
26  
27      public String getReqContentType() {
28          return reqContentType;
29      }
30  
31      public String getReqAccept() {
32          return reqAccept;
33      }
34  }