
eu.datex2.schema._2._2_0.D2LogicalModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datex2-api Show documentation
Show all versions of datex2-api Show documentation
DATEX II API for Java, allows to create DATEX II suppliers and clients.
The newest version!
package eu.datex2.schema._2._2_0;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for D2LogicalModel complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="D2LogicalModel">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="exchange" type="{http://datex2.eu/schema/2/2_0}Exchange"/>
* <element name="payloadPublication" type="{http://datex2.eu/schema/2/2_0}PayloadPublication" minOccurs="0"/>
* <element name="d2LogicalModelExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
* </sequence>
* <attribute name="modelBaseVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" fixed="2" />
* <attribute name="extensionName" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="ParkingPublications" />
* <attribute name="extensionVersion" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="v1.0a" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "D2LogicalModel", propOrder = {
"exchange",
"payloadPublication",
"d2LogicalModelExtension"
})
public class D2LogicalModel {
@XmlElement(required = true)
protected Exchange exchange;
protected PayloadPublication payloadPublication;
protected ExtensionType d2LogicalModelExtension;
@XmlAttribute(name = "modelBaseVersion", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String modelBaseVersion;
@XmlAttribute(name = "extensionName")
@XmlSchemaType(name = "anySimpleType")
protected String extensionName;
@XmlAttribute(name = "extensionVersion")
@XmlSchemaType(name = "anySimpleType")
protected String extensionVersion;
/**
* Gets the value of the exchange property.
*
* @return
* possible object is
* {@link Exchange }
*
*/
public Exchange getExchange() {
return exchange;
}
/**
* Sets the value of the exchange property.
*
* @param value
* allowed object is
* {@link Exchange }
*
*/
public void setExchange(Exchange value) {
this.exchange = value;
}
/**
* Gets the value of the payloadPublication property.
*
* @return
* possible object is
* {@link PayloadPublication }
*
*/
public PayloadPublication getPayloadPublication() {
return payloadPublication;
}
/**
* Sets the value of the payloadPublication property.
*
* @param value
* allowed object is
* {@link PayloadPublication }
*
*/
public void setPayloadPublication(PayloadPublication value) {
this.payloadPublication = value;
}
/**
* Gets the value of the d2LogicalModelExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getD2LogicalModelExtension() {
return d2LogicalModelExtension;
}
/**
* Sets the value of the d2LogicalModelExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setD2LogicalModelExtension(ExtensionType value) {
this.d2LogicalModelExtension = value;
}
/**
* Gets the value of the modelBaseVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getModelBaseVersion() {
if (modelBaseVersion == null) {
return "2";
} else {
return modelBaseVersion;
}
}
/**
* Sets the value of the modelBaseVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setModelBaseVersion(String value) {
this.modelBaseVersion = value;
}
/**
* Gets the value of the extensionName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExtensionName() {
if (extensionName == null) {
return "ParkingPublications";
} else {
return extensionName;
}
}
/**
* Sets the value of the extensionName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExtensionName(String value) {
this.extensionName = value;
}
/**
* Gets the value of the extensionVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExtensionVersion() {
if (extensionVersion == null) {
return "v1.0a";
} else {
return extensionVersion;
}
}
/**
* Sets the value of the extensionVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExtensionVersion(String value) {
this.extensionVersion = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy