// // 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.09.22 at 05:23:50 PM KST // package org.oliot.model.oliot; import java.util.HashMap; 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.OneToOne; import javax.persistence.Transient; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; import javax.xml.namespace.QName; /** * <p> * Java class for AttributeType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="AttributeType"> * <simpleContent> * <extension base="<masterdata.axis.epcis.oliot.org>AttributeIDType"> * <attribute name="id" use="required" type="{masterdata.axis.epcis.oliot.org}AttributeTypeIDType" /> * <anyAttribute processContents='lax'/> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AttributeType", namespace = "masterdata.axis.epcis.oliot.org", propOrder = { "value" }) @Entity public class Attribute { @Id @GeneratedValue(strategy=GenerationType.AUTO) private int id; @XmlValue protected String value; @XmlAttribute(name = "sId", required = true) protected String sId; @OneToOne @JoinColumn(name="VocExtensionMaps_id") protected ExtensionMaps VocExtensionMaps; // @Transient @XmlAnyAttribute private Map<QName, String> otherAttributes = new HashMap<QName, String>(); public void setOtherAttributes(Map<QName, String> otherAttributes) { this.otherAttributes = otherAttributes; } /** * Gets the value of the value property. * * @return possible object is {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the id property. * * @return possible object is {@link String } * */ public String getId() { return sId; } /** * Sets the value of the id property. * * @param value * allowed object is {@link String } * */ public void setId(String value) { this.sId = value; } /** * Gets a map that contains attributes that aren't bound to any typed * property on this class. * * <p> * the map is keyed by the name of the attribute and the value is the string * value of the attribute. * * the map returned by this method is live, and you can add new attribute by * updating the map directly. Because of this design, there's no setter. * * * @return always non-null */ public Map<QName, String> getOtherAttributes() { return otherAttributes; } public String getsId() { return sId; } public void setsId(String sId) { this.sId = sId; } public Attribute(String value, String sId) { super(); this.value = value; this.sId = sId; } public Attribute() { super(); } public ExtensionMaps getVocExtensionMaps() { return VocExtensionMaps; } public void setVocExtensionMaps(ExtensionMaps vocExtensionMaps) { VocExtensionMaps = vocExtensionMaps; } public void setId(int id) { this.id = id; } }