//
// 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.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 QuantityEvent{// 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;
@XmlElement(required = true)
protected String epcClass;
protected int quantity;
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")
protected BusinessTransactionList bizTransactionList;
@OneToOne
@JoinColumn(name="quantityEventExtension_id")
protected QuantityEventExtension 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 String getEpcClass() {
return epcClass;
}
/**
* Sets the value of the epcClass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEpcClass(String value) {
this.epcClass = value;
}
/**
* Gets the value of the quantity property.
*
*/
public int getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
*/
public void setQuantity(int value) {
this.quantity = 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 bizTransactionList property.
*
* @return
* possible object is
* {@link BusinessTransactionList }
*
*/
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 extension property.
*
* @return
* possible object is
* {@link QuantityEventExtension }
*
*/
public QuantityEventExtension getExtension() {
return extension;
}
/**
* Sets the value of the extension property.
*
* @param value
* allowed object is
* {@link QuantityEventExtension }
*
*/
public void setExtension(QuantityEventExtension 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;
}
}