org.rutebanken.netex.model.PricingParameterSet_VersionedStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netex-java-model Show documentation
Show all versions of netex-java-model Show documentation
Generates Java model from NeTEx XSDs using JAXB.
//
// 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.time.OffsetDateTime;
import java.util.Collection;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for PricingParameterSet_VersionedStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PricingParameterSet_VersionedStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}DataManagedObjectStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}PricingParameterSetGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PricingParameterSet_VersionedStructure", propOrder = {
"name",
"priceUnitRef",
"priceUnits",
"pricingRules",
"allowCumulativeDiscounts",
"roundingRef",
"roundings",
"dayTypeRef",
"monthValidityOffsets",
"pricingServices"
})
@XmlSeeAlso({
PricingParameterSet.class
})
public class PricingParameterSet_VersionedStructure
extends DataManagedObjectStructure
{
@XmlElement(name = "Name")
protected MultilingualString name;
@XmlElement(name = "PriceUnitRef")
protected PriceUnitRefStructure priceUnitRef;
protected PriceUnits_RelStructure priceUnits;
protected PricingRules_RelStructure pricingRules;
@XmlElement(name = "AllowCumulativeDiscounts")
protected Boolean allowCumulativeDiscounts;
@XmlElement(name = "RoundingRef")
protected RoundingRefStructure roundingRef;
protected Roundings_RelStructure roundings;
@XmlElementRef(name = "DayTypeRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends DayTypeRefStructure> dayTypeRef;
protected MonthValidityOffsets_RelStructure monthValidityOffsets;
protected PricingServices_RelStructure pricingServices;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setName(MultilingualString value) {
this.name = value;
}
/**
* Gets the value of the priceUnitRef property.
*
* @return
* possible object is
* {@link PriceUnitRefStructure }
*
*/
public PriceUnitRefStructure getPriceUnitRef() {
return priceUnitRef;
}
/**
* Sets the value of the priceUnitRef property.
*
* @param value
* allowed object is
* {@link PriceUnitRefStructure }
*
*/
public void setPriceUnitRef(PriceUnitRefStructure value) {
this.priceUnitRef = value;
}
/**
* Gets the value of the priceUnits property.
*
* @return
* possible object is
* {@link PriceUnits_RelStructure }
*
*/
public PriceUnits_RelStructure getPriceUnits() {
return priceUnits;
}
/**
* Sets the value of the priceUnits property.
*
* @param value
* allowed object is
* {@link PriceUnits_RelStructure }
*
*/
public void setPriceUnits(PriceUnits_RelStructure value) {
this.priceUnits = value;
}
/**
* Gets the value of the pricingRules property.
*
* @return
* possible object is
* {@link PricingRules_RelStructure }
*
*/
public PricingRules_RelStructure getPricingRules() {
return pricingRules;
}
/**
* Sets the value of the pricingRules property.
*
* @param value
* allowed object is
* {@link PricingRules_RelStructure }
*
*/
public void setPricingRules(PricingRules_RelStructure value) {
this.pricingRules = value;
}
/**
* Gets the value of the allowCumulativeDiscounts property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAllowCumulativeDiscounts() {
return allowCumulativeDiscounts;
}
/**
* Sets the value of the allowCumulativeDiscounts property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAllowCumulativeDiscounts(Boolean value) {
this.allowCumulativeDiscounts = value;
}
/**
* Gets the value of the roundingRef property.
*
* @return
* possible object is
* {@link RoundingRefStructure }
*
*/
public RoundingRefStructure getRoundingRef() {
return roundingRef;
}
/**
* Sets the value of the roundingRef property.
*
* @param value
* allowed object is
* {@link RoundingRefStructure }
*
*/
public void setRoundingRef(RoundingRefStructure value) {
this.roundingRef = value;
}
/**
* Gets the value of the roundings property.
*
* @return
* possible object is
* {@link Roundings_RelStructure }
*
*/
public Roundings_RelStructure getRoundings() {
return roundings;
}
/**
* Sets the value of the roundings property.
*
* @param value
* allowed object is
* {@link Roundings_RelStructure }
*
*/
public void setRoundings(Roundings_RelStructure value) {
this.roundings = value;
}
/**
* Gets the value of the dayTypeRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link FareDayTypeRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link DayTypeRefStructure }{@code >}
*
*/
public JAXBElement extends DayTypeRefStructure> getDayTypeRef() {
return dayTypeRef;
}
/**
* Sets the value of the dayTypeRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link FareDayTypeRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link DayTypeRefStructure }{@code >}
*
*/
public void setDayTypeRef(JAXBElement extends DayTypeRefStructure> value) {
this.dayTypeRef = value;
}
/**
* Gets the value of the monthValidityOffsets property.
*
* @return
* possible object is
* {@link MonthValidityOffsets_RelStructure }
*
*/
public MonthValidityOffsets_RelStructure getMonthValidityOffsets() {
return monthValidityOffsets;
}
/**
* Sets the value of the monthValidityOffsets property.
*
* @param value
* allowed object is
* {@link MonthValidityOffsets_RelStructure }
*
*/
public void setMonthValidityOffsets(MonthValidityOffsets_RelStructure value) {
this.monthValidityOffsets = value;
}
/**
* Gets the value of the pricingServices property.
*
* @return
* possible object is
* {@link PricingServices_RelStructure }
*
*/
public PricingServices_RelStructure getPricingServices() {
return pricingServices;
}
/**
* Sets the value of the pricingServices property.
*
* @param value
* allowed object is
* {@link PricingServices_RelStructure }
*
*/
public void setPricingServices(PricingServices_RelStructure value) {
this.pricingServices = value;
}
public PricingParameterSet_VersionedStructure withName(MultilingualString value) {
setName(value);
return this;
}
public PricingParameterSet_VersionedStructure withPriceUnitRef(PriceUnitRefStructure value) {
setPriceUnitRef(value);
return this;
}
public PricingParameterSet_VersionedStructure withPriceUnits(PriceUnits_RelStructure value) {
setPriceUnits(value);
return this;
}
public PricingParameterSet_VersionedStructure withPricingRules(PricingRules_RelStructure value) {
setPricingRules(value);
return this;
}
public PricingParameterSet_VersionedStructure withAllowCumulativeDiscounts(Boolean value) {
setAllowCumulativeDiscounts(value);
return this;
}
public PricingParameterSet_VersionedStructure withRoundingRef(RoundingRefStructure value) {
setRoundingRef(value);
return this;
}
public PricingParameterSet_VersionedStructure withRoundings(Roundings_RelStructure value) {
setRoundings(value);
return this;
}
public PricingParameterSet_VersionedStructure withDayTypeRef(JAXBElement extends DayTypeRefStructure> value) {
setDayTypeRef(value);
return this;
}
public PricingParameterSet_VersionedStructure withMonthValidityOffsets(MonthValidityOffsets_RelStructure value) {
setMonthValidityOffsets(value);
return this;
}
public PricingParameterSet_VersionedStructure withPricingServices(PricingServices_RelStructure value) {
setPricingServices(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public PricingParameterSet_VersionedStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public PricingParameterSet_VersionedStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public PricingParameterSet_VersionedStructure 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);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy