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