//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.08.30 at 03:25:42 PM KST
//
package org.oliot.model.ale;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;
/**
* <p>
* Java class for ECReports complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="ECReports">
* <complexContent>
* <extension base="{epcglobal.oliot.org}Document">
* <sequence>
* <element name="reports">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="report" type="{urn:epcglobal:ale:xsd:1}ECReport" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <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 processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="specName" 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="ALEID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="totalMilliseconds" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="initiationCondition" type="{urn:epcglobal:ale:xsd:1}ECInitiationCondition" />
* <attribute name="initiationTrigger" type="{urn:epcglobal:ale:xsd:1}ECTrigger" />
* <attribute name="terminationCondition" use="required" type="{urn:epcglobal:ale:xsd:1}ECTerminationCondition" />
* <attribute name="terminationTrigger" type="{urn:epcglobal:ale:xsd:1}ECTrigger" />
* <attribute name="schemaURL" type="{http://www.w3.org/2001/XMLSchema}string" />
* <anyAttribute processContents='lax'/>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ECReports", propOrder = { "reports", "extension", "ecSpec",
"any" })
public class ECReports extends Document {
@XmlElement(required = true)
protected ECReports.Reports reports;
protected ECReportsExtension extension;
@XmlElement(name = "ECSpec")
protected ECSpec ecSpec;
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAttribute(name = "specName", required = true)
protected String specName;
@XmlAttribute(name = "date", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar date;
@XmlAttribute(name = "ALEID", required = true)
protected String aleid;
@XmlAttribute(name = "totalMilliseconds", required = true)
protected long totalMilliseconds;
@XmlAttribute(name = "initiationCondition")
protected String initiationCondition;
@XmlAttribute(name = "initiationTrigger")
protected String initiationTrigger;
@XmlAttribute(name = "terminationCondition", required = true)
protected String terminationCondition;
@XmlAttribute(name = "terminationTrigger")
protected String terminationTrigger;
@XmlAttribute(name = "schemaURL")
protected String schemaURL;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the reports property.
*
* @return possible object is {@link ECReports.Reports }
*
*/
public ECReports.Reports getReports() {
return reports;
}
/**
* Sets the value of the reports property.
*
* @param value
* allowed object is {@link ECReports.Reports }
*
*/
public void setReports(ECReports.Reports value) {
this.reports = value;
}
/**
* Gets the value of the extension property.
*
* @return possible object is {@link ECReportsExtension }
*
*/
public ECReportsExtension getExtension() {
return extension;
}
/**
* Sets the value of the extension property.
*
* @param value
* allowed object is {@link ECReportsExtension }
*
*/
public void setExtension(ECReportsExtension value) {
this.extension = value;
}
/**
* Gets the value of the ecSpec property.
*
* @return possible object is {@link ECSpec }
*
*/
public ECSpec getECSpec() {
return ecSpec;
}
/**
* Sets the value of the ecSpec property.
*
* @param value
* allowed object is {@link ECSpec }
*
*/
public void setECSpec(ECSpec value) {
this.ecSpec = 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 Object }
* {@link Element }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets the value of the specName property.
*
* @return possible object is {@link String }
*
*/
public String getSpecName() {
return specName;
}
/**
* Sets the value of the specName property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSpecName(String value) {
this.specName = value;
}
/**
* Gets the value of the date property.
*
* @return possible object is {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is {@link XMLGregorianCalendar }
*
*/
public void setDate(XMLGregorianCalendar value) {
this.date = value;
}
/**
* Gets the value of the aleid property.
*
* @return possible object is {@link String }
*
*/
public String getALEID() {
return aleid;
}
/**
* Sets the value of the aleid property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setALEID(String value) {
this.aleid = value;
}
/**
* Gets the value of the totalMilliseconds property.
*
*/
public long getTotalMilliseconds() {
return totalMilliseconds;
}
/**
* Sets the value of the totalMilliseconds property.
*
*/
public void setTotalMilliseconds(long value) {
this.totalMilliseconds = value;
}
/**
* Gets the value of the initiationCondition property.
*
* @return possible object is {@link String }
*
*/
public String getInitiationCondition() {
return initiationCondition;
}
/**
* Sets the value of the initiationCondition property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setInitiationCondition(String value) {
this.initiationCondition = value;
}
/**
* Gets the value of the initiationTrigger property.
*
* @return possible object is {@link String }
*
*/
public String getInitiationTrigger() {
return initiationTrigger;
}
/**
* Sets the value of the initiationTrigger property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setInitiationTrigger(String value) {
this.initiationTrigger = value;
}
/**
* Gets the value of the terminationCondition property.
*
* @return possible object is {@link String }
*
*/
public String getTerminationCondition() {
return terminationCondition;
}
/**
* Sets the value of the terminationCondition property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTerminationCondition(String value) {
this.terminationCondition = value;
}
/**
* Gets the value of the terminationTrigger property.
*
* @return possible object is {@link String }
*
*/
public String getTerminationTrigger() {
return terminationTrigger;
}
/**
* Sets the value of the terminationTrigger property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTerminationTrigger(String value) {
this.terminationTrigger = value;
}
/**
* Gets the value of the schemaURL property.
*
* @return possible object is {@link String }
*
*/
public String getSchemaURL() {
return schemaURL;
}
/**
* Sets the value of the schemaURL property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSchemaURL(String value) {
this.schemaURL = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed
* property on this class.
*
* <p>
* 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.
*
*
* @return always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="report" type="{urn:epcglobal:ale:xsd:1}ECReport" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "report" })
public static class Reports {
protected List<ECReport> report;
/**
* Gets the value of the report 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 report property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getReport().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ECReport }
*
*
*/
public List<ECReport> getReport() {
if (report == null) {
report = new ArrayList<ECReport>();
}
return this.report;
}
}
}