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