Projet

Général

Profil

Télécharger (2,52 ko) Statistiques
| Branche: | Tag: | Révision:
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>
* &lt;complexType name="Document">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="schemaVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
* &lt;attribute name="creationDate" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}

}
(14-14/91)