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