Samples JDK
Ticket.java
1 package com.freemindcafe.apache.cxf.jaxrs.sample8;
2 
3 import javax.xml.bind.annotation.XmlAccessType;
4 import javax.xml.bind.annotation.XmlAccessorType;
5 import javax.xml.bind.annotation.XmlRootElement;
6 
7 @XmlRootElement
8 @XmlAccessorType(XmlAccessType.FIELD)
9 public class Ticket {
10 
11  private Long id;
12  private String description;
13  private String assignee;
14  private String fileName;
15 
16  public String getDescription() {
17  return description;
18  }
19  public void setDescription(String description) {
20  this.description = description;
21  }
22  public String getAssignee() {
23  return assignee;
24  }
25  public void setAssignee(String assignee) {
26  this.assignee = assignee;
27  }
28  public Long getId() {
29  return id;
30  }
31  public void setId(Long id) {
32  this.id = id;
33  }
34  public String getFileName() {
35  return fileName;
36  }
37  public void setFileName(String fileName) {
38  this.fileName = fileName;
39  }
40 }