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