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