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

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.ShipmentStageType Maven / Gradle / Ivy


package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.phloc.commons.annotations.ReturnsMutableObject;
import com.phloc.commons.equals.EqualsUtils;
import com.phloc.commons.hash.HashCodeGenerator;
import com.phloc.commons.string.ToStringGenerator;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.OnCarriageIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PreCarriageIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TransitDirectionCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TransportMeansTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TransportModeCodeType;


/**
 * 
 * 
 * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a shipment stage.</ccts:Definition><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass></ccts:Component>
 * 
* * *

Java class for ShipmentStageType complex type. * *

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

 * <complexType name="ShipmentStageType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TransportModeCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TransportMeansTypeCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TransitDirectionCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PreCarriageIndicator"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OnCarriageIndicator"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TransitPeriod" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CarrierParty" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TransportMeans" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}LoadingPortLocation" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}UnloadingPortLocation" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TransshipPortLocation" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ShipmentStageType", propOrder = { "id", "transportModeCode", "transportMeansTypeCode", "transitDirectionCode", "preCarriageIndicator", "onCarriageIndicator", "transitPeriod", "carrierParty", "transportMeans", "loadingPortLocation", "unloadingPortLocation", "transshipPortLocation" }) public class ShipmentStageType implements Serializable { @XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private IDType id; @XmlElement(name = "TransportModeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TransportModeCodeType transportModeCode; @XmlElement(name = "TransportMeansTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TransportMeansTypeCodeType transportMeansTypeCode; @XmlElement(name = "TransitDirectionCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TransitDirectionCodeType transitDirectionCode; @XmlElement(name = "PreCarriageIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true) private PreCarriageIndicatorType preCarriageIndicator; @XmlElement(name = "OnCarriageIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true) private OnCarriageIndicatorType onCarriageIndicator; @XmlElement(name = "TransitPeriod") private PeriodType transitPeriod; @XmlElement(name = "CarrierParty") private List carrierParty; @XmlElement(name = "TransportMeans") private TransportMeansType transportMeans; @XmlElement(name = "LoadingPortLocation") private LocationType loadingPortLocation; @XmlElement(name = "UnloadingPortLocation") private LocationType unloadingPortLocation; @XmlElement(name = "TransshipPortLocation") private LocationType transshipPortLocation; /** * Default constructor * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * */ public ShipmentStageType() { } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies a shipment stage.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>"1","2", etc..</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link IDType } * */ @Nullable public IDType getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link IDType } * */ public void setID( @Nullable IDType value) { this.id = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Transport Mode Code. Code</ccts:DictionaryEntryName><ccts:Definition>The method of transport used for a shipment stage.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTerm>Transport Mode Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Transport Mode_ Code. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TransportModeCodeType } * */ @Nullable public TransportModeCodeType getTransportModeCode() { return transportModeCode; } /** * Sets the value of the transportModeCode property. * * @param value * allowed object is * {@link TransportModeCodeType } * */ public void setTransportModeCode( @Nullable TransportModeCodeType value) { this.transportModeCode = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Transport Means Type Code. Code</ccts:DictionaryEntryName><ccts:Definition>The type of vehicle used for a shipment stage.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTerm>Transport Means Type Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TransportMeansTypeCodeType } * */ @Nullable public TransportMeansTypeCodeType getTransportMeansTypeCode() { return transportMeansTypeCode; } /** * Sets the value of the transportMeansTypeCode property. * * @param value * allowed object is * {@link TransportMeansTypeCodeType } * */ public void setTransportMeansTypeCode( @Nullable TransportMeansTypeCodeType value) { this.transportMeansTypeCode = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Transit_ Direction Code. Code</ccts:DictionaryEntryName><ccts:Definition>The direction of transit for a shipment stage.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTermQualifier>Transit</ccts:PropertyTermQualifier><ccts:PropertyTerm>Direction Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TransitDirectionCodeType } * */ @Nullable public TransitDirectionCodeType getTransitDirectionCode() { return transitDirectionCode; } /** * Sets the value of the transitDirectionCode property. * * @param value * allowed object is * {@link TransitDirectionCodeType } * */ public void setTransitDirectionCode( @Nullable TransitDirectionCodeType value) { this.transitDirectionCode = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Pre Carriage_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Indicates whether the stage is before the main carriage of the shipment.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTermQualifier>Pre Carriage</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType><ccts:Examples>Truck delivery to wharf</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link PreCarriageIndicatorType } * */ @Nullable public PreCarriageIndicatorType getPreCarriageIndicator() { return preCarriageIndicator; } /** * Sets the value of the preCarriageIndicator property. * * @param value * allowed object is * {@link PreCarriageIndicatorType } * */ public void setPreCarriageIndicator( @Nullable PreCarriageIndicatorType value) { this.preCarriageIndicator = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. On Carriage_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Indicates whether the stage is after the main carriage of the shipment.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTermQualifier>On Carriage</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType><ccts:Examples>Truck delivery from wharf</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link OnCarriageIndicatorType } * */ @Nullable public OnCarriageIndicatorType getOnCarriageIndicator() { return onCarriageIndicator; } /** * Sets the value of the onCarriageIndicator property. * * @param value * allowed object is * {@link OnCarriageIndicatorType } * */ public void setOnCarriageIndicator( @Nullable OnCarriageIndicatorType value) { this.onCarriageIndicator = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Transit_ Period. Period</ccts:DictionaryEntryName><ccts:Definition>An association to Transit Period.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTermQualifier>Transit</ccts:PropertyTermQualifier><ccts:PropertyTerm>Period</ccts:PropertyTerm><ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link PeriodType } * */ @Nullable public PeriodType getTransitPeriod() { return transitPeriod; } /** * Sets the value of the transitPeriod property. * * @param value * allowed object is * {@link PeriodType } * */ public void setTransitPeriod( @Nullable PeriodType value) { this.transitPeriod = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Carrier_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>An association to Carrier.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTermQualifier>Carrier</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass></ccts:Component>
     * 
* Gets the value of the carrierParty 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 carrierParty property. * *

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

     *    getCarrierParty().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PartyType } * * */ @Nonnull @ReturnsMutableObject(reason = "JAXB implementation style") public List getCarrierParty() { if (carrierParty == null) { carrierParty = new ArrayList(); } return this.carrierParty; } /** * *

     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Transport Means</ccts:DictionaryEntryName><ccts:Definition>An association to the means of transport.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTerm>Transport Means</ccts:PropertyTerm><ccts:AssociatedObjectClass>Transport Means</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link TransportMeansType } * */ @Nullable public TransportMeansType getTransportMeans() { return transportMeans; } /** * Sets the value of the transportMeans property. * * @param value * allowed object is * {@link TransportMeansType } * */ public void setTransportMeans( @Nullable TransportMeansType value) { this.transportMeans = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Loading Port_ Location. Location</ccts:DictionaryEntryName><ccts:Definition>An association to the port location of loading.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTermQualifier>Loading Port</ccts:PropertyTermQualifier><ccts:PropertyTerm>Location</ccts:PropertyTerm><ccts:AssociatedObjectClass>Location</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link LocationType } * */ @Nullable public LocationType getLoadingPortLocation() { return loadingPortLocation; } /** * Sets the value of the loadingPortLocation property. * * @param value * allowed object is * {@link LocationType } * */ public void setLoadingPortLocation( @Nullable LocationType value) { this.loadingPortLocation = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Unloading Port_ Location. Location</ccts:DictionaryEntryName><ccts:Definition>An association to the port location of unloading.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTermQualifier>Unloading Port</ccts:PropertyTermQualifier><ccts:PropertyTerm>Location</ccts:PropertyTerm><ccts:AssociatedObjectClass>Location</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link LocationType } * */ @Nullable public LocationType getUnloadingPortLocation() { return unloadingPortLocation; } /** * Sets the value of the unloadingPortLocation property. * * @param value * allowed object is * {@link LocationType } * */ public void setUnloadingPortLocation( @Nullable LocationType value) { this.unloadingPortLocation = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Transship Port_ Location. Location</ccts:DictionaryEntryName><ccts:Definition>An association to the port location of transshipment.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass><ccts:PropertyTermQualifier>Transship Port</ccts:PropertyTermQualifier><ccts:PropertyTerm>Location</ccts:PropertyTerm><ccts:AssociatedObjectClass>Location</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link LocationType } * */ @Nullable public LocationType getTransshipPortLocation() { return transshipPortLocation; } /** * Sets the value of the transshipPortLocation property. * * @param value * allowed object is * {@link LocationType } * */ public void setTransshipPortLocation( @Nullable LocationType value) { this.transshipPortLocation = value; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public boolean equals(final Object o) { if (o == this) { return true; } if ((o == null)||(!getClass().equals(o.getClass()))) { return false; } final ShipmentStageType rhs = ((ShipmentStageType) o); if (!EqualsUtils.equals(id, rhs.id)) { return false; } if (!EqualsUtils.equals(transportModeCode, rhs.transportModeCode)) { return false; } if (!EqualsUtils.equals(transportMeansTypeCode, rhs.transportMeansTypeCode)) { return false; } if (!EqualsUtils.equals(transitDirectionCode, rhs.transitDirectionCode)) { return false; } if (!EqualsUtils.equals(preCarriageIndicator, rhs.preCarriageIndicator)) { return false; } if (!EqualsUtils.equals(onCarriageIndicator, rhs.onCarriageIndicator)) { return false; } if (!EqualsUtils.equals(transitPeriod, rhs.transitPeriod)) { return false; } if (!EqualsUtils.equals(carrierParty, rhs.carrierParty)) { return false; } if (!EqualsUtils.equals(transportMeans, rhs.transportMeans)) { return false; } if (!EqualsUtils.equals(loadingPortLocation, rhs.loadingPortLocation)) { return false; } if (!EqualsUtils.equals(unloadingPortLocation, rhs.unloadingPortLocation)) { return false; } if (!EqualsUtils.equals(transshipPortLocation, rhs.transshipPortLocation)) { return false; } return true; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public int hashCode() { return new HashCodeGenerator(this).append(id).append(transportModeCode).append(transportMeansTypeCode).append(transitDirectionCode).append(preCarriageIndicator).append(onCarriageIndicator).append(transitPeriod).append(carrierParty).append(transportMeans).append(loadingPortLocation).append(unloadingPortLocation).append(transshipPortLocation).getHashCode(); } /** * Created by phloc-jaxb22-plugin -Xphloc-tostring * */ @Override public String toString() { return new ToStringGenerator(this).append("id", id).append("transportModeCode", transportModeCode).append("transportMeansTypeCode", transportMeansTypeCode).append("transitDirectionCode", transitDirectionCode).append("preCarriageIndicator", preCarriageIndicator).append("onCarriageIndicator", onCarriageIndicator).append("transitPeriod", transitPeriod).append("carrierParty", carrierParty).append("transportMeans", transportMeans).append("loadingPortLocation", loadingPortLocation).append("unloadingPortLocation", unloadingPortLocation).append("transshipPortLocation", transshipPortLocation).toString(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param aList * The new list member to set. May be null. */ public void setCarrierParty( @Nullable final List aList) { carrierParty = aList; } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if at least one item is contained, false otherwise. */ public boolean hasCarrierPartyEntries() { return (!getCarrierParty().isEmpty()); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if no item is contained, false otherwise. */ public boolean hasNoCarrierPartyEntries() { return getCarrierParty().isEmpty(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getCarrierPartyCount() { return getCarrierParty().size(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param index * The index to retrieve * @return * The element at the specified index. May be null * @throws ArrayIndexOutOfBoundsException * if the index is invalid! */ @Nullable public PartyType getCarrierPartyAtIndex( @Nonnegative final int index) { return getCarrierParty().get(index); } /** * Special setter with value of type boolean * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. * @return * The created intermediary object of type PreCarriageIndicatorType and never null */ @Nonnull public PreCarriageIndicatorType setPreCarriageIndicator(final boolean valueParam) { PreCarriageIndicatorType aObj = getPreCarriageIndicator(); if (aObj == null) { aObj = new PreCarriageIndicatorType(valueParam); setPreCarriageIndicator(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type boolean * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. * @return * The created intermediary object of type OnCarriageIndicatorType and never null */ @Nonnull public OnCarriageIndicatorType setOnCarriageIndicator(final boolean valueParam) { OnCarriageIndicatorType aObj = getOnCarriageIndicator(); if (aObj == null) { aObj = new OnCarriageIndicatorType(valueParam); setOnCarriageIndicator(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type IDType and never null */ @Nonnull public IDType setID( @Nullable final String valueParam) { IDType aObj = getID(); if (aObj == null) { aObj = new IDType(valueParam); setID(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TransportModeCodeType and never null */ @Nonnull public TransportModeCodeType setTransportModeCode( @Nullable final String valueParam) { TransportModeCodeType aObj = getTransportModeCode(); if (aObj == null) { aObj = new TransportModeCodeType(valueParam); setTransportModeCode(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TransportMeansTypeCodeType and never null */ @Nonnull public TransportMeansTypeCodeType setTransportMeansTypeCode( @Nullable final String valueParam) { TransportMeansTypeCodeType aObj = getTransportMeansTypeCode(); if (aObj == null) { aObj = new TransportMeansTypeCodeType(valueParam); setTransportMeansTypeCode(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TransitDirectionCodeType and never null */ @Nonnull public TransitDirectionCodeType setTransitDirectionCode( @Nullable final String valueParam) { TransitDirectionCodeType aObj = getTransitDirectionCode(); if (aObj == null) { aObj = new TransitDirectionCodeType(valueParam); setTransitDirectionCode(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Get the value of the contained IDType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained IDType object or null */ @Nullable public String getIDValue() { IDType aObj = getID(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TransportModeCodeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TransportModeCodeType object or null */ @Nullable public String getTransportModeCodeValue() { TransportModeCodeType aObj = getTransportModeCode(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TransportMeansTypeCodeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TransportMeansTypeCodeType object or null */ @Nullable public String getTransportMeansTypeCodeValue() { TransportMeansTypeCodeType aObj = getTransportMeansTypeCode(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TransitDirectionCodeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TransitDirectionCodeType object or null */ @Nullable public String getTransitDirectionCodeValue() { TransitDirectionCodeType aObj = getTransitDirectionCode(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained PreCarriageIndicatorType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param nullValue * The value to be returned, if the owning object is nullnull




© 2015 - 2024 Weber Informatics LLC | Privacy Policy