View Javadoc
1   package org.kuali.ole.loaders.describe.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.XmlAccessType;
8   import javax.xml.bind.annotation.XmlAccessorType;
9   import javax.xml.bind.annotation.XmlElement;
10  import javax.xml.bind.annotation.XmlRootElement;
11  import java.util.ArrayList;
12  import java.util.List;
13  
14  /**
15   * Created by sheiksalahudeenm on 2/4/15.
16   */
17  @XmlRootElement(name = "oleLocationRequest")
18  @XmlAccessorType(XmlAccessType.FIELD)
19  @JsonAutoDetect(JsonMethod.FIELD)
20  public class OLELocationImportRequestBo {
21  
22      @XmlElement(name = "locations")
23      @JsonProperty("locations")
24      List<OLELocationBo> oleLocationBoList = new ArrayList<>();
25  
26      public List<OLELocationBo> getOleLocationBoList() {
27          return oleLocationBoList;
28      }
29  
30      public void setOleLocationBoList(List<OLELocationBo> oleLocationBoList) {
31          this.oleLocationBoList = oleLocationBoList;
32      }
33  }