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