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

org.rutebanken.netex.model.ParkingTariff_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.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlList;
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 ParkingTariff_VersionStructure complex type. * *

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

 * <complexType name="ParkingTariff_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}DataManagedObjectStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}ParkingTariffGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ParkingTariff_VersionStructure", propOrder = { "name", "description", "parkingUserType", "parkingStayType", "parkingVehicleTypes", "additionalTax", "parkingChargeBands" }) @XmlSeeAlso({ ParkingTariff.class }) public class ParkingTariff_VersionStructure extends DataManagedObjectStructure { @XmlElement(name = "Name") protected MultilingualString name; @XmlElement(name = "Description") protected MultilingualString description; @XmlElement(name = "ParkingUserType") @XmlSchemaType(name = "string") protected ParkingUserEnumeration parkingUserType; @XmlElement(name = "ParkingStayType") @XmlSchemaType(name = "string") protected ParkingStayEnumeration parkingStayType; @XmlList @XmlElement(name = "ParkingVehicleTypes") protected List parkingVehicleTypes; @XmlElement(name = "AdditionalTax", defaultValue = "false") protected Boolean additionalTax; protected ParkingChargeBands_RelStructure parkingChargeBands; /** * 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 description property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setDescription(MultilingualString value) { this.description = value; } /** * Gets the value of the parkingUserType property. * * @return * possible object is * {@link ParkingUserEnumeration } * */ public ParkingUserEnumeration getParkingUserType() { return parkingUserType; } /** * Sets the value of the parkingUserType property. * * @param value * allowed object is * {@link ParkingUserEnumeration } * */ public void setParkingUserType(ParkingUserEnumeration value) { this.parkingUserType = value; } /** * Gets the value of the parkingStayType property. * * @return * possible object is * {@link ParkingStayEnumeration } * */ public ParkingStayEnumeration getParkingStayType() { return parkingStayType; } /** * Sets the value of the parkingStayType property. * * @param value * allowed object is * {@link ParkingStayEnumeration } * */ public void setParkingStayType(ParkingStayEnumeration value) { this.parkingStayType = value; } /** * Gets the value of the parkingVehicleTypes 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 parkingVehicleTypes property. * *

* For example, to add a new item, do as follows: *

     *    getParkingVehicleTypes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ParkingVehicleEnumeration } * * */ public List getParkingVehicleTypes() { if (parkingVehicleTypes == null) { parkingVehicleTypes = new ArrayList(); } return this.parkingVehicleTypes; } /** * Gets the value of the additionalTax property. * * @return * possible object is * {@link Boolean } * */ public Boolean isAdditionalTax() { return additionalTax; } /** * Sets the value of the additionalTax property. * * @param value * allowed object is * {@link Boolean } * */ public void setAdditionalTax(Boolean value) { this.additionalTax = value; } /** * Gets the value of the parkingChargeBands property. * * @return * possible object is * {@link ParkingChargeBands_RelStructure } * */ public ParkingChargeBands_RelStructure getParkingChargeBands() { return parkingChargeBands; } /** * Sets the value of the parkingChargeBands property. * * @param value * allowed object is * {@link ParkingChargeBands_RelStructure } * */ public void setParkingChargeBands(ParkingChargeBands_RelStructure value) { this.parkingChargeBands = value; } public ParkingTariff_VersionStructure withName(MultilingualString value) { setName(value); return this; } public ParkingTariff_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } public ParkingTariff_VersionStructure withParkingUserType(ParkingUserEnumeration value) { setParkingUserType(value); return this; } public ParkingTariff_VersionStructure withParkingStayType(ParkingStayEnumeration value) { setParkingStayType(value); return this; } public ParkingTariff_VersionStructure withParkingVehicleTypes(ParkingVehicleEnumeration... values) { if (values!= null) { for (ParkingVehicleEnumeration value: values) { getParkingVehicleTypes().add(value); } } return this; } public ParkingTariff_VersionStructure withParkingVehicleTypes(Collection values) { if (values!= null) { getParkingVehicleTypes().addAll(values); } return this; } public ParkingTariff_VersionStructure withAdditionalTax(Boolean value) { setAdditionalTax(value); return this; } public ParkingTariff_VersionStructure withParkingChargeBands(ParkingChargeBands_RelStructure value) { setParkingChargeBands(value); return this; } @Override public ParkingTariff_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public ParkingTariff_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public ParkingTariff_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public ParkingTariff_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public ParkingTariff_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public ParkingTariff_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public ParkingTariff_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public ParkingTariff_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public ParkingTariff_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public ParkingTariff_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public ParkingTariff_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public ParkingTariff_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public ParkingTariff_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public ParkingTariff_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public ParkingTariff_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public ParkingTariff_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public ParkingTariff_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public ParkingTariff_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public ParkingTariff_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