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

org.rutebanken.netex.model.DistributionChannel_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.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.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlList;
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 DistributionChannel_VersionStructure complex type. * *

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

 * <complexType name="DistributionChannel_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}TypeOfValue_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}DistributionChannelGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DistributionChannel_VersionStructure", propOrder = { "alternativeNames", "distributionChannelType", "isObligatory", "requiresEmailAddress", "contactDetails", "organisationRef", "paymentMethods", "distributionRights", "distributionPoints", "distributionGroupRef" }) @XmlSeeAlso({ DistributionChannel.class }) public class DistributionChannel_VersionStructure extends TypeOfValue_VersionStructure { protected AlternativeNames_RelStructure alternativeNames; @XmlElement(name = "DistributionChannelType") @XmlSchemaType(name = "normalizedString") protected DistributionChannelTypeEnumeration distributionChannelType; @XmlElement(name = "IsObligatory") protected Boolean isObligatory; @XmlElement(name = "RequiresEmailAddress") protected Boolean requiresEmailAddress; @XmlElement(name = "ContactDetails") protected ContactStructure contactDetails; @XmlElementRef(name = "OrganisationRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) protected JAXBElement organisationRef; @XmlList @XmlElement(name = "PaymentMethods") protected List paymentMethods; @XmlList @XmlElement(name = "DistributionRights") protected List distributionRights; protected PointRefs_RelStructure distributionPoints; @XmlElement(name = "DistributionGroupRef") protected DistributionChannel_VersionStructure.DistributionGroupRef distributionGroupRef; /** * Gets the value of the alternativeNames property. * * @return * possible object is * {@link AlternativeNames_RelStructure } * */ public AlternativeNames_RelStructure getAlternativeNames() { return alternativeNames; } /** * Sets the value of the alternativeNames property. * * @param value * allowed object is * {@link AlternativeNames_RelStructure } * */ public void setAlternativeNames(AlternativeNames_RelStructure value) { this.alternativeNames = value; } /** * Gets the value of the distributionChannelType property. * * @return * possible object is * {@link DistributionChannelTypeEnumeration } * */ public DistributionChannelTypeEnumeration getDistributionChannelType() { return distributionChannelType; } /** * Sets the value of the distributionChannelType property. * * @param value * allowed object is * {@link DistributionChannelTypeEnumeration } * */ public void setDistributionChannelType(DistributionChannelTypeEnumeration value) { this.distributionChannelType = value; } /** * Gets the value of the isObligatory property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIsObligatory() { return isObligatory; } /** * Sets the value of the isObligatory property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsObligatory(Boolean value) { this.isObligatory = value; } /** * Gets the value of the requiresEmailAddress property. * * @return * possible object is * {@link Boolean } * */ public Boolean isRequiresEmailAddress() { return requiresEmailAddress; } /** * Sets the value of the requiresEmailAddress property. * * @param value * allowed object is * {@link Boolean } * */ public void setRequiresEmailAddress(Boolean value) { this.requiresEmailAddress = value; } /** * Gets the value of the contactDetails property. * * @return * possible object is * {@link ContactStructure } * */ public ContactStructure getContactDetails() { return contactDetails; } /** * Sets the value of the contactDetails property. * * @param value * allowed object is * {@link ContactStructure } * */ public void setContactDetails(ContactStructure value) { this.contactDetails = 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 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 value) { this.organisationRef = value; } /** * Gets the value of the paymentMethods 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 paymentMethods property. * *

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

     *    getPaymentMethods().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PaymentMethodEnumeration } * * */ public List getPaymentMethods() { if (paymentMethods == null) { paymentMethods = new ArrayList(); } return this.paymentMethods; } /** * Gets the value of the distributionRights 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 distributionRights property. * *

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

     *    getDistributionRights().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DistributionRightsEnumeration } * * */ public List getDistributionRights() { if (distributionRights == null) { distributionRights = new ArrayList(); } return this.distributionRights; } /** * Gets the value of the distributionPoints property. * * @return * possible object is * {@link PointRefs_RelStructure } * */ public PointRefs_RelStructure getDistributionPoints() { return distributionPoints; } /** * Sets the value of the distributionPoints property. * * @param value * allowed object is * {@link PointRefs_RelStructure } * */ public void setDistributionPoints(PointRefs_RelStructure value) { this.distributionPoints = value; } /** * Gets the value of the distributionGroupRef property. * * @return * possible object is * {@link DistributionChannel_VersionStructure.DistributionGroupRef } * */ public DistributionChannel_VersionStructure.DistributionGroupRef getDistributionGroupRef() { return distributionGroupRef; } /** * Sets the value of the distributionGroupRef property. * * @param value * allowed object is * {@link DistributionChannel_VersionStructure.DistributionGroupRef } * */ public void setDistributionGroupRef(DistributionChannel_VersionStructure.DistributionGroupRef value) { this.distributionGroupRef = value; } public DistributionChannel_VersionStructure withAlternativeNames(AlternativeNames_RelStructure value) { setAlternativeNames(value); return this; } public DistributionChannel_VersionStructure withDistributionChannelType(DistributionChannelTypeEnumeration value) { setDistributionChannelType(value); return this; } public DistributionChannel_VersionStructure withIsObligatory(Boolean value) { setIsObligatory(value); return this; } public DistributionChannel_VersionStructure withRequiresEmailAddress(Boolean value) { setRequiresEmailAddress(value); return this; } public DistributionChannel_VersionStructure withContactDetails(ContactStructure value) { setContactDetails(value); return this; } public DistributionChannel_VersionStructure withOrganisationRef(JAXBElement value) { setOrganisationRef(value); return this; } public DistributionChannel_VersionStructure withPaymentMethods(PaymentMethodEnumeration... values) { if (values!= null) { for (PaymentMethodEnumeration value: values) { getPaymentMethods().add(value); } } return this; } public DistributionChannel_VersionStructure withPaymentMethods(Collection values) { if (values!= null) { getPaymentMethods().addAll(values); } return this; } public DistributionChannel_VersionStructure withDistributionRights(DistributionRightsEnumeration... values) { if (values!= null) { for (DistributionRightsEnumeration value: values) { getDistributionRights().add(value); } } return this; } public DistributionChannel_VersionStructure withDistributionRights(Collection values) { if (values!= null) { getDistributionRights().addAll(values); } return this; } public DistributionChannel_VersionStructure withDistributionPoints(PointRefs_RelStructure value) { setDistributionPoints(value); return this; } public DistributionChannel_VersionStructure withDistributionGroupRef(DistributionChannel_VersionStructure.DistributionGroupRef value) { setDistributionGroupRef(value); return this; } @Override public DistributionChannel_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public DistributionChannel_VersionStructure withShortName(MultilingualString value) { setShortName(value); return this; } @Override public DistributionChannel_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public DistributionChannel_VersionStructure withImage(String value) { setImage(value); return this; } @Override public DistributionChannel_VersionStructure withUrl(String value) { setUrl(value); return this; } @Override public DistributionChannel_VersionStructure withPrivateCode(PrivateCodeStructure value) { setPrivateCode(value); return this; } @Override public DistributionChannel_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public DistributionChannel_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public DistributionChannel_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public DistributionChannel_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public DistributionChannel_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public DistributionChannel_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public DistributionChannel_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public DistributionChannel_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public DistributionChannel_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public DistributionChannel_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public DistributionChannel_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public DistributionChannel_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public DistributionChannel_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public DistributionChannel_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public DistributionChannel_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public DistributionChannel_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public DistributionChannel_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public DistributionChannel_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public DistributionChannel_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); } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <simpleContent>
     *     <restriction base="<http://www.netex.org.uk/netex>GeneralGroupOfEntitiesRefStructure">
     *       <attribute name="nameOfMemberClass" type="{http://www.netex.org.uk/netex}NameOfClass" />
     *     </restriction>
     *   </simpleContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class DistributionGroupRef extends GeneralGroupOfEntitiesRefStructure { @Override public DistributionChannel_VersionStructure.DistributionGroupRef withNameOfMemberClass(String value) { setNameOfMemberClass(value); return this; } @Override public DistributionChannel_VersionStructure.DistributionGroupRef withValue(String value) { setValue(value); return this; } @Override public DistributionChannel_VersionStructure.DistributionGroupRef withNameOfRefClass(String value) { setNameOfRefClass(value); return this; } @Override public DistributionChannel_VersionStructure.DistributionGroupRef withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public DistributionChannel_VersionStructure.DistributionGroupRef withRef(String value) { setRef(value); return this; } @Override public DistributionChannel_VersionStructure.DistributionGroupRef withVersionRef(String value) { setVersionRef(value); return this; } @Override public DistributionChannel_VersionStructure.DistributionGroupRef withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public DistributionChannel_VersionStructure.DistributionGroupRef withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public DistributionChannel_VersionStructure.DistributionGroupRef withVersion(String value) { setVersion(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