org.rutebanken.netex.model.StandardFareTable_VersionStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netex-java-model Show documentation
Show all versions of netex-java-model Show documentation
Generates Java model from NeTEx XSDs using JAXB.
//
// 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.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 javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.util.OffsetDateXmlAdapter;
/**
* Java class for StandardFareTable_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StandardFareTable_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}GroupOfEntities_VersionStructure">
* <group ref="{http://www.netex.org.uk/netex}StandardFareTableGroup"/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StandardFareTable_VersionStructure", propOrder = {
"startDate",
"endDate",
"roundingRef",
"pricesFor",
"usedIn",
"organisationRef",
"firstClassSingle",
"secondClassSingle",
"firstClassReturn",
"secondClassReturn"
})
@XmlSeeAlso({
StandardFareTable.class
})
public class StandardFareTable_VersionStructure
extends GroupOfEntities_VersionStructure
{
@XmlElement(name = "StartDate", type = String.class)
@XmlJavaTypeAdapter(OffsetDateXmlAdapter.class)
@XmlSchemaType(name = "date")
protected OffsetDateTime startDate;
@XmlElement(name = "EndDate", type = String.class)
@XmlJavaTypeAdapter(OffsetDateXmlAdapter.class)
@XmlSchemaType(name = "date")
protected OffsetDateTime endDate;
@XmlElement(name = "RoundingRef")
protected RoundingRefStructure roundingRef;
protected PriceableObjectRefs_RelStructure pricesFor;
protected UsedInRefs_RelStructure usedIn;
@XmlElementRef(name = "OrganisationRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends OrganisationRefStructure> organisationRef;
@XmlElement(name = "FirstClassSingle")
protected BigDecimal firstClassSingle;
@XmlElement(name = "SecondClassSingle", required = true)
protected BigDecimal secondClassSingle;
@XmlElement(name = "FirstClassReturn")
protected BigDecimal firstClassReturn;
@XmlElement(name = "SecondClassReturn")
protected BigDecimal secondClassReturn;
/**
* Gets the value of the startDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getStartDate() {
return startDate;
}
/**
* Sets the value of the startDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStartDate(OffsetDateTime value) {
this.startDate = value;
}
/**
* Gets the value of the endDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getEndDate() {
return endDate;
}
/**
* Sets the value of the endDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEndDate(OffsetDateTime value) {
this.endDate = value;
}
/**
* Gets the value of the roundingRef property.
*
* @return
* possible object is
* {@link RoundingRefStructure }
*
*/
public RoundingRefStructure getRoundingRef() {
return roundingRef;
}
/**
* Sets the value of the roundingRef property.
*
* @param value
* allowed object is
* {@link RoundingRefStructure }
*
*/
public void setRoundingRef(RoundingRefStructure value) {
this.roundingRef = value;
}
/**
* Gets the value of the pricesFor property.
*
* @return
* possible object is
* {@link PriceableObjectRefs_RelStructure }
*
*/
public PriceableObjectRefs_RelStructure getPricesFor() {
return pricesFor;
}
/**
* Sets the value of the pricesFor property.
*
* @param value
* allowed object is
* {@link PriceableObjectRefs_RelStructure }
*
*/
public void setPricesFor(PriceableObjectRefs_RelStructure value) {
this.pricesFor = value;
}
/**
* Gets the value of the usedIn property.
*
* @return
* possible object is
* {@link UsedInRefs_RelStructure }
*
*/
public UsedInRefs_RelStructure getUsedIn() {
return usedIn;
}
/**
* Sets the value of the usedIn property.
*
* @param value
* allowed object is
* {@link UsedInRefs_RelStructure }
*
*/
public void setUsedIn(UsedInRefs_RelStructure value) {
this.usedIn = value;
}
/**
* Gets the value of the organisationRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link RetailConsortiumRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AuthorityRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link GeneralOrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ManagementAgentRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OtherOrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link TravelAgentRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ServicedOrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OperatorRefStructure }{@code >}
*
*/
public JAXBElement extends OrganisationRefStructure> getOrganisationRef() {
return organisationRef;
}
/**
* Sets the value of the organisationRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link RetailConsortiumRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AuthorityRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link GeneralOrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ManagementAgentRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OtherOrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link TravelAgentRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ServicedOrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OperatorRefStructure }{@code >}
*
*/
public void setOrganisationRef(JAXBElement extends OrganisationRefStructure> value) {
this.organisationRef = value;
}
/**
* Gets the value of the firstClassSingle property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getFirstClassSingle() {
return firstClassSingle;
}
/**
* Sets the value of the firstClassSingle property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setFirstClassSingle(BigDecimal value) {
this.firstClassSingle = value;
}
/**
* Gets the value of the secondClassSingle property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSecondClassSingle() {
return secondClassSingle;
}
/**
* Sets the value of the secondClassSingle property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSecondClassSingle(BigDecimal value) {
this.secondClassSingle = value;
}
/**
* Gets the value of the firstClassReturn property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getFirstClassReturn() {
return firstClassReturn;
}
/**
* Sets the value of the firstClassReturn property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setFirstClassReturn(BigDecimal value) {
this.firstClassReturn = value;
}
/**
* Gets the value of the secondClassReturn property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSecondClassReturn() {
return secondClassReturn;
}
/**
* Sets the value of the secondClassReturn property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSecondClassReturn(BigDecimal value) {
this.secondClassReturn = value;
}
public StandardFareTable_VersionStructure withStartDate(OffsetDateTime value) {
setStartDate(value);
return this;
}
public StandardFareTable_VersionStructure withEndDate(OffsetDateTime value) {
setEndDate(value);
return this;
}
public StandardFareTable_VersionStructure withRoundingRef(RoundingRefStructure value) {
setRoundingRef(value);
return this;
}
public StandardFareTable_VersionStructure withPricesFor(PriceableObjectRefs_RelStructure value) {
setPricesFor(value);
return this;
}
public StandardFareTable_VersionStructure withUsedIn(UsedInRefs_RelStructure value) {
setUsedIn(value);
return this;
}
public StandardFareTable_VersionStructure withOrganisationRef(JAXBElement extends OrganisationRefStructure> value) {
setOrganisationRef(value);
return this;
}
public StandardFareTable_VersionStructure withFirstClassSingle(BigDecimal value) {
setFirstClassSingle(value);
return this;
}
public StandardFareTable_VersionStructure withSecondClassSingle(BigDecimal value) {
setSecondClassSingle(value);
return this;
}
public StandardFareTable_VersionStructure withFirstClassReturn(BigDecimal value) {
setFirstClassReturn(value);
return this;
}
public StandardFareTable_VersionStructure withSecondClassReturn(BigDecimal value) {
setSecondClassReturn(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withShortName(MultilingualString value) {
setShortName(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withPurposeOfGroupingRef(PurposeOfGroupingRefStructure value) {
setPurposeOfGroupingRef(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public StandardFareTable_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public StandardFareTable_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public StandardFareTable_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public StandardFareTable_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