epcglobal.ale
Class ECReports

java.lang.Object
  extended by epcglobal.ale.Document
      extended by epcglobal.ale.ECReports
All Implemented Interfaces:
java.io.Serializable

public class ECReports
extends Document
implements java.io.Serializable

ECReports is the output from an event cycle. The "meat" of an ECReports instance is the lists of count report instances and list report instances, each corresponding to an ECReportSpec instance in the event cycle's ECSpec. In addition to the reports themselves, ECReports contains a number of "header" fields that provide useful information about the event cycle.

Java class for ECReports complex type.

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

 <complexType name="ECReports">
   <complexContent>
     <extension base="{urn:epcglobal:xsd:1}Document">
       <sequence>
         <element name="reports" type="{urn:epcglobal:ale:xsd:1}ECReportList"/>
         <element name="extension" type="{urn:epcglobal:ale:xsd:1}ECReportsExtension" minOccurs="0"/>
         <element name="ECSpec" type="{urn:epcglobal:ale:xsd:1}ECSpec" minOccurs="0"/>
         <any/>
       </sequence>
       <attribute name="ALEID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="date" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="schemaURL" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="specName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="terminationCondition" use="required" type="{urn:epcglobal:ale:xsd:1}ECTerminationCondition" />
       <attribute name="totalMilliseconds" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String aleid
           
protected  java.util.List<java.lang.Object> any
           
protected  java.util.Date date
           
protected  ECSpec ecSpec
           
protected  ECReportsExtension extension
           
protected  ECReportList reports
           
protected  java.lang.String schemaURL
           
protected  java.lang.String specName
           
protected  ECTerminationCondition terminationCondition
           
protected  long totalMilliseconds
           
 
Fields inherited from class epcglobal.ale.Document
creationDate, schemaVersion
 
Constructor Summary
ECReports()
           
 
Method Summary
 java.lang.String getALEID()
          Gets the value of the aleid property.
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 java.util.Date getDate()
          Gets the value of the date property.
 ECSpec getECSpec()
          Gets the value of the ecSpec property.
 ECReportsExtension getExtension()
          Gets the value of the extension property.
 ECReportList getReports()
          Gets the value of the reports property.
 java.lang.String getSchemaURL()
          Gets the value of the schemaURL property.
 java.lang.String getSpecName()
          Gets the value of the specName property.
 ECTerminationCondition getTerminationCondition()
          Gets the value of the terminationCondition property.
 long getTotalMilliseconds()
          Gets the value of the totalMilliseconds property.
 boolean isSetALEID()
           
 boolean isSetAny()
           
 boolean isSetDate()
           
 boolean isSetECSpec()
           
 boolean isSetExtension()
           
 boolean isSetReports()
           
 boolean isSetSchemaURL()
           
 boolean isSetSpecName()
           
 boolean isSetTerminationCondition()
           
 boolean isSetTotalMilliseconds()
           
 void setALEID(java.lang.String value)
          Sets the value of the aleid property.
 void setDate(java.util.Date value)
          Sets the value of the date property.
 void setECSpec(ECSpec value)
          Sets the value of the ecSpec property.
 void setExtension(ECReportsExtension value)
          Sets the value of the extension property.
 void setReports(ECReportList value)
          Sets the value of the reports property.
 void setSchemaURL(java.lang.String value)
          Sets the value of the schemaURL property.
 void setSpecName(java.lang.String value)
          Sets the value of the specName property.
 void setTerminationCondition(ECTerminationCondition value)
          Sets the value of the terminationCondition property.
 void setTotalMilliseconds(long value)
          Sets the value of the totalMilliseconds property.
 void unsetAny()
           
 
Methods inherited from class epcglobal.ale.Document
getCreationDate, getSchemaVersion, isSetCreationDate, isSetSchemaVersion, setCreationDate, setSchemaVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reports

protected ECReportList reports

extension

protected ECReportsExtension extension

ecSpec

protected ECSpec ecSpec

any

protected java.util.List<java.lang.Object> any

aleid

protected java.lang.String aleid

date

protected java.util.Date date

schemaURL

protected java.lang.String schemaURL

specName

protected java.lang.String specName

terminationCondition

protected ECTerminationCondition terminationCondition

totalMilliseconds

protected long totalMilliseconds
Constructor Detail

ECReports

public ECReports()
Method Detail

getReports

public ECReportList getReports()
Gets the value of the reports property.

Returns:
possible object is ECReportList

setReports

public void setReports(ECReportList value)
Sets the value of the reports property.

Parameters:
value - allowed object is ECReportList

isSetReports

public boolean isSetReports()

getExtension

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

Returns:
possible object is ECReportsExtension

setExtension

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

Parameters:
value - allowed object is ECReportsExtension

isSetExtension

public boolean isSetExtension()

getECSpec

public ECSpec getECSpec()
Gets the value of the ecSpec property.

Returns:
possible object is ECSpec

setECSpec

public void setECSpec(ECSpec value)
Sets the value of the ecSpec property.

Parameters:
value - allowed object is ECSpec

isSetECSpec

public boolean isSetECSpec()

getAny

public java.util.List<java.lang.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


isSetAny

public boolean isSetAny()

unsetAny

public void unsetAny()

getALEID

public java.lang.String getALEID()
Gets the value of the aleid property.

Returns:
possible object is String

setALEID

public void setALEID(java.lang.String value)
Sets the value of the aleid property.

Parameters:
value - allowed object is String

isSetALEID

public boolean isSetALEID()

getDate

public java.util.Date getDate()
Gets the value of the date property.

Returns:
possible object is String

setDate

public void setDate(java.util.Date value)
Sets the value of the date property.

Parameters:
value - allowed object is String

isSetDate

public boolean isSetDate()

getSchemaURL

public java.lang.String getSchemaURL()
Gets the value of the schemaURL property.

Returns:
possible object is String

setSchemaURL

public void setSchemaURL(java.lang.String value)
Sets the value of the schemaURL property.

Parameters:
value - allowed object is String

isSetSchemaURL

public boolean isSetSchemaURL()

getSpecName

public java.lang.String getSpecName()
Gets the value of the specName property.

Returns:
possible object is String

setSpecName

public void setSpecName(java.lang.String value)
Sets the value of the specName property.

Parameters:
value - allowed object is String

isSetSpecName

public boolean isSetSpecName()

getTerminationCondition

public ECTerminationCondition getTerminationCondition()
Gets the value of the terminationCondition property.

Returns:
possible object is ECTerminationCondition

setTerminationCondition

public void setTerminationCondition(ECTerminationCondition value)
Sets the value of the terminationCondition property.

Parameters:
value - allowed object is ECTerminationCondition

isSetTerminationCondition

public boolean isSetTerminationCondition()

getTotalMilliseconds

public long getTotalMilliseconds()
Gets the value of the totalMilliseconds property.


setTotalMilliseconds

public void setTotalMilliseconds(long value)
Sets the value of the totalMilliseconds property.


isSetTotalMilliseconds

public boolean isSetTotalMilliseconds()