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