public class PassengerCapacities_RelStructure extends OneToManyRelationshipStructure
Java class for passengerCapacities_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="passengerCapacities_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}oneToManyRelationshipStructure">
<choice maxOccurs="unbounded">
<element ref="{http://www.netex.org.uk/netex}PassengerCapacityRef"/>
<element ref="{http://www.netex.org.uk/netex}PassengerCapacity"/>
</choice>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
passengerCapacityRefOrPassengerCapacity |
modificationSetid| Constructor and Description |
|---|
PassengerCapacities_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getPassengerCapacityRefOrPassengerCapacity()
Gets the value of the passengerCapacityRefOrPassengerCapacity property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
PassengerCapacities_RelStructure |
withId(String value) |
PassengerCapacities_RelStructure |
withModificationSet(ModificationSetEnumeration value) |
PassengerCapacities_RelStructure |
withPassengerCapacityRefOrPassengerCapacity(Collection<Object> values) |
PassengerCapacities_RelStructure |
withPassengerCapacityRefOrPassengerCapacity(Object... values) |
getModificationSet, setModificationSetgetId, setIdpublic List<Object> getPassengerCapacityRefOrPassengerCapacity()
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 passengerCapacityRefOrPassengerCapacity property.
For example, to add a new item, do as follows:
getPassengerCapacityRefOrPassengerCapacity().add(newItem);
Objects of the following type(s) are allowed in the list
PassengerCapacityRefStructure
PassengerCapacity
public PassengerCapacities_RelStructure withPassengerCapacityRefOrPassengerCapacity(Object... values)
public PassengerCapacities_RelStructure withPassengerCapacityRefOrPassengerCapacity(Collection<Object> values)
public PassengerCapacities_RelStructure withModificationSet(ModificationSetEnumeration value)
withModificationSet in class OneToManyRelationshipStructurepublic PassengerCapacities_RelStructure withId(String value)
withId in class OneToManyRelationshipStructurepublic String toString()
toString in class OneToManyRelationshipStructureCopyright © 2018 Entur AS. All rights reserved.