Projet

Général

Profil

Télécharger (7,1 ko) Statistiques
| Branche: | Tag: | Révision:
package org.fosstrak.epcis.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;

/**
* Quantity Event captures an event that takes place with respect to a specified
* quantity of object class.
* <p>
* Java class for QuantityEventType complex type.
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType name="QuantityEventType">
* &lt;complexContent>
* &lt;extension base="{urn:epcglobal:epcis:xsd:1}EPCISEventType">
* &lt;sequence>
* &lt;element name="epcClass" type="{urn:epcglobal:epcis:xsd:1}EPCClassType"/>
* &lt;element name="quantity" type="{http://www.w3.org/2001/XMLSchema}int"/>
* &lt;element name="bizStep" type="{urn:epcglobal:epcis:xsd:1}BusinessStepIDType" minOccurs="0"/>
* &lt;element name="disposition" type="{urn:epcglobal:epcis:xsd:1}DispositionIDType" minOccurs="0"/>
* &lt;element name="readPoint" type="{urn:epcglobal:epcis:xsd:1}ReadPointType" minOccurs="0"/>
* &lt;element name="bizLocation" type="{urn:epcglobal:epcis:xsd:1}BusinessLocationType" minOccurs="0"/>
* &lt;element name="bizTransactionList" type="{urn:epcglobal:epcis:xsd:1}BusinessTransactionListType" minOccurs="0"/>
* &lt;element name="extension" type="{urn:epcglobal:epcis:xsd:1}QuantityEventExtensionType" minOccurs="0"/>
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;anyAttribute processContents='lax'/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*/

//added by nkef
@XmlRootElement(name = "QuantityEvent", namespace = "")

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QuantityEventType", namespace = "urn:epcglobal:epcis:xsd:1", propOrder = {
"epcClass", "quantity", "bizStep", "disposition", "readPoint", "bizLocation", "bizTransactionList",
"extension", "any" })
public class QuantityEventType extends EPCISEventType {

@XmlElement(required = true)
protected String epcClass;
protected int quantity;
protected String bizStep;
protected String disposition;
protected ReadPointType readPoint;
protected BusinessLocationType bizLocation;
protected BusinessTransactionListType bizTransactionList;
protected QuantityEventExtensionType extension;
@XmlAnyElement(lax = true)
protected List<Object> any;

/**
* Gets the value of the epcClass property.
*
* @return possible object is {@link String }
*/
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 ReadPointType }
*/
public ReadPointType getReadPoint() {
return readPoint;
}

/**
* Sets the value of the readPoint property.
*
* @param value
* allowed object is {@link ReadPointType }
*/
public void setReadPoint(ReadPointType value) {
this.readPoint = value;
}

/**
* Gets the value of the bizLocation property.
*
* @return possible object is {@link BusinessLocationType }
*/
public BusinessLocationType getBizLocation() {
return bizLocation;
}

/**
* Sets the value of the bizLocation property.
*
* @param value
* allowed object is {@link BusinessLocationType }
*/
public void setBizLocation(BusinessLocationType value) {
this.bizLocation = value;
}

/**
* Gets the value of the bizTransactionList property.
*
* @return possible object is {@link BusinessTransactionListType }
*/
public BusinessTransactionListType getBizTransactionList() {
return bizTransactionList;
}

/**
* Sets the value of the bizTransactionList property.
*
* @param value
* allowed object is {@link BusinessTransactionListType }
*/
public void setBizTransactionList(BusinessTransactionListType value) {
this.bizTransactionList = value;
}

/**
* Gets the value of the extension property.
*
* @return possible object is {@link QuantityEventExtensionType }
*/
public QuantityEventExtensionType getExtension() {
return extension;
}

/**
* Sets the value of the extension property.
*
* @param value
* allowed object is {@link QuantityEventExtensionType }
*/
public void setExtension(QuantityEventExtensionType 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 Element }
* {@link Object }
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}

}
(56-56/91)