Class TPEGNamedOnlyArea
- java.lang.Object
-
- eu.datex2.siri14.schema._1_0._1_0.TPEGAreaLocation
-
- eu.datex2.siri14.schema._1_0._1_0.TPEGNamedOnlyArea
-
- All Implemented Interfaces:
Serializable
public class TPEGNamedOnlyArea extends TPEGAreaLocation implements Serializable
An area defined by a well known name.Java class for TPEGNamedOnlyArea complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TPEGNamedOnlyArea"> <complexContent> <extension base="{http://datex2.eu/schema/1_0/1_0}TPEGAreaLocation"> <sequence> <element name="name" type="{http://datex2.eu/schema/1_0/1_0}TPEGAreaDescriptor" maxOccurs="unbounded"/> <element name="tpegnamedOnlyAreaExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<TPEGAreaDescriptor>namesprotected ExtensionTypetpegnamedOnlyAreaExtension-
Fields inherited from class eu.datex2.siri14.schema._1_0._1_0.TPEGAreaLocation
tpegareaLocationExtension, tpegheight, tpegLocationType
-
-
Constructor Summary
Constructors Constructor Description TPEGNamedOnlyArea()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TPEGAreaDescriptor>getNames()Gets the value of the names property.ExtensionTypegetTpegnamedOnlyAreaExtension()Gets the value of the tpegnamedOnlyAreaExtension property.voidsetTpegnamedOnlyAreaExtension(ExtensionType value)Sets the value of the tpegnamedOnlyAreaExtension property.-
Methods inherited from class eu.datex2.siri14.schema._1_0._1_0.TPEGAreaLocation
getTpegareaLocationExtension, getTpegheight, getTpegLocationType, setTpegareaLocationExtension, setTpegheight, setTpegLocationType
-
-
-
-
Field Detail
-
names
protected List<TPEGAreaDescriptor> names
-
tpegnamedOnlyAreaExtension
protected ExtensionType tpegnamedOnlyAreaExtension
-
-
Method Detail
-
getNames
public List<TPEGAreaDescriptor> getNames()
Gets the value of the names 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
setmethod for the names property.For example, to add a new item, do as follows:
getNames().add(newItem);Objects of the following type(s) are allowed in the list
TPEGAreaDescriptor
-
getTpegnamedOnlyAreaExtension
public ExtensionType getTpegnamedOnlyAreaExtension()
Gets the value of the tpegnamedOnlyAreaExtension property.- Returns:
- possible object is
ExtensionType
-
setTpegnamedOnlyAreaExtension
public void setTpegnamedOnlyAreaExtension(ExtensionType value)
Sets the value of the tpegnamedOnlyAreaExtension property.- Parameters:
value- allowed object isExtensionType
-
-