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