
eu.datex2.schema._2._2_0.OffsetDistance 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.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.Adapter2;
/**
* Java class for OffsetDistance complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OffsetDistance">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="offsetDistance" type="{http://datex2.eu/schema/2/2_0}MetresAsNonNegativeInteger"/>
* <element name="offsetDistanceExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OffsetDistance", propOrder = {
"offsetDistance",
"offsetDistanceExtension"
})
public class OffsetDistance {
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter2 .class)
@XmlSchemaType(name = "nonNegativeInteger")
protected Long offsetDistance;
protected ExtensionType offsetDistanceExtension;
/**
* Gets the value of the offsetDistance property.
*
* @return
* possible object is
* {@link String }
*
*/
public Long getOffsetDistance() {
return offsetDistance;
}
/**
* Sets the value of the offsetDistance property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOffsetDistance(Long value) {
this.offsetDistance = value;
}
/**
* Gets the value of the offsetDistanceExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getOffsetDistanceExtension() {
return offsetDistanceExtension;
}
/**
* Sets the value of the offsetDistanceExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setOffsetDistanceExtension(ExtensionType value) {
this.offsetDistanceExtension = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy