org.rutebanken.netex.model.FareFrame 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.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.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* 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}FareFrame_VersionFrameStructure">
* <sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}EntityInVersionGroup" minOccurs="0"/>
* </sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}DataManagedObjectGroup"/>
* </sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}VersionFrameGroup"/>
* </sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}FareFrameGroup"/>
* </sequence>
* </sequence>
* <attribute name="id" type="{http://www.netex.org.uk/netex}FareFrameIdType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class FareFrame
extends FareFrame_VersionFrameStructure
{
@Override
public FareFrame withMode(VehicleModeEnumeration value) {
setMode(value);
return this;
}
@Override
public FareFrame withTransportOrganisationRef(JAXBElement extends OrganisationRefStructure> value) {
setTransportOrganisationRef(value);
return this;
}
@Override
public FareFrame withPricingParameterSet(PricingParameterSet value) {
setPricingParameterSet(value);
return this;
}
@Override
public FareFrame withNotices(NoticesInFrame_RelStructure value) {
setNotices(value);
return this;
}
@Override
public FareFrame withNoticeAssignments(NoticeAssignmentsInFrame_RelStructure value) {
setNoticeAssignments(value);
return this;
}
@Override
public FareFrame withBorderPoints(BorderPointsInFrame_RelStructure value) {
setBorderPoints(value);
return this;
}
@Override
public FareFrame withFareScheduledStopPoints(FareScheduledStopPointsInFrame_RelStructure value) {
setFareScheduledStopPoints(value);
return this;
}
@Override
public FareFrame withFareZones(FareZonesInFrame_RelStructure value) {
setFareZones(value);
return this;
}
@Override
public FareFrame withFareSections(FareSectionsInFrame_RelStructure value) {
setFareSections(value);
return this;
}
@Override
public FareFrame withSeriesConstraints(FareSeriesInFrame_RelStructure value) {
setSeriesConstraints(value);
return this;
}
@Override
public FareFrame withGeographicalUnits(GeographicalUnits_RelStructure value) {
setGeographicalUnits(value);
return this;
}
@Override
public FareFrame withGeographicalIntervals(GeographicalIntervals_RelStructure value) {
setGeographicalIntervals(value);
return this;
}
@Override
public FareFrame withGeographicalStructureFactors(GeographicalStructureFactors_RelStructure value) {
setGeographicalStructureFactors(value);
return this;
}
@Override
public FareFrame withTimeUnits(TimeUnits_RelStructure value) {
setTimeUnits(value);
return this;
}
@Override
public FareFrame withTimeIntervals(TimeIntervals_RelStructure value) {
setTimeIntervals(value);
return this;
}
@Override
public FareFrame withTimeStructureFactors(TimeStructureFactors_RelStructure value) {
setTimeStructureFactors(value);
return this;
}
@Override
public FareFrame withQualityStructureFactors(QualityStructureFactors_RelStructure value) {
setQualityStructureFactors(value);
return this;
}
@Override
public FareFrame withDistanceMatrixElements(DistanceMatrixElements_RelStructure value) {
setDistanceMatrixElements(value);
return this;
}
@Override
public FareFrame withGroupsOfDistanceMatrixElements(GroupsOfDistanceMatrixElements_RelStructure value) {
setGroupsOfDistanceMatrixElements(value);
return this;
}
@Override
public FareFrame withFareStructureElements(FareStructureElementsInFrame_RelStructure value) {
setFareStructureElements(value);
return this;
}
@Override
public FareFrame withTariffs(TariffsInFrame_RelStructure value) {
setTariffs(value);
return this;
}
@Override
public FareFrame withValidableElements(ValidableElementsInFrame_RelStructure value) {
setValidableElements(value);
return this;
}
@Override
public FareFrame withControllableElements(ControllableElementsInFrame_RelStructure value) {
setControllableElements(value);
return this;
}
@Override
public FareFrame withUsageParameters(UsageParametersInFrame_RelStructure value) {
setUsageParameters(value);
return this;
}
@Override
public FareFrame withAccessRightParameterAssignments(AccessRightParameterAssignmentsInFrame_RelStructure value) {
setAccessRightParameterAssignments(value);
return this;
}
@Override
public FareFrame withFareProducts(FareProductsInFrame_RelStructure value) {
setFareProducts(value);
return this;
}
@Override
public FareFrame withPriceGroups(FarePricesInFrame_RelStructure value) {
setPriceGroups(value);
return this;
}
@Override
public FareFrame withFareTables(FareTablesInFrame_RelStructure value) {
setFareTables(value);
return this;
}
@Override
public FareFrame withDistributionChannels(DistributionChannelsInFrame_RelStructure value) {
setDistributionChannels(value);
return this;
}
@Override
public FareFrame withGroupsOfDistributionChannels(GroupsOfDistributionChannelsInFrame_RelStructure value) {
setGroupsOfDistributionChannels(value);
return this;
}
@Override
public FareFrame withFulfilmentMethods(FulfilmentMethodsInFrame_RelStructure value) {
setFulfilmentMethods(value);
return this;
}
@Override
public FareFrame withTravelDocuments(TravelDocumentsInFrame_RelStructure value) {
setTravelDocuments(value);
return this;
}
@Override
public FareFrame withSalesPackages(SalesPackagesInFrame_RelStructure value) {
setSalesPackages(value);
return this;
}
@Override
public FareFrame withSalesPackageElements(SalesPackageElementsInFrame_RelStructure value) {
setSalesPackageElements(value);
return this;
}
@Override
public FareFrame withSalesPackageSubstitutions(SalesPackagesubstitutionsInFrame_RelStructure value) {
setSalesPackageSubstitutions(value);
return this;
}
@Override
public FareFrame withGroupsOfSalesPackages(GroupsOfSalesPackagesInFrame_RelStructure value) {
setGroupsOfSalesPackages(value);
return this;
}
@Override
public FareFrame withDistributionAssignments(DistributionAssignmentsInFrame_RelStructure value) {
setDistributionAssignments(value);
return this;
}
@Override
public FareFrame withParkingTariffs(FareFrame_VersionFrameStructure.ParkingTariffs value) {
setParkingTariffs(value);
return this;
}
@Override
public FareFrame withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public FareFrame withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public FareFrame withTypeOfFrameRef(TypeOfFrameRefStructure value) {
setTypeOfFrameRef(value);
return this;
}
@Override
public FareFrame withBaselineVersionFrameRef(VersionRefStructure value) {
setBaselineVersionFrameRef(value);
return this;
}
@Override
public FareFrame withCodespaces(Codespaces_RelStructure value) {
setCodespaces(value);
return this;
}
@Override
public FareFrame withFrameDefaults(VersionFrameDefaultsStructure value) {
setFrameDefaults(value);
return this;
}
@Override
public FareFrame withVersions(Versions_RelStructure value) {
setVersions(value);
return this;
}
@Override
public FareFrame withTraces(Traces_RelStructure value) {
setTraces(value);
return this;
}
@Override
public FareFrame withContentValidityConditions(ValidityConditions_RelStructure value) {
setContentValidityConditions(value);
return this;
}
@Override
public FareFrame withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public FareFrame withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public FareFrame withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public FareFrame withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public FareFrame withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public FareFrame withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public FareFrame withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public FareFrame withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public FareFrame withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public FareFrame withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public FareFrame withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public FareFrame withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public FareFrame withVersion(String value) {
setVersion(value);
return this;
}
@Override
public FareFrame withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public FareFrame withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public FareFrame withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public FareFrame withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public FareFrame withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public FareFrame 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