
eu.datex2.schema._2._2_0.Exchange Maven / Gradle / Ivy
Show all versions of datex2-api Show documentation
package eu.datex2.schema._2._2_0;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter1;
/**
* Java class for Exchange complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Exchange">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="changedFlag" type="{http://datex2.eu/schema/2/2_0}ChangedFlagEnum" minOccurs="0"/>
* <element name="clientIdentification" type="{http://datex2.eu/schema/2/2_0}String" minOccurs="0"/>
* <element name="deliveryBreak" type="{http://datex2.eu/schema/2/2_0}Boolean" minOccurs="0"/>
* <element name="denyReason" type="{http://datex2.eu/schema/2/2_0}DenyReasonEnum" minOccurs="0"/>
* <element name="historicalStartDate" type="{http://datex2.eu/schema/2/2_0}DateTime" minOccurs="0"/>
* <element name="historicalStopDate" type="{http://datex2.eu/schema/2/2_0}DateTime" minOccurs="0"/>
* <element name="keepAlive" type="{http://datex2.eu/schema/2/2_0}Boolean" minOccurs="0"/>
* <element name="requestType" type="{http://datex2.eu/schema/2/2_0}RequestTypeEnum" minOccurs="0"/>
* <element name="response" type="{http://datex2.eu/schema/2/2_0}ResponseEnum" minOccurs="0"/>
* <element name="subscriptionReference" type="{http://datex2.eu/schema/2/2_0}String" minOccurs="0"/>
* <element name="supplierIdentification" type="{http://datex2.eu/schema/2/2_0}InternationalIdentifier"/>
* <element name="target" type="{http://datex2.eu/schema/2/2_0}Target" minOccurs="0"/>
* <element name="subscription" type="{http://datex2.eu/schema/2/2_0}Subscription" minOccurs="0"/>
* <element name="filterReference" type="{http://datex2.eu/schema/2/2_0}FilterReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="catalogueReference" type="{http://datex2.eu/schema/2/2_0}CatalogueReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="exchangeExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Exchange", propOrder = {
"changedFlag",
"clientIdentification",
"deliveryBreak",
"denyReason",
"historicalStartDate",
"historicalStopDate",
"keepAlive",
"requestType",
"response",
"subscriptionReference",
"supplierIdentification",
"target",
"subscription",
"filterReference",
"catalogueReference",
"exchangeExtension"
})
public class Exchange {
@XmlSchemaType(name = "string")
protected ChangedFlagEnum changedFlag;
protected String clientIdentification;
protected Boolean deliveryBreak;
@XmlSchemaType(name = "string")
protected DenyReasonEnum denyReason;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar historicalStartDate;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar historicalStopDate;
protected Boolean keepAlive;
@XmlSchemaType(name = "string")
protected RequestTypeEnum requestType;
@XmlSchemaType(name = "string")
protected ResponseEnum response;
protected String subscriptionReference;
@XmlElement(required = true)
protected InternationalIdentifier supplierIdentification;
protected Target target;
protected Subscription subscription;
protected List filterReference;
protected List catalogueReference;
protected ExtensionType exchangeExtension;
/**
* Gets the value of the changedFlag property.
*
* @return
* possible object is
* {@link ChangedFlagEnum }
*
*/
public ChangedFlagEnum getChangedFlag() {
return changedFlag;
}
/**
* Sets the value of the changedFlag property.
*
* @param value
* allowed object is
* {@link ChangedFlagEnum }
*
*/
public void setChangedFlag(ChangedFlagEnum value) {
this.changedFlag = value;
}
/**
* Gets the value of the clientIdentification property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClientIdentification() {
return clientIdentification;
}
/**
* Sets the value of the clientIdentification property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClientIdentification(String value) {
this.clientIdentification = value;
}
/**
* Gets the value of the deliveryBreak property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDeliveryBreak() {
return deliveryBreak;
}
/**
* Sets the value of the deliveryBreak property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDeliveryBreak(Boolean value) {
this.deliveryBreak = value;
}
/**
* Gets the value of the denyReason property.
*
* @return
* possible object is
* {@link DenyReasonEnum }
*
*/
public DenyReasonEnum getDenyReason() {
return denyReason;
}
/**
* Sets the value of the denyReason property.
*
* @param value
* allowed object is
* {@link DenyReasonEnum }
*
*/
public void setDenyReason(DenyReasonEnum value) {
this.denyReason = value;
}
/**
* Gets the value of the historicalStartDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getHistoricalStartDate() {
return historicalStartDate;
}
/**
* Sets the value of the historicalStartDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHistoricalStartDate(Calendar value) {
this.historicalStartDate = value;
}
/**
* Gets the value of the historicalStopDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getHistoricalStopDate() {
return historicalStopDate;
}
/**
* Sets the value of the historicalStopDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHistoricalStopDate(Calendar value) {
this.historicalStopDate = value;
}
/**
* Gets the value of the keepAlive property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isKeepAlive() {
return keepAlive;
}
/**
* Sets the value of the keepAlive property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setKeepAlive(Boolean value) {
this.keepAlive = value;
}
/**
* Gets the value of the requestType property.
*
* @return
* possible object is
* {@link RequestTypeEnum }
*
*/
public RequestTypeEnum getRequestType() {
return requestType;
}
/**
* Sets the value of the requestType property.
*
* @param value
* allowed object is
* {@link RequestTypeEnum }
*
*/
public void setRequestType(RequestTypeEnum value) {
this.requestType = value;
}
/**
* Gets the value of the response property.
*
* @return
* possible object is
* {@link ResponseEnum }
*
*/
public ResponseEnum getResponse() {
return response;
}
/**
* Sets the value of the response property.
*
* @param value
* allowed object is
* {@link ResponseEnum }
*
*/
public void setResponse(ResponseEnum value) {
this.response = value;
}
/**
* Gets the value of the subscriptionReference property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubscriptionReference() {
return subscriptionReference;
}
/**
* Sets the value of the subscriptionReference property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSubscriptionReference(String value) {
this.subscriptionReference = value;
}
/**
* Gets the value of the supplierIdentification property.
*
* @return
* possible object is
* {@link InternationalIdentifier }
*
*/
public InternationalIdentifier getSupplierIdentification() {
return supplierIdentification;
}
/**
* Sets the value of the supplierIdentification property.
*
* @param value
* allowed object is
* {@link InternationalIdentifier }
*
*/
public void setSupplierIdentification(InternationalIdentifier value) {
this.supplierIdentification = value;
}
/**
* Gets the value of the target property.
*
* @return
* possible object is
* {@link Target }
*
*/
public Target getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link Target }
*
*/
public void setTarget(Target value) {
this.target = value;
}
/**
* Gets the value of the subscription property.
*
* @return
* possible object is
* {@link Subscription }
*
*/
public Subscription getSubscription() {
return subscription;
}
/**
* Sets the value of the subscription property.
*
* @param value
* allowed object is
* {@link Subscription }
*
*/
public void setSubscription(Subscription value) {
this.subscription = value;
}
/**
* Gets the value of the filterReference 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 filterReference property.
*
*
* For example, to add a new item, do as follows:
*
* getFilterReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FilterReference }
*
*
*/
public List getFilterReference() {
if (filterReference == null) {
filterReference = new ArrayList();
}
return this.filterReference;
}
/**
* Gets the value of the catalogueReference 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 catalogueReference property.
*
*
* For example, to add a new item, do as follows:
*
* getCatalogueReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CatalogueReference }
*
*
*/
public List getCatalogueReference() {
if (catalogueReference == null) {
catalogueReference = new ArrayList();
}
return this.catalogueReference;
}
/**
* Gets the value of the exchangeExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getExchangeExtension() {
return exchangeExtension;
}
/**
* Sets the value of the exchangeExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setExchangeExtension(ExtensionType value) {
this.exchangeExtension = value;
}
}