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

org.rutebanken.netex.model.Cells_RelStructure 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.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for cells_RelStructure complex type. * *

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

 * <complexType name="cells_RelStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}strictContainmentAggregationStructure">
 *       <choice maxOccurs="unbounded">
 *         <element ref="{http://www.netex.org.uk/netex}Cell" maxOccurs="unbounded"/>
 *         <element name="CellInContext" maxOccurs="unbounded">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.netex.org.uk/netex}Cell_VersionedChildStructure">
 *                 <sequence>
 *                   <sequence>
 *                     <group ref="{http://www.netex.org.uk/netex}VersionedChildGroup"/>
 *                   </sequence>
 *                   <sequence>
 *                     <group ref="{http://www.netex.org.uk/netex}CellGroup"/>
 *                   </sequence>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element ref="{http://www.netex.org.uk/netex}FarePrice_"/>
 *         <element ref="{http://www.netex.org.uk/netex}CellRef"/>
 *       </choice>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "cells_RelStructure", propOrder = { "cellOrCellInContextOrFarePrice_" }) public class Cells_RelStructure extends StrictContainmentAggregationStructure { @XmlElementRefs({ @XmlElementRef(name = "Cell", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false), @XmlElementRef(name = "FarePrice_", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false), @XmlElementRef(name = "CellInContext", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false), @XmlElementRef(name = "CellRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) }) protected List> cellOrCellInContextOrFarePrice_; /** * Gets the value of the cellOrCellInContextOrFarePrice 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 cellOrCellInContextOrFarePrice property. * *

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

     *    getCellOrCellInContextOrFarePrice_().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link Cell }{@code >} * {@link JAXBElement }{@code <}{@link GeographicalUnitPrice }{@code >} * {@link JAXBElement }{@code <}{@link QualityStructureFactorPrice }{@code >} * {@link JAXBElement }{@code <}{@link ValidableElementPrice }{@code >} * {@link JAXBElement }{@code <}{@link ControllableElementPrice }{@code >} * {@link JAXBElement }{@code <}{@link Cells_RelStructure.CellInContext }{@code >} * {@link JAXBElement }{@code <}{@link DistanceMatrixElementPrice }{@code >} * {@link JAXBElement }{@code <}{@link UsageParameterPrice }{@code >} * {@link JAXBElement }{@code <}{@link CellRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link CappingRulePrice }{@code >} * {@link JAXBElement }{@code <}{@link SeriesConstraintPrice }{@code >} * {@link JAXBElement }{@code <}{@link TimeUnitPrice }{@code >} * {@link JAXBElement }{@code <}{@link ParkingPrice }{@code >} * {@link JAXBElement }{@code <}{@link FarePrice }{@code >} * {@link JAXBElement }{@code <}{@link TimeIntervalPrice }{@code >} * {@link JAXBElement }{@code <}{@link FulfilmentMethodPrice }{@code >} * {@link JAXBElement }{@code <}{@link FareProductPrice }{@code >} * {@link JAXBElement }{@code <}{@link FareStructureElementPrice }{@code >} * {@link JAXBElement }{@code <}{@link GeographicalIntervalPrice }{@code >} * {@link JAXBElement }{@code <}{@link VersionedChildStructure }{@code >} * {@link JAXBElement }{@code <}{@link SalesPackagePrice }{@code >} * {@link JAXBElement }{@code <}{@link CustomerPurchasePackagePrice }{@code >} * * */ public List> getCellOrCellInContextOrFarePrice_() { if (cellOrCellInContextOrFarePrice_ == null) { cellOrCellInContextOrFarePrice_ = new ArrayList>(); } return this.cellOrCellInContextOrFarePrice_; } public Cells_RelStructure withCellOrCellInContextOrFarePrice_(JAXBElement ... values) { if (values!= null) { for (JAXBElement value: values) { getCellOrCellInContextOrFarePrice_().add(value); } } return this; } public Cells_RelStructure withCellOrCellInContextOrFarePrice_(Collection> values) { if (values!= null) { getCellOrCellInContextOrFarePrice_().addAll(values); } return this; } @Override public Cells_RelStructure 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); } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.netex.org.uk/netex}Cell_VersionedChildStructure">
     *       <sequence>
     *         <sequence>
     *           <group ref="{http://www.netex.org.uk/netex}VersionedChildGroup"/>
     *         </sequence>
     *         <sequence>
     *           <group ref="{http://www.netex.org.uk/netex}CellGroup"/>
     *         </sequence>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class CellInContext extends Cell_VersionedChildStructure { @Override public Cells_RelStructure.CellInContext withName(MultilingualString value) { setName(value); return this; } @Override public Cells_RelStructure.CellInContext withDescription(MultilingualString value) { setDescription(value); return this; } @Override public Cells_RelStructure.CellInContext withCellPrice(FarePrice_VersionedChildStructure value) { setCellPrice(value); return this; } @Override public Cells_RelStructure.CellInContext withFarePriceRef(JAXBElement value) { setFarePriceRef(value); return this; } @Override public Cells_RelStructure.CellInContext withPriceGroupRef(PriceGroupRefStructure value) { setPriceGroupRef(value); return this; } @Override public Cells_RelStructure.CellInContext withPriceableObjectRef(JAXBElement ... values) { if (values!= null) { for (JAXBElement value: values) { getPriceableObjectRef().add(value); } } return this; } @Override public Cells_RelStructure.CellInContext withPriceableObjectRef(Collection> values) { if (values!= null) { getPriceableObjectRef().addAll(values); } return this; } @Override public Cells_RelStructure.CellInContext withGroupOfDistanceMatrixElementsRef(GroupOfDistanceMatrixElementsRefStructureElement value) { setGroupOfDistanceMatrixElementsRef(value); return this; } @Override public Cells_RelStructure.CellInContext withDirectionType(RelativeDirectionEnumeration value) { setDirectionType(value); return this; } @Override public Cells_RelStructure.CellInContext withRoutingType(RoutingTypeEnumeration value) { setRoutingType(value); return this; } @Override public Cells_RelStructure.CellInContext withGroupOfLinesRef(JAXBElement value) { setGroupOfLinesRef(value); return this; } @Override public Cells_RelStructure.CellInContext withLineRef(JAXBElement value) { setLineRef(value); return this; } @Override public Cells_RelStructure.CellInContext withSiteRef(JAXBElement value) { setSiteRef(value); return this; } @Override public Cells_RelStructure.CellInContext withFareClass(FareClassEnumeration value) { setFareClass(value); return this; } @Override public Cells_RelStructure.CellInContext withClassOfUseRef(ClassOfUseRef value) { setClassOfUseRef(value); return this; } @Override public Cells_RelStructure.CellInContext withFacilitySetRef(JAXBElement value) { setFacilitySetRef(value); return this; } @Override public Cells_RelStructure.CellInContext withTypeOfProductCategoryRef(TypeOfProductCategoryRefStructure value) { setTypeOfProductCategoryRef(value); return this; } @Override public Cells_RelStructure.CellInContext withTypeOfServiceRef(TypeOfServiceRefStructure value) { setTypeOfServiceRef(value); return this; } @Override public Cells_RelStructure.CellInContext withServiceJourneyRef(JAXBElement value) { setServiceJourneyRef(value); return this; } @Override public Cells_RelStructure.CellInContext withTrainNumberRef(TrainNumberRefStructure value) { setTrainNumberRef(value); return this; } @Override public Cells_RelStructure.CellInContext withGroupOfServicesRef(GroupOfServicesRefStructure value) { setGroupOfServicesRef(value); return this; } @Override public Cells_RelStructure.CellInContext withTypeOfFareProductRef(TypeOfFareProductRefStructure value) { setTypeOfFareProductRef(value); return this; } @Override public Cells_RelStructure.CellInContext withDistributionChannelRef(DistributionChannelRefStructureElement value) { setDistributionChannelRef(value); return this; } @Override public Cells_RelStructure.CellInContext withGroupOfDistributionChannelsRef(GroupOfDistributionChannelsRefStructure value) { setGroupOfDistributionChannelsRef(value); return this; } @Override public Cells_RelStructure.CellInContext withFareTableRef(JAXBElement value) { setFareTableRef(value); return this; } @Override public Cells_RelStructure.CellInContext withColumnRef(FareTableColumnRefStructure value) { setColumnRef(value); return this; } @Override public Cells_RelStructure.CellInContext withRowRef(FareTableRowRefStructure value) { setRowRef(value); return this; } @Override public Cells_RelStructure.CellInContext withOrder(BigInteger value) { setOrder(value); return this; } @Override public Cells_RelStructure.CellInContext withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public Cells_RelStructure.CellInContext withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public Cells_RelStructure.CellInContext withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public Cells_RelStructure.CellInContext withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public Cells_RelStructure.CellInContext withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public Cells_RelStructure.CellInContext withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public Cells_RelStructure.CellInContext withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public Cells_RelStructure.CellInContext withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public Cells_RelStructure.CellInContext withVersion(String value) { setVersion(value); return this; } @Override public Cells_RelStructure.CellInContext withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public Cells_RelStructure.CellInContext withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public Cells_RelStructure.CellInContext withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public Cells_RelStructure.CellInContext withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public Cells_RelStructure.CellInContext withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public Cells_RelStructure.CellInContext 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