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