Samples JDK
Ticket.java
1 package com.freemindcafe.apache.cxf.jaxrs.sample7;
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 
15  public String getDescription() {
16  return description;
17  }
18  public void setDescription(String description) {
19  this.description = description;
20  }
21  public String getAssignee() {
22  return assignee;
23  }
24  public void setAssignee(String assignee) {
25  this.assignee = assignee;
26  }
27  public Long getId() {
28  return id;
29  }
30  public void setId(Long id) {
31  this.id = id;
32  }
33 }