
eu.datex2.schema._2._2_0.Junction 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.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;
/**
* Java class for Junction complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Junction">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="junctionClassification" type="{http://datex2.eu/schema/2/2_0}JunctionClassificationEnum" minOccurs="0"/>
* <element name="junctionName" type="{http://datex2.eu/schema/2/2_0}MultilingualString"/>
* <element name="junctionNumber" type="{http://datex2.eu/schema/2/2_0}String" minOccurs="0"/>
* <element name="motorway" type="{http://datex2.eu/schema/2/2_0}Road" minOccurs="0"/>
* <element name="destinationMotorway" type="{http://datex2.eu/schema/2/2_0}Road" maxOccurs="unbounded" minOccurs="0"/>
* <element name="junctionExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Junction", propOrder = {
"junctionClassification",
"junctionName",
"junctionNumber",
"motorway",
"destinationMotorway",
"junctionExtension"
})
public class Junction {
@XmlSchemaType(name = "string")
protected JunctionClassificationEnum junctionClassification;
@XmlElement(required = true)
protected MultilingualString junctionName;
protected String junctionNumber;
protected Road motorway;
protected List destinationMotorway;
protected ExtensionType junctionExtension;
/**
* Gets the value of the junctionClassification property.
*
* @return
* possible object is
* {@link JunctionClassificationEnum }
*
*/
public JunctionClassificationEnum getJunctionClassification() {
return junctionClassification;
}
/**
* Sets the value of the junctionClassification property.
*
* @param value
* allowed object is
* {@link JunctionClassificationEnum }
*
*/
public void setJunctionClassification(JunctionClassificationEnum value) {
this.junctionClassification = value;
}
/**
* Gets the value of the junctionName property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getJunctionName() {
return junctionName;
}
/**
* Sets the value of the junctionName property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setJunctionName(MultilingualString value) {
this.junctionName = value;
}
/**
* Gets the value of the junctionNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJunctionNumber() {
return junctionNumber;
}
/**
* Sets the value of the junctionNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJunctionNumber(String value) {
this.junctionNumber = value;
}
/**
* Gets the value of the motorway property.
*
* @return
* possible object is
* {@link Road }
*
*/
public Road getMotorway() {
return motorway;
}
/**
* Sets the value of the motorway property.
*
* @param value
* allowed object is
* {@link Road }
*
*/
public void setMotorway(Road value) {
this.motorway = value;
}
/**
* Gets the value of the destinationMotorway 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 destinationMotorway property.
*
*
* For example, to add a new item, do as follows:
*
* getDestinationMotorway().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Road }
*
*
*/
public List getDestinationMotorway() {
if (destinationMotorway == null) {
destinationMotorway = new ArrayList();
}
return this.destinationMotorway;
}
/**
* Gets the value of the junctionExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getJunctionExtension() {
return junctionExtension;
}
/**
* Sets the value of the junctionExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setJunctionExtension(ExtensionType value) {
this.junctionExtension = value;
}
}