1 package org.fosstrak.epcis.model;
2
3 import java.util.ArrayList;
4 import java.util.List;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlType;
9
10 /**
11 * <p>
12 * Java class for VocabularyElementListType complex type.
13 * <p>
14 * The following schema fragment specifies the expected content contained within
15 * this class.
16 *
17 * <pre>
18 * <complexType name="VocabularyElementListType">
19 * <complexContent>
20 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21 * <sequence>
22 * <element name="VocabularyElement" type="{urn:epcglobal:epcis-masterdata:xsd:1}VocabularyElementType" maxOccurs="unbounded"/>
23 * </sequence>
24 * </restriction>
25 * </complexContent>
26 * </complexType>
27 * </pre>
28 */
29 @XmlAccessorType(XmlAccessType.FIELD)
30 @XmlType(name = "VocabularyElementListType", namespace = "urn:epcglobal:epcis-masterdata:xsd:1", propOrder = { "vocabularyElement" })
31 public class VocabularyElementListType {
32
33 @XmlElement(name = "VocabularyElement", required = true)
34 protected List<VocabularyElementType> vocabularyElement;
35
36 /**
37 * Gets the value of the vocabularyElement property.
38 * <p>
39 * This accessor method returns a reference to the live list, not a
40 * snapshot. Therefore any modification you make to the returned list will
41 * be present inside the JAXB object. This is why there is not a
42 * <CODE>set</CODE> method for the vocabularyElement property.
43 * <p>
44 * For example, to add a new item, do as follows:
45 *
46 * <pre>
47 * getVocabularyElement().add(newItem);
48 * </pre>
49 * <p>
50 * Objects of the following type(s) are allowed in the list
51 * {@link VocabularyElementType }
52 */
53 public List<VocabularyElementType> getVocabularyElement() {
54 if (vocabularyElement == null) {
55 vocabularyElement = new ArrayList<VocabularyElementType>();
56 }
57 return this.vocabularyElement;
58 }
59
60 }