// // 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.HashMap; import java.util.List; import java.util.Map; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.OneToMany; import javax.persistence.OneToOne; import javax.persistence.Transient; import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.namespace.QName; @Entity public class VocabularyElement { @Id @GeneratedValue(strategy=GenerationType.AUTO) private int id; @OneToMany protected List<Attribute> attribute = new ArrayList<Attribute>(); @OneToOne @JoinColumn(name="children_id") protected IDList children; @OneToOne @JoinColumn(name="vocabularyElementExtension_id") protected VocabularyElementExtension extension; @XmlAttribute(name = "sId", required = true) @XmlSchemaType(name = "anyURI") protected String sId; @Transient @XmlAnyElement(lax = true) protected List<Object> any; @Transient @XmlAnyAttribute private Map<QName, String> otherAttributes = new HashMap<QName, String>(); public VocabularyElement() { super(); } public VocabularyElement(String sId) { super(); this.sId = sId; } public int getId() { return id; } public void setId(int id) { this.id = id; } public List<Attribute> getAttribute() { return attribute; } public void setAttribute(List<Attribute> attribute) { this.attribute = attribute; } public IDList getChildren() { return children; } public void setChildren(IDList children) { this.children = children; } public VocabularyElementExtension getExtension() { return extension; } public void setExtension(VocabularyElementExtension extension) { this.extension = extension; } public String getsId() { return sId; } public void setsId(String sId) { this.sId = sId; } public List<Object> getAny() { return any; } public void setAny(List<Object> any) { this.any = any; } public Map<QName, String> getOtherAttributes() { return otherAttributes; } public void setOtherAttributes(Map<QName, String> otherAttributes) { this.otherAttributes = otherAttributes; } }