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

org.rutebanken.netex.model.ParkingProperties_VersionedChildStructure 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.Duration;
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 javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.migesok.jaxb.adapter.javatime.DurationXmlAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for ParkingProperties_VersionedChildStructure complex type. * *

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

 * <complexType name="ParkingProperties_VersionedChildStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}VersionedChildStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}ParkingPropertiesGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ParkingProperties_VersionedChildStructure", propOrder = { "parkingUserTypes", "parkingVehicleTypes", "parkingStayList", "maximumStay", "spaces", "charges" }) @XmlSeeAlso({ ParkingProperties.class }) public class ParkingProperties_VersionedChildStructure extends VersionedChildStructure { @XmlList @XmlElement(name = "ParkingUserTypes") protected List parkingUserTypes; @XmlList @XmlElement(name = "ParkingVehicleTypes") protected List parkingVehicleTypes; @XmlList @XmlElement(name = "ParkingStayList") protected List parkingStayList; @XmlElement(name = "MaximumStay", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration maximumStay; protected ParkingCapacities_RelStructure spaces; protected ParkingTariffRefs_RelStructure charges; /** * Gets the value of the parkingUserTypes 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 parkingUserTypes property. * *

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

     *    getParkingUserTypes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ParkingUserEnumeration } * * */ public List getParkingUserTypes() { if (parkingUserTypes == null) { parkingUserTypes = new ArrayList(); } return this.parkingUserTypes; } /** * 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 parkingStayList 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 parkingStayList property. * *

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

     *    getParkingStayList().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ParkingStayEnumeration } * * */ public List getParkingStayList() { if (parkingStayList == null) { parkingStayList = new ArrayList(); } return this.parkingStayList; } /** * Gets the value of the maximumStay property. * * @return * possible object is * {@link String } * */ public Duration getMaximumStay() { return maximumStay; } /** * Sets the value of the maximumStay property. * * @param value * allowed object is * {@link String } * */ public void setMaximumStay(Duration value) { this.maximumStay = value; } /** * Gets the value of the spaces property. * * @return * possible object is * {@link ParkingCapacities_RelStructure } * */ public ParkingCapacities_RelStructure getSpaces() { return spaces; } /** * Sets the value of the spaces property. * * @param value * allowed object is * {@link ParkingCapacities_RelStructure } * */ public void setSpaces(ParkingCapacities_RelStructure value) { this.spaces = value; } /** * Gets the value of the charges property. * * @return * possible object is * {@link ParkingTariffRefs_RelStructure } * */ public ParkingTariffRefs_RelStructure getCharges() { return charges; } /** * Sets the value of the charges property. * * @param value * allowed object is * {@link ParkingTariffRefs_RelStructure } * */ public void setCharges(ParkingTariffRefs_RelStructure value) { this.charges = value; } public ParkingProperties_VersionedChildStructure withParkingUserTypes(ParkingUserEnumeration... values) { if (values!= null) { for (ParkingUserEnumeration value: values) { getParkingUserTypes().add(value); } } return this; } public ParkingProperties_VersionedChildStructure withParkingUserTypes(Collection values) { if (values!= null) { getParkingUserTypes().addAll(values); } return this; } public ParkingProperties_VersionedChildStructure withParkingVehicleTypes(ParkingVehicleEnumeration... values) { if (values!= null) { for (ParkingVehicleEnumeration value: values) { getParkingVehicleTypes().add(value); } } return this; } public ParkingProperties_VersionedChildStructure withParkingVehicleTypes(Collection values) { if (values!= null) { getParkingVehicleTypes().addAll(values); } return this; } public ParkingProperties_VersionedChildStructure withParkingStayList(ParkingStayEnumeration... values) { if (values!= null) { for (ParkingStayEnumeration value: values) { getParkingStayList().add(value); } } return this; } public ParkingProperties_VersionedChildStructure withParkingStayList(Collection values) { if (values!= null) { getParkingStayList().addAll(values); } return this; } public ParkingProperties_VersionedChildStructure withMaximumStay(Duration value) { setMaximumStay(value); return this; } public ParkingProperties_VersionedChildStructure withSpaces(ParkingCapacities_RelStructure value) { setSpaces(value); return this; } public ParkingProperties_VersionedChildStructure withCharges(ParkingTariffRefs_RelStructure value) { setCharges(value); return this; } @Override public ParkingProperties_VersionedChildStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public ParkingProperties_VersionedChildStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public ParkingProperties_VersionedChildStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public ParkingProperties_VersionedChildStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public ParkingProperties_VersionedChildStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public ParkingProperties_VersionedChildStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public ParkingProperties_VersionedChildStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public ParkingProperties_VersionedChildStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public ParkingProperties_VersionedChildStructure withVersion(String value) { setVersion(value); return this; } @Override public ParkingProperties_VersionedChildStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public ParkingProperties_VersionedChildStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public ParkingProperties_VersionedChildStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public ParkingProperties_VersionedChildStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public ParkingProperties_VersionedChildStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public ParkingProperties_VersionedChildStructure 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