|
package org.fosstrak.epcis.model;
|
|
|
|
import java.math.BigDecimal;
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
import javax.xml.bind.annotation.XmlAttribute;
|
|
import javax.xml.bind.annotation.XmlSchemaType;
|
|
import javax.xml.bind.annotation.XmlSeeAlso;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
import javax.xml.datatype.XMLGregorianCalendar;
|
|
|
|
/**
|
|
* EPCglobal document properties for all messages.
|
|
* <p>
|
|
* Java class for Document complex type.
|
|
* <p>
|
|
* The following schema fragment specifies the expected content contained within
|
|
* this class.
|
|
*
|
|
* <pre>
|
|
* <complexType name="Document">
|
|
* <complexContent>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
* <attribute name="schemaVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
|
|
* <attribute name="creationDate" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </pre>
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "Document", namespace = "urn:epcglobal:xsd:1")
|
|
@XmlSeeAlso( { EPCISDocumentType.class, EPCISMasterDataDocumentType.class, EPCISQueryDocumentType.class })
|
|
public abstract class Document {
|
|
|
|
@XmlAttribute(name = "schemaVersion", required = true)
|
|
protected BigDecimal schemaVersion;
|
|
@XmlAttribute(name = "creationDate", required = true)
|
|
@XmlSchemaType(name = "dateTime")
|
|
protected XMLGregorianCalendar creationDate;
|
|
|
|
/**
|
|
* Gets the value of the schemaVersion property.
|
|
*
|
|
* @return possible object is {@link BigDecimal }
|
|
*/
|
|
public BigDecimal getSchemaVersion() {
|
|
return schemaVersion;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the schemaVersion property.
|
|
*
|
|
* @param value
|
|
* allowed object is {@link BigDecimal }
|
|
*/
|
|
public void setSchemaVersion(BigDecimal value) {
|
|
this.schemaVersion = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the creationDate property.
|
|
*
|
|
* @return possible object is {@link XMLGregorianCalendar }
|
|
*/
|
|
public XMLGregorianCalendar getCreationDate() {
|
|
return creationDate;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the creationDate property.
|
|
*
|
|
* @param value
|
|
* allowed object is {@link XMLGregorianCalendar }
|
|
*/
|
|
public void setCreationDate(XMLGregorianCalendar value) {
|
|
this.creationDate = value;
|
|
}
|
|
|
|
}
|