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