/******************************************************************************* * Copyright (c) 2014, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanies this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html * and the Eclipse Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Martin Vojtek - 2.6.0 - initial implementation ******************************************************************************/ package org.eclipse.persistence.testing.perf.largexml.bigpo.common_aggregate_components; import java.util.ArrayList; import java.util.List; 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 org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.CodeType; import org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.IdentifierType; /** * * <pre> * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:chc="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:chn="urn:oasis:names:specification:ubl:schema:xsd:ChannelCode-1.0" xmlns:cnt="urn:oasis:names:specification:ubl:schema:xsd:CountryIdentificationCode-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:ero="urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0" xmlns:lat="urn:oasis:names:specification:ubl:schema:xsd:LatitudeDirectionCode-1.0" xmlns:lon="urn:oasis:names:specification:ubl:schema:xsd:LongitudeDirectionCode-1.0" xmlns:lstat="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" xmlns:pty="urn:oasis:names:specification:ubl:schema:xsd:PaymentMeansCode-1.0" xmlns:rsn="urn:oasis:names:specification:ubl:schema:xsd:AllowanceChargeReasonCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:sst="urn:oasis:names:specification:ubl:schema:xsd:SubstitutionStatusCode-1.0" xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Details</ccts:DictionaryEntryName><ccts:Definition>information directly relating to a shipment stage. Goods may be shipped in stages, factory to wharf, port to port, wharf to customers, etc.</ccts:Definition><ccts:ObjectClass>Shipment Stage</ccts:ObjectClass></ccts:Component> * </pre> * * * <p>Java class for ShipmentStageType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ShipmentStageType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="ID" type="{urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0}IdentifierType" minOccurs="0"/> * <element name="TransportModeCode" type="{urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0}CodeType" minOccurs="0"/> * <element name="TransportMeansTypeCode" type="{urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0}CodeType" minOccurs="0"/> * <element name="TransitDirectionCode" type="{urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0}CodeType" minOccurs="0"/> * <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0}TransitPeriod" minOccurs="0"/> * <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0}CarrierParty" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ShipmentStageType", propOrder = { "id", "transportModeCode", "transportMeansTypeCode", "transitDirectionCode", "transitPeriod", "carrierParty" }) public class ShipmentStageType { @XmlElement(name = "ID") protected IdentifierType id; @XmlElement(name = "TransportModeCode") protected CodeType transportModeCode; @XmlElement(name = "TransportMeansTypeCode") protected CodeType transportMeansTypeCode; @XmlElement(name = "TransitDirectionCode") protected CodeType transitDirectionCode; @XmlElement(name = "TransitPeriod") protected PeriodType transitPeriod; @XmlElement(name = "CarrierParty") protected List<PartyType> carrierParty; /** * Gets the value of the id property. * * @return * possible object is * {@link IdentifierType } * */ public IdentifierType getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link IdentifierType } * */ public void setID(IdentifierType value) { this.id = value; } /** * Gets the value of the transportModeCode property. * * @return * possible object is * {@link CodeType } * */ public CodeType getTransportModeCode() { return transportModeCode; } /** * Sets the value of the transportModeCode property. * * @param value * allowed object is * {@link CodeType } * */ public void setTransportModeCode(CodeType value) { this.transportModeCode = value; } /** * Gets the value of the transportMeansTypeCode property. * * @return * possible object is * {@link CodeType } * */ public CodeType getTransportMeansTypeCode() { return transportMeansTypeCode; } /** * Sets the value of the transportMeansTypeCode property. * * @param value * allowed object is * {@link CodeType } * */ public void setTransportMeansTypeCode(CodeType value) { this.transportMeansTypeCode = value; } /** * Gets the value of the transitDirectionCode property. * * @return * possible object is * {@link CodeType } * */ public CodeType getTransitDirectionCode() { return transitDirectionCode; } /** * Sets the value of the transitDirectionCode property. * * @param value * allowed object is * {@link CodeType } * */ public void setTransitDirectionCode(CodeType value) { this.transitDirectionCode = value; } /** * * <pre> * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:chc="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:chn="urn:oasis:names:specification:ubl:schema:xsd:ChannelCode-1.0" xmlns:cnt="urn:oasis:names:specification:ubl:schema:xsd:CountryIdentificationCode-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:ero="urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0" xmlns:lat="urn:oasis:names:specification:ubl:schema:xsd:LatitudeDirectionCode-1.0" xmlns:lon="urn:oasis:names:specification:ubl:schema:xsd:LongitudeDirectionCode-1.0" xmlns:lstat="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" xmlns:pty="urn:oasis:names:specification:ubl:schema:xsd:PaymentMeansCode-1.0" xmlns:rsn="urn:oasis:names:specification:ubl:schema:xsd:AllowanceChargeReasonCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:sst="urn:oasis:names:specification:ubl:schema:xsd:SubstitutionStatusCode-1.0" xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Transit_ Period. Period</ccts:DictionaryEntryName><ccts:Definition>associates the shipment stage with information about the period of transit.</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> * </pre> * * * @return * possible object is * {@link PeriodType } * */ public PeriodType getTransitPeriod() { return transitPeriod; } /** * Sets the value of the transitPeriod property. * * @param value * allowed object is * {@link PeriodType } * */ public void setTransitPeriod(PeriodType value) { this.transitPeriod = value; } /** * * <pre> * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:chc="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:chn="urn:oasis:names:specification:ubl:schema:xsd:ChannelCode-1.0" xmlns:cnt="urn:oasis:names:specification:ubl:schema:xsd:CountryIdentificationCode-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:ero="urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0" xmlns:lat="urn:oasis:names:specification:ubl:schema:xsd:LatitudeDirectionCode-1.0" xmlns:lon="urn:oasis:names:specification:ubl:schema:xsd:LongitudeDirectionCode-1.0" xmlns:lstat="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" xmlns:pty="urn:oasis:names:specification:ubl:schema:xsd:PaymentMeansCode-1.0" xmlns:rsn="urn:oasis:names:specification:ubl:schema:xsd:AllowanceChargeReasonCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:sst="urn:oasis:names:specification:ubl:schema:xsd:SubstitutionStatusCode-1.0" xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Shipment Stage. Carrier_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>associates the shipment stage with information about an individual, a group or a body in the role as carrier party for the shipment stage</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> * </pre> * Gets the value of the carrierParty property. * * <p> * 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 <CODE>set</CODE> method for the carrierParty property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCarrierParty().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link PartyType } * * */ public List<PartyType> getCarrierParty() { if (carrierParty == null) { carrierParty = new ArrayList<PartyType>(); } return this.carrierParty; } }