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