org.fosstrak.epcis.model
Class EPCISEventType

java.lang.Object
  extended by org.fosstrak.epcis.model.EPCISEventType
Direct Known Subclasses:
AggregationEventType, ObjectEventType, QuantityEventType, TransactionEventType

public abstract class EPCISEventType
extends Object

base type for all EPCIS events.

Java class for EPCISEventType complex type.

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

 <complexType name="EPCISEventType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="eventTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="recordTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="eventTimeZoneOffset" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="baseExtension" type="{urn:epcglobal:epcis:xsd:1}EPCISEventExtensionType" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EPCISEventExtensionType baseExtension
           
protected  XMLGregorianCalendar eventTime
           
protected  String eventTimeZoneOffset
           
protected  XMLGregorianCalendar recordTime
           
 
Constructor Summary
EPCISEventType()
           
 
Method Summary
 EPCISEventExtensionType getBaseExtension()
          Gets the value of the baseExtension property.
 XMLGregorianCalendar getEventTime()
          Gets the value of the eventTime property.
 String getEventTimeZoneOffset()
          Gets the value of the eventTimeZoneOffset property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 XMLGregorianCalendar getRecordTime()
          Gets the value of the recordTime property.
 void setBaseExtension(EPCISEventExtensionType value)
          Sets the value of the baseExtension property.
 void setEventTime(XMLGregorianCalendar value)
          Sets the value of the eventTime property.
 void setEventTimeZoneOffset(String value)
          Sets the value of the eventTimeZoneOffset property.
 void setRecordTime(XMLGregorianCalendar value)
          Sets the value of the recordTime property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventTime

protected XMLGregorianCalendar eventTime

recordTime

protected XMLGregorianCalendar recordTime

eventTimeZoneOffset

protected String eventTimeZoneOffset

baseExtension

protected EPCISEventExtensionType baseExtension
Constructor Detail

EPCISEventType

public EPCISEventType()
Method Detail

getEventTime

public XMLGregorianCalendar getEventTime()
Gets the value of the eventTime property.

Returns:
possible object is XMLGregorianCalendar

setEventTime

public void setEventTime(XMLGregorianCalendar value)
Sets the value of the eventTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getRecordTime

public XMLGregorianCalendar getRecordTime()
Gets the value of the recordTime property.

Returns:
possible object is XMLGregorianCalendar

setRecordTime

public void setRecordTime(XMLGregorianCalendar value)
Sets the value of the recordTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getEventTimeZoneOffset

public String getEventTimeZoneOffset()
Gets the value of the eventTimeZoneOffset property.

Returns:
possible object is String

setEventTimeZoneOffset

public void setEventTimeZoneOffset(String value)
Sets the value of the eventTimeZoneOffset property.

Parameters:
value - allowed object is String

getBaseExtension

public EPCISEventExtensionType getBaseExtension()
Gets the value of the baseExtension property.

Returns:
possible object is EPCISEventExtensionType

setBaseExtension

public void setBaseExtension(EPCISEventExtensionType value)
Sets the value of the baseExtension property.

Parameters:
value - allowed object is EPCISEventExtensionType

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null


Copyright © 2010. All Rights Reserved.