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

org.rutebanken.netex.model.GeographicalInterval_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.BigDecimal;
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.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 GeographicalInterval_VersionStructure complex type. * *

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

 * <complexType name="GeographicalInterval_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}FareInterval_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}GeographicalIntervalGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GeographicalInterval_VersionStructure", propOrder = { "startGeographicalValue", "endGeographicalValue", "numberOfUnits", "intervalType", "geographicalUnitRef", "prices" }) @XmlSeeAlso({ GeographicalInterval.class }) public class GeographicalInterval_VersionStructure extends FareInterval_VersionStructure { @XmlElement(name = "StartGeographicalValue") protected BigDecimal startGeographicalValue; @XmlElement(name = "EndGeographicalValue") protected BigDecimal endGeographicalValue; @XmlElement(name = "NumberOfUnits") protected BigInteger numberOfUnits; @XmlElement(name = "IntervalType") @XmlSchemaType(name = "normalizedString") protected IntervalTypeEnumeration intervalType; @XmlElement(name = "GeographicalUnitRef") protected GeographicalUnitRefStructure geographicalUnitRef; protected GeographicalIntervalPrices_RelStructure prices; /** * Gets the value of the startGeographicalValue property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getStartGeographicalValue() { return startGeographicalValue; } /** * Sets the value of the startGeographicalValue property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setStartGeographicalValue(BigDecimal value) { this.startGeographicalValue = value; } /** * Gets the value of the endGeographicalValue property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getEndGeographicalValue() { return endGeographicalValue; } /** * Sets the value of the endGeographicalValue property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setEndGeographicalValue(BigDecimal value) { this.endGeographicalValue = value; } /** * Gets the value of the numberOfUnits property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNumberOfUnits() { return numberOfUnits; } /** * Sets the value of the numberOfUnits property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNumberOfUnits(BigInteger value) { this.numberOfUnits = value; } /** * Gets the value of the intervalType property. * * @return * possible object is * {@link IntervalTypeEnumeration } * */ public IntervalTypeEnumeration getIntervalType() { return intervalType; } /** * Sets the value of the intervalType property. * * @param value * allowed object is * {@link IntervalTypeEnumeration } * */ public void setIntervalType(IntervalTypeEnumeration value) { this.intervalType = value; } /** * Gets the value of the geographicalUnitRef property. * * @return * possible object is * {@link GeographicalUnitRefStructure } * */ public GeographicalUnitRefStructure getGeographicalUnitRef() { return geographicalUnitRef; } /** * Sets the value of the geographicalUnitRef property. * * @param value * allowed object is * {@link GeographicalUnitRefStructure } * */ public void setGeographicalUnitRef(GeographicalUnitRefStructure value) { this.geographicalUnitRef = value; } /** * Gets the value of the prices property. * * @return * possible object is * {@link GeographicalIntervalPrices_RelStructure } * */ public GeographicalIntervalPrices_RelStructure getPrices() { return prices; } /** * Sets the value of the prices property. * * @param value * allowed object is * {@link GeographicalIntervalPrices_RelStructure } * */ public void setPrices(GeographicalIntervalPrices_RelStructure value) { this.prices = value; } public GeographicalInterval_VersionStructure withStartGeographicalValue(BigDecimal value) { setStartGeographicalValue(value); return this; } public GeographicalInterval_VersionStructure withEndGeographicalValue(BigDecimal value) { setEndGeographicalValue(value); return this; } public GeographicalInterval_VersionStructure withNumberOfUnits(BigInteger value) { setNumberOfUnits(value); return this; } public GeographicalInterval_VersionStructure withIntervalType(IntervalTypeEnumeration value) { setIntervalType(value); return this; } public GeographicalInterval_VersionStructure withGeographicalUnitRef(GeographicalUnitRefStructure value) { setGeographicalUnitRef(value); return this; } public GeographicalInterval_VersionStructure withPrices(GeographicalIntervalPrices_RelStructure value) { setPrices(value); return this; } @Override public GeographicalInterval_VersionStructure withNameOfClassOfUnit(String value) { setNameOfClassOfUnit(value); return this; } @Override public GeographicalInterval_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public GeographicalInterval_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public GeographicalInterval_VersionStructure withAlternativeNames(AlternativeNames_RelStructure value) { setAlternativeNames(value); return this; } @Override public GeographicalInterval_VersionStructure withNoticeAssignments(NoticeAssignments_RelStructure value) { setNoticeAssignments(value); return this; } @Override public GeographicalInterval_VersionStructure withPricingServiceRef(PricingServiceRefStructure value) { setPricingServiceRef(value); return this; } @Override public GeographicalInterval_VersionStructure withPricingRuleRef(JAXBElement value) { setPricingRuleRef(value); return this; } @Override public GeographicalInterval_VersionStructure withPriceGroups(PriceGroups_RelStructure value) { setPriceGroups(value); return this; } @Override public GeographicalInterval_VersionStructure withFareTables(FareTables_RelStructure value) { setFareTables(value); return this; } @Override public GeographicalInterval_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public GeographicalInterval_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public GeographicalInterval_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public GeographicalInterval_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public GeographicalInterval_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public GeographicalInterval_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public GeographicalInterval_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public GeographicalInterval_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public GeographicalInterval_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public GeographicalInterval_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public GeographicalInterval_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public GeographicalInterval_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public GeographicalInterval_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public GeographicalInterval_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public GeographicalInterval_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public GeographicalInterval_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public GeographicalInterval_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public GeographicalInterval_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public GeographicalInterval_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