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

org.rutebanken.netex.model.DistributionAssignment 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.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}DistributionAssignment_VersionStructure">
 *       <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}AssignmentGroup"/>
 *         </sequence>
 *         <sequence>
 *           <group ref="{http://www.netex.org.uk/netex}DistributionAssignmentGroup"/>
 *         </sequence>
 *       </sequence>
 *       <attribute name="id" type="{http://www.netex.org.uk/netex}DistributionAssignmentIdType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public class DistributionAssignment extends DistributionAssignment_VersionStructure { @Override public DistributionAssignment withServiceAccessRightRef(JAXBElement value) { setServiceAccessRightRef(value); return this; } @Override public DistributionAssignment withSalesPackageRef(SalesPackageRefStructure value) { setSalesPackageRef(value); return this; } @Override public DistributionAssignment withGroupOfSalesPackagesRef(GroupOfSalesPackagesRefStructure value) { setGroupOfSalesPackagesRef(value); return this; } @Override public DistributionAssignment withDistributionRights(DistributionRightsEnumeration... values) { if (values!= null) { for (DistributionRightsEnumeration value: values) { getDistributionRights().add(value); } } return this; } @Override public DistributionAssignment withDistributionRights(Collection values) { if (values!= null) { getDistributionRights().addAll(values); } return this; } @Override public DistributionAssignment withAllCountriesRef(AllCountriesRef value) { setAllCountriesRef(value); return this; } @Override public DistributionAssignment withCountryRef(CountryRef value) { setCountryRef(value); return this; } @Override public DistributionAssignment withAllowedInCountry(Boolean value) { setAllowedInCountry(value); return this; } @Override public DistributionAssignment withTopographicPlaceRef(TopographicPlaceRefStructure value) { setTopographicPlaceRef(value); return this; } @Override public DistributionAssignment withAllDistributionChannelsRef(AllDistributionChannelsRefStructureElement value) { setAllDistributionChannelsRef(value); return this; } @Override public DistributionAssignment withGroupOfDistributionChannelsRef(GroupOfDistributionChannelsRefStructure value) { setGroupOfDistributionChannelsRef(value); return this; } @Override public DistributionAssignment withDistributionChannelRef(DistributionChannelRefStructureElement value) { setDistributionChannelRef(value); return this; } @Override public DistributionAssignment withDistributionChannelType(DistributionChannelTypeEnumeration value) { setDistributionChannelType(value); return this; } @Override public DistributionAssignment withAllowedInChannel(Boolean value) { setAllowedInChannel(value); return this; } @Override public DistributionAssignment withRestrictedToChannel(Boolean value) { setRestrictedToChannel(value); return this; } @Override public DistributionAssignment withMandatoryProduct(Boolean value) { setMandatoryProduct(value); return this; } @Override public DistributionAssignment withInitialCarrier(Boolean value) { setInitialCarrier(value); return this; } @Override public DistributionAssignment withTransitCarrier(Boolean value) { setTransitCarrier(value); return this; } @Override public DistributionAssignment withFinalCarrier(Boolean value) { setFinalCarrier(value); return this; } @Override public DistributionAssignment withAllOrganisationsRef(JAXBElement value) { setAllOrganisationsRef(value); return this; } @Override public DistributionAssignment withOrganisationRef(JAXBElement value) { setOrganisationRef(value); return this; } @Override public DistributionAssignment withResponsibilitySetRefDistributionByGroup(ResponsibilitySetRefStructure value) { setResponsibilitySetRefDistributionByGroup(value); return this; } @Override public DistributionAssignment withTicketingServiceFacilityList(TicketingServiceFacilityEnumeration... values) { if (values!= null) { for (TicketingServiceFacilityEnumeration value: values) { getTicketingServiceFacilityList().add(value); } } return this; } @Override public DistributionAssignment withTicketingServiceFacilityList(Collection values) { if (values!= null) { getTicketingServiceFacilityList().addAll(values); } return this; } @Override public DistributionAssignment withPaymentMethods(PaymentMethodEnumeration... values) { if (values!= null) { for (PaymentMethodEnumeration value: values) { getPaymentMethods().add(value); } } return this; } @Override public DistributionAssignment withPaymentMethods(Collection values) { if (values!= null) { getPaymentMethods().addAll(values); } return this; } @Override public DistributionAssignment withRequiresRegistration(Boolean value) { setRequiresRegistration(value); return this; } @Override public DistributionAssignment withFulfilmentMethodRef(FulfilmentMethodRefStructure value) { setFulfilmentMethodRef(value); return this; } @Override public DistributionAssignment withNoticeAssignments(NoticeAssignments_RelStructure value) { setNoticeAssignments(value); return this; } @Override public DistributionAssignment withName(MultilingualString value) { setName(value); return this; } @Override public DistributionAssignment withDescription(MultilingualString value) { setDescription(value); return this; } @Override public DistributionAssignment withOrder(BigInteger value) { setOrder(value); return this; } @Override public DistributionAssignment withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public DistributionAssignment withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public DistributionAssignment withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public DistributionAssignment withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public DistributionAssignment withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public DistributionAssignment withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public DistributionAssignment withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public DistributionAssignment withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public DistributionAssignment withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public DistributionAssignment withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public DistributionAssignment withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public DistributionAssignment withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public DistributionAssignment withVersion(String value) { setVersion(value); return this; } @Override public DistributionAssignment withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public DistributionAssignment withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public DistributionAssignment withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public DistributionAssignment withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public DistributionAssignment withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public DistributionAssignment 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