// // 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.15 at 01:39:48 PM KST // package org.oliot.model.oliot; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; 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.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import org.w3c.dom.Element; @Entity //@PrimaryKeyJoinColumn (name="EPCISEvent_id") public class TransactionEvent{// extends EPCISEvent{ @Id @GeneratedValue(strategy=GenerationType.AUTO) private int id; protected String userID; protected String accessModifier; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected Date eventTime; @XmlSchemaType(name = "dateTime") protected Date recordTime; @XmlElement(required = true) protected String eventTimeZoneOffset; @OneToOne @JoinColumn(name="baseExtension_id") protected EPCISEventExtension baseExtension; protected String parentID; @OneToOne @JoinColumn(name="transactionEventEPCList_id") @XmlElement(required = true) protected EPCList epcList; @XmlElement(required = true) @Enumerated (EnumType.STRING) protected Action action; protected String bizStep; protected String disposition; @OneToOne @JoinColumn(name="readPoint_id") protected ReadPoint readPoint; @OneToOne @JoinColumn(name="bizLocation_id") protected BusinessLocation bizLocation; @OneToOne @JoinColumn(name="bizTransactionList_id") @XmlElement(required = true) protected BusinessTransactionList bizTransactionList; @OneToOne @JoinColumn(name="transactionEventExtension_id") protected TransactionEventExtension extension; @OneToOne @JoinColumn(name="baseExtensionMaps_id") protected ExtensionMaps extensionMaps; @Transient @XmlAnyElement(lax = true) protected List<Object> any; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getUserID() { return userID; } public void setUserID(String userID) { this.userID = userID; } public String getAccessModifier() { return accessModifier; } public void setAccessModifier(String accessModifier) { this.accessModifier = accessModifier; } public Date getEventTime() { return eventTime; } public void setEventTime(Date eventTime) { this.eventTime = eventTime; } public Date getRecordTime() { return recordTime; } public void setRecordTime(Date recordTime) { this.recordTime = recordTime; } public String getEventTimeZoneOffset() { return eventTimeZoneOffset; } public void setEventTimeZoneOffset(String eventTimeZoneOffset) { this.eventTimeZoneOffset = eventTimeZoneOffset; } public EPCISEventExtension getBaseExtension() { return baseExtension; } public void setBaseExtension(EPCISEventExtension baseExtension) { this.baseExtension = baseExtension; } public void setAny(List<Object> any) { this.any = any; } public BusinessTransactionList getBizTransactionList() { return bizTransactionList; } /** * Sets the value of the bizTransactionList property. * * @param value * allowed object is * {@link BusinessTransactionList } * */ public void setBizTransactionList(BusinessTransactionList value) { this.bizTransactionList = value; } /** * Gets the value of the parentID property. * * @return * possible object is * {@link String } * */ public String getParentID() { return parentID; } /** * Sets the value of the parentID property. * * @param value * allowed object is * {@link String } * */ public void setParentID(String value) { this.parentID = value; } /** * Gets the value of the epcList property. * * @return * possible object is * {@link EPCList } * */ public EPCList getEpcList() { return epcList; } /** * Sets the value of the epcList property. * * @param value * allowed object is * {@link EPCList } * */ public void setEpcList(EPCList value) { this.epcList = value; } /** * Gets the value of the action property. * * @return * possible object is * {@link Action } * */ public Action getAction() { return action; } /** * Sets the value of the action property. * * @param value * allowed object is * {@link Action } * */ public void setAction(Action value) { this.action = value; } /** * Gets the value of the bizStep property. * * @return * possible object is * {@link String } * */ public String getBizStep() { return bizStep; } /** * Sets the value of the bizStep property. * * @param value * allowed object is * {@link String } * */ public void setBizStep(String value) { this.bizStep = value; } /** * Gets the value of the disposition property. * * @return * possible object is * {@link String } * */ public String getDisposition() { return disposition; } /** * Sets the value of the disposition property. * * @param value * allowed object is * {@link String } * */ public void setDisposition(String value) { this.disposition = value; } /** * Gets the value of the readPoint property. * * @return * possible object is * {@link ReadPoint } * */ public ReadPoint getReadPoint() { return readPoint; } /** * Sets the value of the readPoint property. * * @param value * allowed object is * {@link ReadPoint } * */ public void setReadPoint(ReadPoint value) { this.readPoint = value; } /** * Gets the value of the bizLocation property. * * @return * possible object is * {@link BusinessLocation } * */ public BusinessLocation getBizLocation() { return bizLocation; } /** * Sets the value of the bizLocation property. * * @param value * allowed object is * {@link BusinessLocation } * */ public void setBizLocation(BusinessLocation value) { this.bizLocation = value; } /** * Gets the value of the extension property. * * @return * possible object is * {@link TransactionEventExtension } * */ public TransactionEventExtension getExtension() { return extension; } /** * Sets the value of the extension property. * * @param value * allowed object is * {@link TransactionEventExtension } * */ public void setExtension(TransactionEventExtension value) { this.extension = value; } /** * Gets the value of the any 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 any property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAny().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Object } * {@link Element } * * */ public List<Object> getAny() { if (any == null) { any = new ArrayList<Object>(); } return this.any; } public ExtensionMaps getExtensionMaps() { return extensionMaps; } public void setExtensionMaps(ExtensionMaps extensionMaps) { this.extensionMaps = extensionMaps; } }