// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.08.31 at 10:36:23 AM KST // package org.oliot.model.oliot; import java.util.ArrayList; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinTable; import javax.persistence.OneToMany; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for VocabularyElementListType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="VocabularyElementListType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="VocabularyElement" type="{masterdata.epcis.oliot.org}VocabularyElementType" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VocabularyElementListType", namespace = "masterdata.epcis.oliot.org", propOrder = { "vocabularyElement" }) @Entity public class VocabularyElementList { @Id @GeneratedValue(strategy=GenerationType.AUTO) private int id; @OneToMany @XmlElement(name = "VocabularyElement", required = true) @JoinTable(name ="VocElementList_VocElement") protected List<VocabularyElement> vocabularyElement =new ArrayList<VocabularyElement>(); /** * Gets the value of the vocabularyElement property. * * <p> * This accessor method returns a reference to the live list, not a * snapshot. Therefore any modification you make to the returned list will * be present inside the JAXB object. This is why there is not a * <CODE>set</CODE> method for the vocabularyElement property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getVocabularyElement().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link VocabularyElement } * * */ public List<VocabularyElement> getVocabularyElement() { if (vocabularyElement == null) { vocabularyElement = new ArrayList<VocabularyElement>(); } return this.vocabularyElement; } public void setVocabularyElement(List<VocabularyElement> vocabularyElement) { this.vocabularyElement = vocabularyElement; } }