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