org.fosstrak.epcis.model
Class QuantityEventType

java.lang.Object
  extended by org.fosstrak.epcis.model.EPCISEventType
      extended by org.fosstrak.epcis.model.QuantityEventType

public class QuantityEventType
extends EPCISEventType

Quantity Event captures an event that takes place with respect to a specified quantity of object class.

Java class for QuantityEventType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="QuantityEventType">
   <complexContent>
     <extension base="{urn:epcglobal:epcis:xsd:1}EPCISEventType">
       <sequence>
         <element name="epcClass" type="{urn:epcglobal:epcis:xsd:1}EPCClassType"/>
         <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="bizStep" type="{urn:epcglobal:epcis:xsd:1}BusinessStepIDType" minOccurs="0"/>
         <element name="disposition" type="{urn:epcglobal:epcis:xsd:1}DispositionIDType" minOccurs="0"/>
         <element name="readPoint" type="{urn:epcglobal:epcis:xsd:1}ReadPointType" minOccurs="0"/>
         <element name="bizLocation" type="{urn:epcglobal:epcis:xsd:1}BusinessLocationType" minOccurs="0"/>
         <element name="bizTransactionList" type="{urn:epcglobal:epcis:xsd:1}BusinessTransactionListType" minOccurs="0"/>
         <element name="extension" type="{urn:epcglobal:epcis:xsd:1}QuantityEventExtensionType" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> any
           
protected  BusinessLocationType bizLocation
           
protected  String bizStep
           
protected  BusinessTransactionListType bizTransactionList
           
protected  String disposition
           
protected  String epcClass
           
protected  QuantityEventExtensionType extension
           
protected  int quantity
           
protected  ReadPointType readPoint
           
 
Fields inherited from class org.fosstrak.epcis.model.EPCISEventType
baseExtension, eventTime, eventTimeZoneOffset, recordTime
 
Constructor Summary
QuantityEventType()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 BusinessLocationType getBizLocation()
          Gets the value of the bizLocation property.
 String getBizStep()
          Gets the value of the bizStep property.
 BusinessTransactionListType getBizTransactionList()
          Gets the value of the bizTransactionList property.
 String getDisposition()
          Gets the value of the disposition property.
 String getEpcClass()
          Gets the value of the epcClass property.
 QuantityEventExtensionType getExtension()
          Gets the value of the extension property.
 int getQuantity()
          Gets the value of the quantity property.
 ReadPointType getReadPoint()
          Gets the value of the readPoint property.
 void setBizLocation(BusinessLocationType value)
          Sets the value of the bizLocation property.
 void setBizStep(String value)
          Sets the value of the bizStep property.
 void setBizTransactionList(BusinessTransactionListType value)
          Sets the value of the bizTransactionList property.
 void setDisposition(String value)
          Sets the value of the disposition property.
 void setEpcClass(String value)
          Sets the value of the epcClass property.
 void setExtension(QuantityEventExtensionType value)
          Sets the value of the extension property.
 void setQuantity(int value)
          Sets the value of the quantity property.
 void setReadPoint(ReadPointType value)
          Sets the value of the readPoint property.
 
Methods inherited from class org.fosstrak.epcis.model.EPCISEventType
getBaseExtension, getEventTime, getEventTimeZoneOffset, getOtherAttributes, getRecordTime, setBaseExtension, setEventTime, setEventTimeZoneOffset, setRecordTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

epcClass

protected String epcClass

quantity

protected int quantity

bizStep

protected String bizStep

disposition

protected String disposition

readPoint

protected ReadPointType readPoint

bizLocation

protected BusinessLocationType bizLocation

bizTransactionList

protected BusinessTransactionListType bizTransactionList

extension

protected QuantityEventExtensionType extension

any

protected List<Object> any
Constructor Detail

QuantityEventType

public QuantityEventType()
Method Detail

getEpcClass

public String getEpcClass()
Gets the value of the epcClass property.

Returns:
possible object is String

setEpcClass

public void setEpcClass(String value)
Sets the value of the epcClass property.

Parameters:
value - allowed object is String

getQuantity

public int getQuantity()
Gets the value of the quantity property.


setQuantity

public void setQuantity(int value)
Sets the value of the quantity property.


getBizStep

public String getBizStep()
Gets the value of the bizStep property.

Returns:
possible object is String

setBizStep

public void setBizStep(String value)
Sets the value of the bizStep property.

Parameters:
value - allowed object is String

getDisposition

public String getDisposition()
Gets the value of the disposition property.

Returns:
possible object is String

setDisposition

public void setDisposition(String value)
Sets the value of the disposition property.

Parameters:
value - allowed object is String

getReadPoint

public ReadPointType getReadPoint()
Gets the value of the readPoint property.

Returns:
possible object is ReadPointType

setReadPoint

public void setReadPoint(ReadPointType value)
Sets the value of the readPoint property.

Parameters:
value - allowed object is ReadPointType

getBizLocation

public BusinessLocationType getBizLocation()
Gets the value of the bizLocation property.

Returns:
possible object is BusinessLocationType

setBizLocation

public void setBizLocation(BusinessLocationType value)
Sets the value of the bizLocation property.

Parameters:
value - allowed object is BusinessLocationType

getBizTransactionList

public BusinessTransactionListType getBizTransactionList()
Gets the value of the bizTransactionList property.

Returns:
possible object is BusinessTransactionListType

setBizTransactionList

public void setBizTransactionList(BusinessTransactionListType value)
Sets the value of the bizTransactionList property.

Parameters:
value - allowed object is BusinessTransactionListType

getExtension

public QuantityEventExtensionType getExtension()
Gets the value of the extension property.

Returns:
possible object is QuantityEventExtensionType

setExtension

public void setExtension(QuantityEventExtensionType value)
Sets the value of the extension property.

Parameters:
value - allowed object is QuantityEventExtensionType

getAny

public List<Object> getAny()
Gets the value of the any property.

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 set method for the any property.

For example, to add a new item, do as follows:

 getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Element Object



Copyright © 2010. All Rights Reserved.