public class JourneyRefs_RelStructure extends OneToManyRelationshipStructure
Java class for journeyRefs_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="journeyRefs_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}oneToManyRelationshipStructure">
<choice maxOccurs="unbounded">
<element ref="{http://www.netex.org.uk/netex}JourneyRef"/>
<element ref="{http://www.netex.org.uk/netex}JourneyDesignator"/>
<element ref="{http://www.netex.org.uk/netex}ServiceDesignator"/>
</choice>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<JAXBElement<?>> |
journeyRefOrJourneyDesignatorOrServiceDesignator |
modificationSetid| Constructor and Description |
|---|
JourneyRefs_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<JAXBElement<?>> |
getJourneyRefOrJourneyDesignatorOrServiceDesignator()
Gets the value of the journeyRefOrJourneyDesignatorOrServiceDesignator property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
JourneyRefs_RelStructure |
withId(String value) |
JourneyRefs_RelStructure |
withJourneyRefOrJourneyDesignatorOrServiceDesignator(Collection<JAXBElement<?>> values) |
JourneyRefs_RelStructure |
withJourneyRefOrJourneyDesignatorOrServiceDesignator(JAXBElement<?>... values) |
JourneyRefs_RelStructure |
withModificationSet(ModificationSetEnumeration value) |
getModificationSet, setModificationSetgetId, setIdprotected List<JAXBElement<?>> journeyRefOrJourneyDesignatorOrServiceDesignator
public List<JAXBElement<?>> getJourneyRefOrJourneyDesignatorOrServiceDesignator()
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 journeyRefOrJourneyDesignatorOrServiceDesignator property.
For example, to add a new item, do as follows:
getJourneyRefOrJourneyDesignatorOrServiceDesignator().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<SpecialServiceRefStructure>
JAXBElement<JourneyRefStructure>
JAXBElement<JourneyDesignatorStructure>
JAXBElement<ServiceJourneyRefStructure>
JAXBElement<VehicleJourneyRefStructure>
JAXBElement<DeadRunRefStructure>
JAXBElement<ServiceDesignatorStructure>
JAXBElement<VehicleJourneyRefStructure>
JAXBElement<TemplateServiceJourneyRefStructure>
JAXBElement<DatedSpecialServiceRefStructure>
public JourneyRefs_RelStructure withJourneyRefOrJourneyDesignatorOrServiceDesignator(JAXBElement<?>... values)
public JourneyRefs_RelStructure withJourneyRefOrJourneyDesignatorOrServiceDesignator(Collection<JAXBElement<?>> values)
public JourneyRefs_RelStructure withModificationSet(ModificationSetEnumeration value)
withModificationSet in class OneToManyRelationshipStructurepublic JourneyRefs_RelStructure withId(String value)
withId in class OneToManyRelationshipStructurepublic String toString()
toString in class OneToManyRelationshipStructureCopyright © 2018 Entur AS. All rights reserved.