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