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