public class Vias_RelStructure extends StrictContainmentAggregationStructure
Java class for vias_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="vias_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}strictContainmentAggregationStructure">
<choice>
<element name="None" type="{http://www.netex.org.uk/netex}EmptyType"/>
<sequence>
<element name="Via" type="{http://www.netex.org.uk/netex}Via_VersionedChildStructure" maxOccurs="unbounded"/>
</sequence>
</choice>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
none |
protected List<Via_VersionedChildStructure> |
via |
id| Constructor and Description |
|---|
Vias_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
String |
getNone()
Gets the value of the none property.
|
List<Via_VersionedChildStructure> |
getVia()
Gets the value of the via property.
|
void |
setNone(String value)
Sets the value of the none property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
Vias_RelStructure |
withId(String value) |
Vias_RelStructure |
withNone(String value) |
Vias_RelStructure |
withVia(Collection<Via_VersionedChildStructure> values) |
Vias_RelStructure |
withVia(Via_VersionedChildStructure... values) |
getId, setIdprotected String none
protected List<Via_VersionedChildStructure> via
public String getNone()
Stringpublic void setNone(String value)
value - allowed object is
Stringpublic List<Via_VersionedChildStructure> getVia()
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 via property.
For example, to add a new item, do as follows:
getVia().add(newItem);
Objects of the following type(s) are allowed in the list
Via_VersionedChildStructure
public Vias_RelStructure withNone(String value)
public Vias_RelStructure withVia(Via_VersionedChildStructure... values)
public Vias_RelStructure withVia(Collection<Via_VersionedChildStructure> values)
public Vias_RelStructure withId(String value)
withId in class StrictContainmentAggregationStructurepublic String toString()
toString in class StrictContainmentAggregationStructureCopyright © 2018 Entur AS. All rights reserved.