org.rutebanken.netex.model.CustomerPurchasePackageElement_VersionStructure 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.math.BigInteger;
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.XmlAttribute;
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 CustomerPurchasePackageElement_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CustomerPurchasePackageElement_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}PriceableObject_VersionStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}CustomerPurchasePackageElementGroup"/>
* </sequence>
* <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CustomerPurchasePackageElement_VersionStructure", propOrder = {
"customerPurchasePackageRef",
"salesPackageElementRef",
"distanceMatrixElementRef",
"geographicalStructureFactorRef",
"timeStructureFactorRef",
"qualityStructureFactorRef",
"validableElements",
"validityParameterAssignments",
"prices"
})
@XmlSeeAlso({
CustomerPurchasePackageElement.class
})
public class CustomerPurchasePackageElement_VersionStructure
extends PriceableObject_VersionStructure
{
@XmlElement(name = "CustomerPurchasePackageRef")
protected CustomerPurchasePackageRefStructure customerPurchasePackageRef;
@XmlElement(name = "SalesPackageElementRef")
protected SalesPackageElementRefStructure salesPackageElementRef;
@XmlElement(name = "DistanceMatrixElementRef")
protected DistanceMatrixElementRefStructureElement distanceMatrixElementRef;
@XmlElement(name = "GeographicalStructureFactorRef")
protected GeographicalStructureFactorRefStructure geographicalStructureFactorRef;
@XmlElement(name = "TimeStructureFactorRef")
protected TimeStructureFactorRefStructure timeStructureFactorRef;
@XmlElementRef(name = "QualityStructureFactorRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends QualityStructureFactorRefStructure> qualityStructureFactorRef;
protected ValidableElements_RelStructure validableElements;
protected CustomerPurchaseParameterAssignments_RelStructure validityParameterAssignments;
protected SalesPackagePrices_RelStructure prices;
@XmlAttribute(name = "order")
protected BigInteger order;
/**
* Gets the value of the customerPurchasePackageRef property.
*
* @return
* possible object is
* {@link CustomerPurchasePackageRefStructure }
*
*/
public CustomerPurchasePackageRefStructure getCustomerPurchasePackageRef() {
return customerPurchasePackageRef;
}
/**
* Sets the value of the customerPurchasePackageRef property.
*
* @param value
* allowed object is
* {@link CustomerPurchasePackageRefStructure }
*
*/
public void setCustomerPurchasePackageRef(CustomerPurchasePackageRefStructure value) {
this.customerPurchasePackageRef = value;
}
/**
* Gets the value of the salesPackageElementRef property.
*
* @return
* possible object is
* {@link SalesPackageElementRefStructure }
*
*/
public SalesPackageElementRefStructure getSalesPackageElementRef() {
return salesPackageElementRef;
}
/**
* Sets the value of the salesPackageElementRef property.
*
* @param value
* allowed object is
* {@link SalesPackageElementRefStructure }
*
*/
public void setSalesPackageElementRef(SalesPackageElementRefStructure value) {
this.salesPackageElementRef = value;
}
/**
* Gets the value of the distanceMatrixElementRef property.
*
* @return
* possible object is
* {@link DistanceMatrixElementRefStructureElement }
*
*/
public DistanceMatrixElementRefStructureElement getDistanceMatrixElementRef() {
return distanceMatrixElementRef;
}
/**
* Sets the value of the distanceMatrixElementRef property.
*
* @param value
* allowed object is
* {@link DistanceMatrixElementRefStructureElement }
*
*/
public void setDistanceMatrixElementRef(DistanceMatrixElementRefStructureElement value) {
this.distanceMatrixElementRef = value;
}
/**
* Gets the value of the geographicalStructureFactorRef property.
*
* @return
* possible object is
* {@link GeographicalStructureFactorRefStructure }
*
*/
public GeographicalStructureFactorRefStructure getGeographicalStructureFactorRef() {
return geographicalStructureFactorRef;
}
/**
* Sets the value of the geographicalStructureFactorRef property.
*
* @param value
* allowed object is
* {@link GeographicalStructureFactorRefStructure }
*
*/
public void setGeographicalStructureFactorRef(GeographicalStructureFactorRefStructure value) {
this.geographicalStructureFactorRef = value;
}
/**
* Gets the value of the timeStructureFactorRef property.
*
* @return
* possible object is
* {@link TimeStructureFactorRefStructure }
*
*/
public TimeStructureFactorRefStructure getTimeStructureFactorRef() {
return timeStructureFactorRef;
}
/**
* Sets the value of the timeStructureFactorRef property.
*
* @param value
* allowed object is
* {@link TimeStructureFactorRefStructure }
*
*/
public void setTimeStructureFactorRef(TimeStructureFactorRefStructure value) {
this.timeStructureFactorRef = value;
}
/**
* Gets the value of the qualityStructureFactorRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link FareQuotaFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link QualityStructureFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareDemandFactorRefStructure }{@code >}
*
*/
public JAXBElement extends QualityStructureFactorRefStructure> getQualityStructureFactorRef() {
return qualityStructureFactorRef;
}
/**
* Sets the value of the qualityStructureFactorRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link FareQuotaFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link QualityStructureFactorRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareDemandFactorRefStructure }{@code >}
*
*/
public void setQualityStructureFactorRef(JAXBElement extends QualityStructureFactorRefStructure> value) {
this.qualityStructureFactorRef = value;
}
/**
* Gets the value of the validableElements property.
*
* @return
* possible object is
* {@link ValidableElements_RelStructure }
*
*/
public ValidableElements_RelStructure getValidableElements() {
return validableElements;
}
/**
* Sets the value of the validableElements property.
*
* @param value
* allowed object is
* {@link ValidableElements_RelStructure }
*
*/
public void setValidableElements(ValidableElements_RelStructure value) {
this.validableElements = value;
}
/**
* Gets the value of the validityParameterAssignments property.
*
* @return
* possible object is
* {@link CustomerPurchaseParameterAssignments_RelStructure }
*
*/
public CustomerPurchaseParameterAssignments_RelStructure getValidityParameterAssignments() {
return validityParameterAssignments;
}
/**
* Sets the value of the validityParameterAssignments property.
*
* @param value
* allowed object is
* {@link CustomerPurchaseParameterAssignments_RelStructure }
*
*/
public void setValidityParameterAssignments(CustomerPurchaseParameterAssignments_RelStructure value) {
this.validityParameterAssignments = value;
}
/**
* Gets the value of the prices property.
*
* @return
* possible object is
* {@link SalesPackagePrices_RelStructure }
*
*/
public SalesPackagePrices_RelStructure getPrices() {
return prices;
}
/**
* Sets the value of the prices property.
*
* @param value
* allowed object is
* {@link SalesPackagePrices_RelStructure }
*
*/
public void setPrices(SalesPackagePrices_RelStructure value) {
this.prices = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setOrder(BigInteger value) {
this.order = value;
}
public CustomerPurchasePackageElement_VersionStructure withCustomerPurchasePackageRef(CustomerPurchasePackageRefStructure value) {
setCustomerPurchasePackageRef(value);
return this;
}
public CustomerPurchasePackageElement_VersionStructure withSalesPackageElementRef(SalesPackageElementRefStructure value) {
setSalesPackageElementRef(value);
return this;
}
public CustomerPurchasePackageElement_VersionStructure withDistanceMatrixElementRef(DistanceMatrixElementRefStructureElement value) {
setDistanceMatrixElementRef(value);
return this;
}
public CustomerPurchasePackageElement_VersionStructure withGeographicalStructureFactorRef(GeographicalStructureFactorRefStructure value) {
setGeographicalStructureFactorRef(value);
return this;
}
public CustomerPurchasePackageElement_VersionStructure withTimeStructureFactorRef(TimeStructureFactorRefStructure value) {
setTimeStructureFactorRef(value);
return this;
}
public CustomerPurchasePackageElement_VersionStructure withQualityStructureFactorRef(JAXBElement extends QualityStructureFactorRefStructure> value) {
setQualityStructureFactorRef(value);
return this;
}
public CustomerPurchasePackageElement_VersionStructure withValidableElements(ValidableElements_RelStructure value) {
setValidableElements(value);
return this;
}
public CustomerPurchasePackageElement_VersionStructure withValidityParameterAssignments(CustomerPurchaseParameterAssignments_RelStructure value) {
setValidityParameterAssignments(value);
return this;
}
public CustomerPurchasePackageElement_VersionStructure withPrices(SalesPackagePrices_RelStructure value) {
setPrices(value);
return this;
}
public CustomerPurchasePackageElement_VersionStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withAlternativeNames(AlternativeNames_RelStructure value) {
setAlternativeNames(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withNoticeAssignments(NoticeAssignments_RelStructure value) {
setNoticeAssignments(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withPricingServiceRef(PricingServiceRefStructure value) {
setPricingServiceRef(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withPricingRuleRef(JAXBElement extends PricingRuleRefStructure> value) {
setPricingRuleRef(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withPriceGroups(PriceGroups_RelStructure value) {
setPriceGroups(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withFareTables(FareTables_RelStructure value) {
setFareTables(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public CustomerPurchasePackageElement_VersionStructure 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