View Javadoc
1   package org.kuali.asr.bo;
2   
3   import org.codehaus.jackson.annotate.JsonAutoDetect;
4   import org.codehaus.jackson.annotate.JsonMethod;
5   import org.codehaus.jackson.annotate.JsonProperty;
6   
7   import javax.xml.bind.annotation.*;
8   import java.util.List;
9   
10  /**
11   * Created with IntelliJ IDEA.
12   * User: maheswarang
13   * Date: 12/24/13
14   * Time: 5:32 PM
15   * To change this template use File | Settings | File Templates.
16   */
17  @XmlRootElement(name = "asrItems")
18  @XmlAccessorType(XmlAccessType.FIELD)
19  @JsonAutoDetect(JsonMethod.FIELD)
20  public class ASRItems {
21      @XmlElementWrapper
22      @XmlElement(name="asrItem")
23      @JsonProperty("asrItems")
24      private List<ASRItem> asrItems;
25  
26      public List<ASRItem> getAsrItems() {
27          return asrItems;
28      }
29  
30      public void setAsrItems(List<ASRItem> asrItems) {
31          this.asrItems = asrItems;
32      }
33  }