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

org.rutebanken.netex.model.AccessRightParameterAssignment_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.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
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 AccessRightParameterAssignment_VersionStructure complex type. * *

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

 * <complexType name="AccessRightParameterAssignment_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}Assignment_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}AccessRightParameterAssignmentGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AccessRightParameterAssignment_VersionStructure", propOrder = { "isAllowed", "typeOfAccessRightAssignmentRef", "chargingBasis", "validableElementRef", "controllableElementRef", "fareProductRef", "fareStructureElementRef", "fareElementInSequenceRef", "distanceMatrixElementRef", "salesPackageRef", "groupOfDistanceMatrixElementsRef", "groupOfSalesPackagesRef", "limitationGroupingType", "limitations", "validityParameterAssignmentType", "validityParameterGroupingType", "temporalValidityParameters", "validityParameters" }) @XmlSeeAlso({ ValidityParameterAssignment_VersionStructure.class }) public abstract class AccessRightParameterAssignment_VersionStructure extends Assignment_VersionStructure { @XmlElement(name = "IsAllowed", defaultValue = "true") protected Boolean isAllowed; @XmlElement(name = "TypeOfAccessRightAssignmentRef") protected TypeOfAccessRightAssignmentRefStructure typeOfAccessRightAssignmentRef; @XmlElement(name = "ChargingBasis", defaultValue = "any") @XmlSchemaType(name = "normalizedString") protected ChargingBasisEnumeration chargingBasis; @XmlElement(name = "ValidableElementRef") protected ValidableElementRefStructure validableElementRef; @XmlElement(name = "ControllableElementRef") protected ControllableElementRefStructure controllableElementRef; @XmlElementRef(name = "FareProductRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) protected JAXBElement fareProductRef; @XmlElement(name = "FareStructureElementRef") protected FareStructureElementRefStructure fareStructureElementRef; @XmlElementRef(name = "FareElementInSequenceRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) protected JAXBElement fareElementInSequenceRef; @XmlElement(name = "DistanceMatrixElementRef") protected DistanceMatrixElementRefStructureElement distanceMatrixElementRef; @XmlElement(name = "SalesPackageRef") protected SalesPackageRefStructure salesPackageRef; @XmlElement(name = "GroupOfDistanceMatrixElementsRef") protected GroupOfDistanceMatrixElementsRefStructureElement groupOfDistanceMatrixElementsRef; @XmlElement(name = "GroupOfSalesPackagesRef") protected GroupOfSalesPackagesRefStructure groupOfSalesPackagesRef; @XmlElement(name = "LimitationGroupingType", defaultValue = "AND") @XmlSchemaType(name = "NMTOKEN") protected BooleanOperatorEnumeration limitationGroupingType; protected UsageParameters_RelStructure limitations; @XmlElement(name = "ValidityParameterAssignmentType", defaultValue = "EQ") @XmlSchemaType(name = "NMTOKEN") protected RelativeOperatorEnumeration validityParameterAssignmentType; @XmlElement(name = "ValidityParameterGroupingType", defaultValue = "AND") @XmlSchemaType(name = "NMTOKEN") protected BooleanOperatorEnumeration validityParameterGroupingType; protected TemporalValidityParameters_RelStructure temporalValidityParameters; protected ValidityParameters_RelStructure validityParameters; /** * Gets the value of the isAllowed property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIsAllowed() { return isAllowed; } /** * Sets the value of the isAllowed property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsAllowed(Boolean value) { this.isAllowed = value; } /** * Gets the value of the typeOfAccessRightAssignmentRef property. * * @return * possible object is * {@link TypeOfAccessRightAssignmentRefStructure } * */ public TypeOfAccessRightAssignmentRefStructure getTypeOfAccessRightAssignmentRef() { return typeOfAccessRightAssignmentRef; } /** * Sets the value of the typeOfAccessRightAssignmentRef property. * * @param value * allowed object is * {@link TypeOfAccessRightAssignmentRefStructure } * */ public void setTypeOfAccessRightAssignmentRef(TypeOfAccessRightAssignmentRefStructure value) { this.typeOfAccessRightAssignmentRef = value; } /** * Gets the value of the chargingBasis property. * * @return * possible object is * {@link ChargingBasisEnumeration } * */ public ChargingBasisEnumeration getChargingBasis() { return chargingBasis; } /** * Sets the value of the chargingBasis property. * * @param value * allowed object is * {@link ChargingBasisEnumeration } * */ public void setChargingBasis(ChargingBasisEnumeration value) { this.chargingBasis = value; } /** * Gets the value of the validableElementRef property. * * @return * possible object is * {@link ValidableElementRefStructure } * */ public ValidableElementRefStructure getValidableElementRef() { return validableElementRef; } /** * Sets the value of the validableElementRef property. * * @param value * allowed object is * {@link ValidableElementRefStructure } * */ public void setValidableElementRef(ValidableElementRefStructure value) { this.validableElementRef = value; } /** * Gets the value of the controllableElementRef property. * * @return * possible object is * {@link ControllableElementRefStructure } * */ public ControllableElementRefStructure getControllableElementRef() { return controllableElementRef; } /** * Sets the value of the controllableElementRef property. * * @param value * allowed object is * {@link ControllableElementRefStructure } * */ public void setControllableElementRef(ControllableElementRefStructure value) { this.controllableElementRef = 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 fareStructureElementRef property. * * @return * possible object is * {@link FareStructureElementRefStructure } * */ public FareStructureElementRefStructure getFareStructureElementRef() { return fareStructureElementRef; } /** * Sets the value of the fareStructureElementRef property. * * @param value * allowed object is * {@link FareStructureElementRefStructure } * */ public void setFareStructureElementRef(FareStructureElementRefStructure value) { this.fareStructureElementRef = value; } /** * Gets the value of the fareElementInSequenceRef property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link FareElementInSequenceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareStructureElementInSequenceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link AccessRightInProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ControllableElementInSequenceRefStructure }{@code >} * */ public JAXBElement getFareElementInSequenceRef() { return fareElementInSequenceRef; } /** * Sets the value of the fareElementInSequenceRef property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link FareElementInSequenceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareStructureElementInSequenceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link AccessRightInProductRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ControllableElementInSequenceRefStructure }{@code >} * */ public void setFareElementInSequenceRef(JAXBElement value) { this.fareElementInSequenceRef = 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 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 groupOfDistanceMatrixElementsRef property. * * @return * possible object is * {@link GroupOfDistanceMatrixElementsRefStructureElement } * */ public GroupOfDistanceMatrixElementsRefStructureElement getGroupOfDistanceMatrixElementsRef() { return groupOfDistanceMatrixElementsRef; } /** * Sets the value of the groupOfDistanceMatrixElementsRef property. * * @param value * allowed object is * {@link GroupOfDistanceMatrixElementsRefStructureElement } * */ public void setGroupOfDistanceMatrixElementsRef(GroupOfDistanceMatrixElementsRefStructureElement value) { this.groupOfDistanceMatrixElementsRef = value; } /** * Gets the value of the groupOfSalesPackagesRef property. * * @return * possible object is * {@link GroupOfSalesPackagesRefStructure } * */ public GroupOfSalesPackagesRefStructure getGroupOfSalesPackagesRef() { return groupOfSalesPackagesRef; } /** * Sets the value of the groupOfSalesPackagesRef property. * * @param value * allowed object is * {@link GroupOfSalesPackagesRefStructure } * */ public void setGroupOfSalesPackagesRef(GroupOfSalesPackagesRefStructure value) { this.groupOfSalesPackagesRef = value; } /** * Gets the value of the limitationGroupingType property. * * @return * possible object is * {@link BooleanOperatorEnumeration } * */ public BooleanOperatorEnumeration getLimitationGroupingType() { return limitationGroupingType; } /** * Sets the value of the limitationGroupingType property. * * @param value * allowed object is * {@link BooleanOperatorEnumeration } * */ public void setLimitationGroupingType(BooleanOperatorEnumeration value) { this.limitationGroupingType = value; } /** * Gets the value of the limitations property. * * @return * possible object is * {@link UsageParameters_RelStructure } * */ public UsageParameters_RelStructure getLimitations() { return limitations; } /** * Sets the value of the limitations property. * * @param value * allowed object is * {@link UsageParameters_RelStructure } * */ public void setLimitations(UsageParameters_RelStructure value) { this.limitations = value; } /** * Gets the value of the validityParameterAssignmentType property. * * @return * possible object is * {@link RelativeOperatorEnumeration } * */ public RelativeOperatorEnumeration getValidityParameterAssignmentType() { return validityParameterAssignmentType; } /** * Sets the value of the validityParameterAssignmentType property. * * @param value * allowed object is * {@link RelativeOperatorEnumeration } * */ public void setValidityParameterAssignmentType(RelativeOperatorEnumeration value) { this.validityParameterAssignmentType = value; } /** * Gets the value of the validityParameterGroupingType property. * * @return * possible object is * {@link BooleanOperatorEnumeration } * */ public BooleanOperatorEnumeration getValidityParameterGroupingType() { return validityParameterGroupingType; } /** * Sets the value of the validityParameterGroupingType property. * * @param value * allowed object is * {@link BooleanOperatorEnumeration } * */ public void setValidityParameterGroupingType(BooleanOperatorEnumeration value) { this.validityParameterGroupingType = value; } /** * Gets the value of the temporalValidityParameters property. * * @return * possible object is * {@link TemporalValidityParameters_RelStructure } * */ public TemporalValidityParameters_RelStructure getTemporalValidityParameters() { return temporalValidityParameters; } /** * Sets the value of the temporalValidityParameters property. * * @param value * allowed object is * {@link TemporalValidityParameters_RelStructure } * */ public void setTemporalValidityParameters(TemporalValidityParameters_RelStructure value) { this.temporalValidityParameters = value; } /** * Gets the value of the validityParameters property. * * @return * possible object is * {@link ValidityParameters_RelStructure } * */ public ValidityParameters_RelStructure getValidityParameters() { return validityParameters; } /** * Sets the value of the validityParameters property. * * @param value * allowed object is * {@link ValidityParameters_RelStructure } * */ public void setValidityParameters(ValidityParameters_RelStructure value) { this.validityParameters = value; } public AccessRightParameterAssignment_VersionStructure withIsAllowed(Boolean value) { setIsAllowed(value); return this; } public AccessRightParameterAssignment_VersionStructure withTypeOfAccessRightAssignmentRef(TypeOfAccessRightAssignmentRefStructure value) { setTypeOfAccessRightAssignmentRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withChargingBasis(ChargingBasisEnumeration value) { setChargingBasis(value); return this; } public AccessRightParameterAssignment_VersionStructure withValidableElementRef(ValidableElementRefStructure value) { setValidableElementRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withControllableElementRef(ControllableElementRefStructure value) { setControllableElementRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withFareProductRef(JAXBElement value) { setFareProductRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withFareStructureElementRef(FareStructureElementRefStructure value) { setFareStructureElementRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withFareElementInSequenceRef(JAXBElement value) { setFareElementInSequenceRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withDistanceMatrixElementRef(DistanceMatrixElementRefStructureElement value) { setDistanceMatrixElementRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withSalesPackageRef(SalesPackageRefStructure value) { setSalesPackageRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withGroupOfDistanceMatrixElementsRef(GroupOfDistanceMatrixElementsRefStructureElement value) { setGroupOfDistanceMatrixElementsRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withGroupOfSalesPackagesRef(GroupOfSalesPackagesRefStructure value) { setGroupOfSalesPackagesRef(value); return this; } public AccessRightParameterAssignment_VersionStructure withLimitationGroupingType(BooleanOperatorEnumeration value) { setLimitationGroupingType(value); return this; } public AccessRightParameterAssignment_VersionStructure withLimitations(UsageParameters_RelStructure value) { setLimitations(value); return this; } public AccessRightParameterAssignment_VersionStructure withValidityParameterAssignmentType(RelativeOperatorEnumeration value) { setValidityParameterAssignmentType(value); return this; } public AccessRightParameterAssignment_VersionStructure withValidityParameterGroupingType(BooleanOperatorEnumeration value) { setValidityParameterGroupingType(value); return this; } public AccessRightParameterAssignment_VersionStructure withTemporalValidityParameters(TemporalValidityParameters_RelStructure value) { setTemporalValidityParameters(value); return this; } public AccessRightParameterAssignment_VersionStructure withValidityParameters(ValidityParameters_RelStructure value) { setValidityParameters(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withOrder(BigInteger value) { setOrder(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public AccessRightParameterAssignment_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public AccessRightParameterAssignment_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public AccessRightParameterAssignment_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public AccessRightParameterAssignment_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