All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rutebanken.netex.model.SalesPackageElement_VersionStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// 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 SalesPackageElement_VersionStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="SalesPackageElement_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}PriceableObject_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}SalesPackageElementGroup"/>
 *       </sequence>
 *       <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SalesPackageElement_VersionStructure", propOrder = { "requiresValidation", "conditionSummary", "salesPackageRef", "typeOfTravelDocumentRef", "fareProductRef", "validityParameterAssignments", "prices" }) @XmlSeeAlso({ SalesPackageElement.class }) public class SalesPackageElement_VersionStructure extends PriceableObject_VersionStructure { @XmlElement(name = "RequiresValidation") protected Boolean requiresValidation; @XmlElement(name = "ConditionSummary") protected ConditionSummaryStructure conditionSummary; @XmlElement(name = "SalesPackageRef") protected SalesPackageRefStructure salesPackageRef; @XmlElement(name = "TypeOfTravelDocumentRef") protected TypeOfTravelDocumentRefStructure typeOfTravelDocumentRef; @XmlElementRef(name = "FareProductRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) protected JAXBElement fareProductRef; protected GenericParameterAssignments_RelStructure validityParameterAssignments; protected SalesPackagePrices_RelStructure prices; @XmlAttribute(name = "order") protected BigInteger order; /** * Gets the value of the requiresValidation property. * * @return * possible object is * {@link Boolean } * */ public Boolean isRequiresValidation() { return requiresValidation; } /** * Sets the value of the requiresValidation property. * * @param value * allowed object is * {@link Boolean } * */ public void setRequiresValidation(Boolean value) { this.requiresValidation = value; } /** * Gets the value of the conditionSummary property. * * @return * possible object is * {@link ConditionSummaryStructure } * */ public ConditionSummaryStructure getConditionSummary() { return conditionSummary; } /** * Sets the value of the conditionSummary property. * * @param value * allowed object is * {@link ConditionSummaryStructure } * */ public void setConditionSummary(ConditionSummaryStructure value) { this.conditionSummary = value; } /** * Gets the value of the salesPackageRef property. * * @return * possible object is * {@link SalesPackageRefStructure } * */ public SalesPackageRefStructure getSalesPackageRef() { return salesPackageRef; } /** * Sets the value of the salesPackageRef property. * * @param value * allowed object is * {@link SalesPackageRefStructure } * */ public void setSalesPackageRef(SalesPackageRefStructure value) { this.salesPackageRef = value; } /** * Gets the value of the typeOfTravelDocumentRef property. * * @return * possible object is * {@link TypeOfTravelDocumentRefStructure } * */ public TypeOfTravelDocumentRefStructure getTypeOfTravelDocumentRef() { return typeOfTravelDocumentRef; } /** * Sets the value of the typeOfTravelDocumentRef property. * * @param value * allowed object is * {@link TypeOfTravelDocumentRefStructure } * */ public void setTypeOfTravelDocumentRef(TypeOfTravelDocumentRefStructure value) { this.typeOfTravelDocumentRef = value; } /** * Gets the value of the fareProductRef property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link PreassignedFareProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link CappedDiscountRightRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link UsageDiscountRightRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link AmountOfPriceUnitProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link SaleDiscountRightRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ThirdPartyProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link SupplementProductRefStructure }{@code >} * */ public JAXBElement getFareProductRef() { return fareProductRef; } /** * Sets the value of the fareProductRef property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link PreassignedFareProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link CappedDiscountRightRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link UsageDiscountRightRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link AmountOfPriceUnitProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link SaleDiscountRightRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ThirdPartyProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link SupplementProductRefStructure }{@code >} * */ public void setFareProductRef(JAXBElement value) { this.fareProductRef = value; } /** * Gets the value of the validityParameterAssignments property. * * @return * possible object is * {@link GenericParameterAssignments_RelStructure } * */ public GenericParameterAssignments_RelStructure getValidityParameterAssignments() { return validityParameterAssignments; } /** * Sets the value of the validityParameterAssignments property. * * @param value * allowed object is * {@link GenericParameterAssignments_RelStructure } * */ public void setValidityParameterAssignments(GenericParameterAssignments_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 SalesPackageElement_VersionStructure withRequiresValidation(Boolean value) { setRequiresValidation(value); return this; } public SalesPackageElement_VersionStructure withConditionSummary(ConditionSummaryStructure value) { setConditionSummary(value); return this; } public SalesPackageElement_VersionStructure withSalesPackageRef(SalesPackageRefStructure value) { setSalesPackageRef(value); return this; } public SalesPackageElement_VersionStructure withTypeOfTravelDocumentRef(TypeOfTravelDocumentRefStructure value) { setTypeOfTravelDocumentRef(value); return this; } public SalesPackageElement_VersionStructure withFareProductRef(JAXBElement value) { setFareProductRef(value); return this; } public SalesPackageElement_VersionStructure withValidityParameterAssignments(GenericParameterAssignments_RelStructure value) { setValidityParameterAssignments(value); return this; } public SalesPackageElement_VersionStructure withPrices(SalesPackagePrices_RelStructure value) { setPrices(value); return this; } public SalesPackageElement_VersionStructure withOrder(BigInteger value) { setOrder(value); return this; } @Override public SalesPackageElement_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public SalesPackageElement_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public SalesPackageElement_VersionStructure withAlternativeNames(AlternativeNames_RelStructure value) { setAlternativeNames(value); return this; } @Override public SalesPackageElement_VersionStructure withNoticeAssignments(NoticeAssignments_RelStructure value) { setNoticeAssignments(value); return this; } @Override public SalesPackageElement_VersionStructure withPricingServiceRef(PricingServiceRefStructure value) { setPricingServiceRef(value); return this; } @Override public SalesPackageElement_VersionStructure withPricingRuleRef(JAXBElement value) { setPricingRuleRef(value); return this; } @Override public SalesPackageElement_VersionStructure withPriceGroups(PriceGroups_RelStructure value) { setPriceGroups(value); return this; } @Override public SalesPackageElement_VersionStructure withFareTables(FareTables_RelStructure value) { setFareTables(value); return this; } @Override public SalesPackageElement_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public SalesPackageElement_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public SalesPackageElement_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public SalesPackageElement_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public SalesPackageElement_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public SalesPackageElement_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public SalesPackageElement_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public SalesPackageElement_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public SalesPackageElement_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public SalesPackageElement_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public SalesPackageElement_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public SalesPackageElement_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public SalesPackageElement_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public SalesPackageElement_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public SalesPackageElement_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public SalesPackageElement_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public SalesPackageElement_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public SalesPackageElement_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public SalesPackageElement_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