blob: e1feb1eecbd8e4fb8b1cc8c7e5926955599a0019 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
package com.p4square.ccbapi.model;
import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
/**
* A GetLookupTableResponse contains a list of lookup table values.
*/
@XmlRootElement(name="response")
@XmlAccessorType(XmlAccessType.NONE)
public class GetLookupTableResponse extends CCBAPIResponse {
@XmlElementWrapper(name = "items")
@XmlElement(name="item")
private List<LookupTableItem> items;
public GetLookupTableResponse() {
items = new ArrayList<>();
}
/**
* @return The list of items in the lookup table.
*/
public List<LookupTableItem> getItems() {
return items;
}
/**
* Set the list of lookup table items.
*
* @param items The list of items in the lookup table.
*/
public void setItems(final List<LookupTableItem> items) {
this.items = items;
}
}
|