org.rutebanken.netex.model.PriceableObjectRefs_RelStructure Maven / Gradle / Ivy
Show all versions of netex-java-model Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.21 at 10:53:23 AM CEST
//
package org.rutebanken.netex.model;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for priceableObjectRefs_RelStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="priceableObjectRefs_RelStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}oneToManyRelationshipStructure">
* <sequence>
* <element ref="{http://www.netex.org.uk/netex}PriceableObjectRef" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "priceableObjectRefs_RelStructure", propOrder = {
"priceableObjectRef"
})
public class PriceableObjectRefs_RelStructure
extends OneToManyRelationshipStructure
{
@XmlElementRef(name = "PriceableObjectRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class)
protected List> priceableObjectRef;
/**
* Gets the value of the priceableObjectRef property.
*
*
* 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 priceableObjectRef property.
*
*
* For example, to add a new item, do as follows:
*
* getPriceableObjectRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link ServiceAccessRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ReplacingRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link RoundTripRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FrequencyOfUseRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link StepLimitRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareIntervalRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ControllableElementRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareStructureElementRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link TimeIntervalRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link TimeStructureFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ReservingRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link GeographicalStructureFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareStructureFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ResellingRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SalesPackageRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link UsageParameterRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link GeographicalIntervalRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link QualityStructureFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link CancellingRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link TransferabilityRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link UserProfileRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link PurchaseWindowRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SaleDiscountRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SupplementProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link UsageParameterRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link RefundingRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ValidableElementRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link RoutingRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link CommercialProfileRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link CappedDiscountRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SalesPackageElementRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AmountOfPriceUnitProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ExchangingRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ChargingPolicyRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareQuotaFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link GroupTicketRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FulfilmentMethodRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareDemandFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link CustomerPurchasePackageElementRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SeriesConstraintRef }{@code >}
* {@link JAXBElement }{@code <}{@link LuggageAllowanceRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link PenaltyPolicyRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link DistanceMatrixElementRefStructureElement }{@code >}
* {@link JAXBElement }{@code <}{@link CappingRuleRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link EntitlementProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link EntitlementRequiredRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link EntitlementGivenRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link CustomerPurchasePackageRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link MinimumStayRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link UsageDiscountRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link UsageValidityPeriodRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ThirdPartyProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link InterchangingRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link PreassignedFareProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link PriceableObjectRefStructure }{@code >}
*
*
*/
public List> getPriceableObjectRef() {
if (priceableObjectRef == null) {
priceableObjectRef = new ArrayList>();
}
return this.priceableObjectRef;
}
public PriceableObjectRefs_RelStructure withPriceableObjectRef(JAXBElement extends PriceableObjectRefStructure> ... values) {
if (values!= null) {
for (JAXBElement extends PriceableObjectRefStructure> value: values) {
getPriceableObjectRef().add(value);
}
}
return this;
}
public PriceableObjectRefs_RelStructure withPriceableObjectRef(Collection> values) {
if (values!= null) {
getPriceableObjectRef().addAll(values);
}
return this;
}
@Override
public PriceableObjectRefs_RelStructure withModificationSet(ModificationSetEnumeration value) {
setModificationSet(value);
return this;
}
@Override
public PriceableObjectRefs_RelStructure withId(String value) {
setId(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}