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