org.rutebanken.netex.model.DistributionAssignment_VersionStructure Maven / Gradle / Ivy
Show all versions of netex-java-model Show documentation
//
// 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.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 DistributionAssignment_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DistributionAssignment_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}Assignment_VersionStructure_">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}DistributionAssignmentGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DistributionAssignment_VersionStructure", propOrder = {
"serviceAccessRightRef",
"salesPackageRef",
"groupOfSalesPackagesRef",
"distributionRights",
"allCountriesRef",
"countryRef",
"allowedInCountry",
"topographicPlaceRef",
"allDistributionChannelsRef",
"groupOfDistributionChannelsRef",
"distributionChannelRef",
"distributionChannelType",
"allowedInChannel",
"restrictedToChannel",
"mandatoryProduct",
"initialCarrier",
"transitCarrier",
"finalCarrier",
"allOrganisationsRef",
"organisationRef",
"responsibilitySetRefDistributionByGroup",
"ticketingServiceFacilityList",
"paymentMethods",
"requiresRegistration",
"fulfilmentMethodRef",
"noticeAssignments"
})
@XmlSeeAlso({
DistributionAssignment.class
})
public class DistributionAssignment_VersionStructure
extends Assignment_VersionStructure_
{
@XmlElementRef(name = "ServiceAccessRightRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends ServiceAccessRightRefStructure> serviceAccessRightRef;
@XmlElement(name = "SalesPackageRef")
protected SalesPackageRefStructure salesPackageRef;
@XmlElement(name = "GroupOfSalesPackagesRef")
protected GroupOfSalesPackagesRefStructure groupOfSalesPackagesRef;
@XmlList
@XmlElement(name = "DistributionRights")
protected List distributionRights;
@XmlElement(name = "AllCountriesRef")
protected AllCountriesRef allCountriesRef;
@XmlElement(name = "CountryRef")
protected CountryRef countryRef;
@XmlElement(name = "AllowedInCountry", defaultValue = "true")
protected Boolean allowedInCountry;
@XmlElement(name = "TopographicPlaceRef")
protected TopographicPlaceRefStructure topographicPlaceRef;
@XmlElement(name = "AllDistributionChannelsRef")
protected AllDistributionChannelsRefStructureElement allDistributionChannelsRef;
@XmlElement(name = "GroupOfDistributionChannelsRef")
protected GroupOfDistributionChannelsRefStructure groupOfDistributionChannelsRef;
@XmlElement(name = "DistributionChannelRef")
protected DistributionChannelRefStructureElement distributionChannelRef;
@XmlElement(name = "DistributionChannelType")
@XmlSchemaType(name = "normalizedString")
protected DistributionChannelTypeEnumeration distributionChannelType;
@XmlElement(name = "AllowedInChannel", defaultValue = "true")
protected Boolean allowedInChannel;
@XmlElement(name = "RestrictedToChannel", defaultValue = "true")
protected Boolean restrictedToChannel;
@XmlElement(name = "MandatoryProduct")
protected Boolean mandatoryProduct;
@XmlElement(name = "InitialCarrier")
protected Boolean initialCarrier;
@XmlElement(name = "TransitCarrier")
protected Boolean transitCarrier;
@XmlElement(name = "FinalCarrier")
protected Boolean finalCarrier;
@XmlElementRef(name = "AllOrganisationsRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends AllOrganisationsRefStructure> allOrganisationsRef;
@XmlElementRef(name = "OrganisationRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends OrganisationRefStructure> organisationRef;
@XmlElement(name = "ResponsibilitySetRef")
protected ResponsibilitySetRefStructure responsibilitySetRefDistributionByGroup;
@XmlList
@XmlElement(name = "TicketingServiceFacilityList")
protected List ticketingServiceFacilityList;
@XmlList
@XmlElement(name = "PaymentMethods")
protected List paymentMethods;
@XmlElement(name = "RequiresRegistration")
protected Boolean requiresRegistration;
@XmlElement(name = "FulfilmentMethodRef")
protected FulfilmentMethodRefStructure fulfilmentMethodRef;
protected NoticeAssignments_RelStructure noticeAssignments;
/**
* Gets the value of the serviceAccessRightRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link EntitlementProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link PreassignedFareProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ServiceAccessRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link CappedDiscountRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link UsageDiscountRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AmountOfPriceUnitProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SaleDiscountRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ThirdPartyProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SupplementProductRefStructure }{@code >}
*
*/
public JAXBElement extends ServiceAccessRightRefStructure> getServiceAccessRightRef() {
return serviceAccessRightRef;
}
/**
* Sets the value of the serviceAccessRightRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link EntitlementProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link PreassignedFareProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link FareProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ServiceAccessRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link CappedDiscountRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link UsageDiscountRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AmountOfPriceUnitProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SaleDiscountRightRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ThirdPartyProductRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link SupplementProductRefStructure }{@code >}
*
*/
public void setServiceAccessRightRef(JAXBElement extends ServiceAccessRightRefStructure> value) {
this.serviceAccessRightRef = value;
}
/**
* Gets the value of the salesPackageRef property.
*
* @return
* possible object is
* {@link SalesPackageRefStructure }
*
*/
public SalesPackageRefStructure getSalesPackageRef() {
return salesPackageRef;
}
/**
* Sets the value of the salesPackageRef property.
*
* @param value
* allowed object is
* {@link SalesPackageRefStructure }
*
*/
public void setSalesPackageRef(SalesPackageRefStructure value) {
this.salesPackageRef = value;
}
/**
* Gets the value of the groupOfSalesPackagesRef property.
*
* @return
* possible object is
* {@link GroupOfSalesPackagesRefStructure }
*
*/
public GroupOfSalesPackagesRefStructure getGroupOfSalesPackagesRef() {
return groupOfSalesPackagesRef;
}
/**
* Sets the value of the groupOfSalesPackagesRef property.
*
* @param value
* allowed object is
* {@link GroupOfSalesPackagesRefStructure }
*
*/
public void setGroupOfSalesPackagesRef(GroupOfSalesPackagesRefStructure value) {
this.groupOfSalesPackagesRef = value;
}
/**
* 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 allCountriesRef property.
*
* @return
* possible object is
* {@link AllCountriesRef }
*
*/
public AllCountriesRef getAllCountriesRef() {
return allCountriesRef;
}
/**
* Sets the value of the allCountriesRef property.
*
* @param value
* allowed object is
* {@link AllCountriesRef }
*
*/
public void setAllCountriesRef(AllCountriesRef value) {
this.allCountriesRef = value;
}
/**
* Gets the value of the countryRef property.
*
* @return
* possible object is
* {@link CountryRef }
*
*/
public CountryRef getCountryRef() {
return countryRef;
}
/**
* Sets the value of the countryRef property.
*
* @param value
* allowed object is
* {@link CountryRef }
*
*/
public void setCountryRef(CountryRef value) {
this.countryRef = value;
}
/**
* Gets the value of the allowedInCountry property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAllowedInCountry() {
return allowedInCountry;
}
/**
* Sets the value of the allowedInCountry property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAllowedInCountry(Boolean value) {
this.allowedInCountry = value;
}
/**
* Gets the value of the topographicPlaceRef property.
*
* @return
* possible object is
* {@link TopographicPlaceRefStructure }
*
*/
public TopographicPlaceRefStructure getTopographicPlaceRef() {
return topographicPlaceRef;
}
/**
* Sets the value of the topographicPlaceRef property.
*
* @param value
* allowed object is
* {@link TopographicPlaceRefStructure }
*
*/
public void setTopographicPlaceRef(TopographicPlaceRefStructure value) {
this.topographicPlaceRef = value;
}
/**
* Gets the value of the allDistributionChannelsRef property.
*
* @return
* possible object is
* {@link AllDistributionChannelsRefStructureElement }
*
*/
public AllDistributionChannelsRefStructureElement getAllDistributionChannelsRef() {
return allDistributionChannelsRef;
}
/**
* Sets the value of the allDistributionChannelsRef property.
*
* @param value
* allowed object is
* {@link AllDistributionChannelsRefStructureElement }
*
*/
public void setAllDistributionChannelsRef(AllDistributionChannelsRefStructureElement value) {
this.allDistributionChannelsRef = value;
}
/**
* Gets the value of the groupOfDistributionChannelsRef property.
*
* @return
* possible object is
* {@link GroupOfDistributionChannelsRefStructure }
*
*/
public GroupOfDistributionChannelsRefStructure getGroupOfDistributionChannelsRef() {
return groupOfDistributionChannelsRef;
}
/**
* Sets the value of the groupOfDistributionChannelsRef property.
*
* @param value
* allowed object is
* {@link GroupOfDistributionChannelsRefStructure }
*
*/
public void setGroupOfDistributionChannelsRef(GroupOfDistributionChannelsRefStructure value) {
this.groupOfDistributionChannelsRef = value;
}
/**
* Gets the value of the distributionChannelRef property.
*
* @return
* possible object is
* {@link DistributionChannelRefStructureElement }
*
*/
public DistributionChannelRefStructureElement getDistributionChannelRef() {
return distributionChannelRef;
}
/**
* Sets the value of the distributionChannelRef property.
*
* @param value
* allowed object is
* {@link DistributionChannelRefStructureElement }
*
*/
public void setDistributionChannelRef(DistributionChannelRefStructureElement value) {
this.distributionChannelRef = 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 allowedInChannel property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAllowedInChannel() {
return allowedInChannel;
}
/**
* Sets the value of the allowedInChannel property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAllowedInChannel(Boolean value) {
this.allowedInChannel = value;
}
/**
* Gets the value of the restrictedToChannel property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRestrictedToChannel() {
return restrictedToChannel;
}
/**
* Sets the value of the restrictedToChannel property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRestrictedToChannel(Boolean value) {
this.restrictedToChannel = value;
}
/**
* Gets the value of the mandatoryProduct property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMandatoryProduct() {
return mandatoryProduct;
}
/**
* Sets the value of the mandatoryProduct property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMandatoryProduct(Boolean value) {
this.mandatoryProduct = value;
}
/**
* Gets the value of the initialCarrier property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isInitialCarrier() {
return initialCarrier;
}
/**
* Sets the value of the initialCarrier property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInitialCarrier(Boolean value) {
this.initialCarrier = value;
}
/**
* Gets the value of the transitCarrier property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTransitCarrier() {
return transitCarrier;
}
/**
* Sets the value of the transitCarrier property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTransitCarrier(Boolean value) {
this.transitCarrier = value;
}
/**
* Gets the value of the finalCarrier property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isFinalCarrier() {
return finalCarrier;
}
/**
* Sets the value of the finalCarrier property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFinalCarrier(Boolean value) {
this.finalCarrier = value;
}
/**
* Gets the value of the allOrganisationsRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link AllTransportOrganisationsRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AllTransportOrganisationsRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AllTransportOrganisationsRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AllOrganisationsRefStructure }{@code >}
*
*/
public JAXBElement extends AllOrganisationsRefStructure> getAllOrganisationsRef() {
return allOrganisationsRef;
}
/**
* Sets the value of the allOrganisationsRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link AllTransportOrganisationsRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AllTransportOrganisationsRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AllTransportOrganisationsRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link AllOrganisationsRefStructure }{@code >}
*
*/
public void setAllOrganisationsRef(JAXBElement extends AllOrganisationsRefStructure> value) {
this.allOrganisationsRef = 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 responsibilitySetRefDistributionByGroup property.
*
* @return
* possible object is
* {@link ResponsibilitySetRefStructure }
*
*/
public ResponsibilitySetRefStructure getResponsibilitySetRefDistributionByGroup() {
return responsibilitySetRefDistributionByGroup;
}
/**
* Sets the value of the responsibilitySetRefDistributionByGroup property.
*
* @param value
* allowed object is
* {@link ResponsibilitySetRefStructure }
*
*/
public void setResponsibilitySetRefDistributionByGroup(ResponsibilitySetRefStructure value) {
this.responsibilitySetRefDistributionByGroup = value;
}
/**
* Gets the value of the ticketingServiceFacilityList 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 ticketingServiceFacilityList property.
*
*
* For example, to add a new item, do as follows:
*
* getTicketingServiceFacilityList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TicketingServiceFacilityEnumeration }
*
*
*/
public List getTicketingServiceFacilityList() {
if (ticketingServiceFacilityList == null) {
ticketingServiceFacilityList = new ArrayList();
}
return this.ticketingServiceFacilityList;
}
/**
* 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 requiresRegistration property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRequiresRegistration() {
return requiresRegistration;
}
/**
* Sets the value of the requiresRegistration property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRequiresRegistration(Boolean value) {
this.requiresRegistration = value;
}
/**
* Gets the value of the fulfilmentMethodRef property.
*
* @return
* possible object is
* {@link FulfilmentMethodRefStructure }
*
*/
public FulfilmentMethodRefStructure getFulfilmentMethodRef() {
return fulfilmentMethodRef;
}
/**
* Sets the value of the fulfilmentMethodRef property.
*
* @param value
* allowed object is
* {@link FulfilmentMethodRefStructure }
*
*/
public void setFulfilmentMethodRef(FulfilmentMethodRefStructure value) {
this.fulfilmentMethodRef = value;
}
/**
* Gets the value of the noticeAssignments property.
*
* @return
* possible object is
* {@link NoticeAssignments_RelStructure }
*
*/
public NoticeAssignments_RelStructure getNoticeAssignments() {
return noticeAssignments;
}
/**
* Sets the value of the noticeAssignments property.
*
* @param value
* allowed object is
* {@link NoticeAssignments_RelStructure }
*
*/
public void setNoticeAssignments(NoticeAssignments_RelStructure value) {
this.noticeAssignments = value;
}
public DistributionAssignment_VersionStructure withServiceAccessRightRef(JAXBElement extends ServiceAccessRightRefStructure> value) {
setServiceAccessRightRef(value);
return this;
}
public DistributionAssignment_VersionStructure withSalesPackageRef(SalesPackageRefStructure value) {
setSalesPackageRef(value);
return this;
}
public DistributionAssignment_VersionStructure withGroupOfSalesPackagesRef(GroupOfSalesPackagesRefStructure value) {
setGroupOfSalesPackagesRef(value);
return this;
}
public DistributionAssignment_VersionStructure withDistributionRights(DistributionRightsEnumeration... values) {
if (values!= null) {
for (DistributionRightsEnumeration value: values) {
getDistributionRights().add(value);
}
}
return this;
}
public DistributionAssignment_VersionStructure withDistributionRights(Collection values) {
if (values!= null) {
getDistributionRights().addAll(values);
}
return this;
}
public DistributionAssignment_VersionStructure withAllCountriesRef(AllCountriesRef value) {
setAllCountriesRef(value);
return this;
}
public DistributionAssignment_VersionStructure withCountryRef(CountryRef value) {
setCountryRef(value);
return this;
}
public DistributionAssignment_VersionStructure withAllowedInCountry(Boolean value) {
setAllowedInCountry(value);
return this;
}
public DistributionAssignment_VersionStructure withTopographicPlaceRef(TopographicPlaceRefStructure value) {
setTopographicPlaceRef(value);
return this;
}
public DistributionAssignment_VersionStructure withAllDistributionChannelsRef(AllDistributionChannelsRefStructureElement value) {
setAllDistributionChannelsRef(value);
return this;
}
public DistributionAssignment_VersionStructure withGroupOfDistributionChannelsRef(GroupOfDistributionChannelsRefStructure value) {
setGroupOfDistributionChannelsRef(value);
return this;
}
public DistributionAssignment_VersionStructure withDistributionChannelRef(DistributionChannelRefStructureElement value) {
setDistributionChannelRef(value);
return this;
}
public DistributionAssignment_VersionStructure withDistributionChannelType(DistributionChannelTypeEnumeration value) {
setDistributionChannelType(value);
return this;
}
public DistributionAssignment_VersionStructure withAllowedInChannel(Boolean value) {
setAllowedInChannel(value);
return this;
}
public DistributionAssignment_VersionStructure withRestrictedToChannel(Boolean value) {
setRestrictedToChannel(value);
return this;
}
public DistributionAssignment_VersionStructure withMandatoryProduct(Boolean value) {
setMandatoryProduct(value);
return this;
}
public DistributionAssignment_VersionStructure withInitialCarrier(Boolean value) {
setInitialCarrier(value);
return this;
}
public DistributionAssignment_VersionStructure withTransitCarrier(Boolean value) {
setTransitCarrier(value);
return this;
}
public DistributionAssignment_VersionStructure withFinalCarrier(Boolean value) {
setFinalCarrier(value);
return this;
}
public DistributionAssignment_VersionStructure withAllOrganisationsRef(JAXBElement extends AllOrganisationsRefStructure> value) {
setAllOrganisationsRef(value);
return this;
}
public DistributionAssignment_VersionStructure withOrganisationRef(JAXBElement extends OrganisationRefStructure> value) {
setOrganisationRef(value);
return this;
}
public DistributionAssignment_VersionStructure withResponsibilitySetRefDistributionByGroup(ResponsibilitySetRefStructure value) {
setResponsibilitySetRefDistributionByGroup(value);
return this;
}
public DistributionAssignment_VersionStructure withTicketingServiceFacilityList(TicketingServiceFacilityEnumeration... values) {
if (values!= null) {
for (TicketingServiceFacilityEnumeration value: values) {
getTicketingServiceFacilityList().add(value);
}
}
return this;
}
public DistributionAssignment_VersionStructure withTicketingServiceFacilityList(Collection values) {
if (values!= null) {
getTicketingServiceFacilityList().addAll(values);
}
return this;
}
public DistributionAssignment_VersionStructure withPaymentMethods(PaymentMethodEnumeration... values) {
if (values!= null) {
for (PaymentMethodEnumeration value: values) {
getPaymentMethods().add(value);
}
}
return this;
}
public DistributionAssignment_VersionStructure withPaymentMethods(Collection values) {
if (values!= null) {
getPaymentMethods().addAll(values);
}
return this;
}
public DistributionAssignment_VersionStructure withRequiresRegistration(Boolean value) {
setRequiresRegistration(value);
return this;
}
public DistributionAssignment_VersionStructure withFulfilmentMethodRef(FulfilmentMethodRefStructure value) {
setFulfilmentMethodRef(value);
return this;
}
public DistributionAssignment_VersionStructure withNoticeAssignments(NoticeAssignments_RelStructure value) {
setNoticeAssignments(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public DistributionAssignment_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public DistributionAssignment_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public DistributionAssignment_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public DistributionAssignment_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);
}
}