public class AlternativeNames_RelStructure extends StrictContainmentAggregationStructure
Java class for alternativeNames_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="alternativeNames_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}strictContainmentAggregationStructure">
<sequence>
<element ref="{http://www.netex.org.uk/netex}AlternativeName" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AlternativeName> |
alternativeName |
id| Constructor and Description |
|---|
AlternativeNames_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<AlternativeName> |
getAlternativeName()
Gets the value of the alternativeName property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
AlternativeNames_RelStructure |
withAlternativeName(AlternativeName... values) |
AlternativeNames_RelStructure |
withAlternativeName(Collection<AlternativeName> values) |
AlternativeNames_RelStructure |
withId(String value) |
getId, setIdprotected List<AlternativeName> alternativeName
public List<AlternativeName> getAlternativeName()
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 alternativeName property.
For example, to add a new item, do as follows:
getAlternativeName().add(newItem);
Objects of the following type(s) are allowed in the list
AlternativeName
public AlternativeNames_RelStructure withAlternativeName(AlternativeName... values)
public AlternativeNames_RelStructure withAlternativeName(Collection<AlternativeName> values)
public AlternativeNames_RelStructure withId(String value)
withId in class StrictContainmentAggregationStructurepublic String toString()
toString in class StrictContainmentAggregationStructureCopyright © 2018 Entur AS. All rights reserved.