public class SalesPackagePrices_RelStructure extends StrictContainmentAggregationStructure
Java class for salesPackagePrices_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="salesPackagePrices_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}strictContainmentAggregationStructure">
<choice maxOccurs="unbounded">
<element ref="{http://www.netex.org.uk/netex}SalesPackagePriceRef"/>
<element name="SalesPackagePrice" type="{http://www.netex.org.uk/netex}SalesPackagePrice_VersionedChildStructure"/>
<element ref="{http://www.netex.org.uk/netex}CellRef_"/>
</choice>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<JAXBElement<?>> |
salesPackagePriceRefOrSalesPackagePriceOrCellRef_ |
id| Constructor and Description |
|---|
SalesPackagePrices_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<JAXBElement<?>> |
getSalesPackagePriceRefOrSalesPackagePriceOrCellRef_()
Gets the value of the salesPackagePriceRefOrSalesPackagePriceOrCellRef property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
SalesPackagePrices_RelStructure |
withId(String value) |
SalesPackagePrices_RelStructure |
withSalesPackagePriceRefOrSalesPackagePriceOrCellRef_(Collection<JAXBElement<?>> values) |
SalesPackagePrices_RelStructure |
withSalesPackagePriceRefOrSalesPackagePriceOrCellRef_(JAXBElement<?>... values) |
getId, setIdprotected List<JAXBElement<?>> salesPackagePriceRefOrSalesPackagePriceOrCellRef_
public List<JAXBElement<?>> getSalesPackagePriceRefOrSalesPackagePriceOrCellRef_()
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 salesPackagePriceRefOrSalesPackagePriceOrCellRef property.
For example, to add a new item, do as follows:
getSalesPackagePriceRefOrSalesPackagePriceOrCellRef_().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<CellRefStructure>
JAXBElement<SalesPackagePriceRefStructure>
JAXBElement<SalesPackagePrice_VersionedChildStructure>
JAXBElement<VersionOfObjectRefStructure>
public SalesPackagePrices_RelStructure withSalesPackagePriceRefOrSalesPackagePriceOrCellRef_(JAXBElement<?>... values)
public SalesPackagePrices_RelStructure withSalesPackagePriceRefOrSalesPackagePriceOrCellRef_(Collection<JAXBElement<?>> values)
public SalesPackagePrices_RelStructure withId(String value)
withId in class StrictContainmentAggregationStructurepublic String toString()
toString in class StrictContainmentAggregationStructureCopyright © 2018 Entur AS. All rights reserved.