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