public class AffectedCarriagewayAndLanes
extends java.lang.Object
Java class for AffectedCarriagewayAndLanes complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AffectedCarriagewayAndLanes"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="carriageway" type="{http://datex2.eu/schema/2/2_0}CarriagewayEnum"/> <element name="lane" type="{http://datex2.eu/schema/2/2_0}LaneEnum" maxOccurs="unbounded" minOccurs="0"/> <element name="affectedCarriagewayAndLanesExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected ExtensionType |
affectedCarriagewayAndLanesExtension |
protected CarriagewayEnum |
carriageway |
protected java.util.List<LaneEnum> |
lanes |
Constructor and Description |
---|
AffectedCarriagewayAndLanes() |
Modifier and Type | Method and Description |
---|---|
ExtensionType |
getAffectedCarriagewayAndLanesExtension()
Gets the value of the affectedCarriagewayAndLanesExtension property.
|
CarriagewayEnum |
getCarriageway()
Gets the value of the carriageway property.
|
java.util.List<LaneEnum> |
getLanes()
Gets the value of the lanes property.
|
void |
setAffectedCarriagewayAndLanesExtension(ExtensionType value)
Sets the value of the affectedCarriagewayAndLanesExtension property.
|
void |
setCarriageway(CarriagewayEnum value)
Sets the value of the carriageway property.
|
protected CarriagewayEnum carriageway
protected java.util.List<LaneEnum> lanes
protected ExtensionType affectedCarriagewayAndLanesExtension
public CarriagewayEnum getCarriageway()
CarriagewayEnum
public void setCarriageway(CarriagewayEnum value)
value
- allowed object is
CarriagewayEnum
public java.util.List<LaneEnum> getLanes()
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 lanes property.
For example, to add a new item, do as follows:
getLanes().add(newItem);
Objects of the following type(s) are allowed in the list
LaneEnum
public ExtensionType getAffectedCarriagewayAndLanesExtension()
ExtensionType
public void setAffectedCarriagewayAndLanesExtension(ExtensionType value)
value
- allowed object is
ExtensionType