public class PricingRules_RelStructure extends FrameContainmentStructure
Java class for pricingRules_RelStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="pricingRules_RelStructure">
<complexContent>
<extension base="{http://www.netex.org.uk/netex}frameContainmentStructure">
<sequence>
<element ref="{http://www.netex.org.uk/netex}PricingRule_" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<JAXBElement<? extends DataManagedObjectStructure>> |
pricingRule_ |
id| Constructor and Description |
|---|
PricingRules_RelStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<JAXBElement<? extends DataManagedObjectStructure>> |
getPricingRule_()
Gets the value of the pricingRule property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
PricingRules_RelStructure |
withId(String value) |
PricingRules_RelStructure |
withPricingRule_(Collection<JAXBElement<? extends DataManagedObjectStructure>> values) |
PricingRules_RelStructure |
withPricingRule_(JAXBElement<? extends DataManagedObjectStructure>... values) |
getId, setIdprotected List<JAXBElement<? extends DataManagedObjectStructure>> pricingRule_
public List<JAXBElement<? extends DataManagedObjectStructure>> getPricingRule_()
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 pricingRule property.
For example, to add a new item, do as follows:
getPricingRule_().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<PricingRule>
JAXBElement<DiscountingRule>
JAXBElement<LimitingRule>
JAXBElement<DataManagedObjectStructure>
JAXBElement<LimitingRuleInContext>
public PricingRules_RelStructure withPricingRule_(JAXBElement<? extends DataManagedObjectStructure>... values)
public PricingRules_RelStructure withPricingRule_(Collection<JAXBElement<? extends DataManagedObjectStructure>> values)
public PricingRules_RelStructure withId(String value)
withId in class FrameContainmentStructurepublic String toString()
toString in class FrameContainmentStructureCopyright © 2018 Entur AS. All rights reserved.