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