oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.CertificateOfOriginApplicationType 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.ApplicationStatusCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CertificateTypeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.OriginalJobIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PreviousJobIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReferenceIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RemarksType;
/**
*
*
* <?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>Certificate Of Origin Application. Details</ccts:DictionaryEntryName><ccts:Definition>A document that contains information of CO application.</ccts:Definition><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass></ccts:Component>
*
*
*
* Java class for CertificateOfOriginApplicationType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CertificateOfOriginApplicationType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferenceID"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CertificateType"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ApplicationStatusCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OriginalJobID"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PreviousJobID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Remarks" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Shipment"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}EndorserParty" maxOccurs="unbounded"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PreparationParty"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}IssuerParty"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}IssuingCountry"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DocumentDistribution" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}SupportingDocumentReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Signature" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CertificateOfOriginApplicationType", propOrder = {
"referenceID",
"certificateType",
"applicationStatusCode",
"originalJobID",
"previousJobID",
"remarks",
"shipment",
"endorserParty",
"preparationParty",
"issuerParty",
"issuingCountry",
"documentDistribution",
"supportingDocumentReference",
"signature"
})
public class CertificateOfOriginApplicationType implements Serializable
{
@XmlElement(name = "ReferenceID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
private ReferenceIDType referenceID;
@XmlElement(name = "CertificateType", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
private CertificateTypeType certificateType;
@XmlElement(name = "ApplicationStatusCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private ApplicationStatusCodeType applicationStatusCode;
@XmlElement(name = "OriginalJobID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
private OriginalJobIDType originalJobID;
@XmlElement(name = "PreviousJobID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private PreviousJobIDType previousJobID;
@XmlElement(name = "Remarks", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private RemarksType remarks;
@XmlElement(name = "Shipment", required = true)
private ShipmentType shipment;
@XmlElement(name = "EndorserParty", required = true)
private List endorserParty;
@XmlElement(name = "PreparationParty", required = true)
private PartyType preparationParty;
@XmlElement(name = "IssuerParty", required = true)
private PartyType issuerParty;
@XmlElement(name = "IssuingCountry", required = true)
private CountryType issuingCountry;
@XmlElement(name = "DocumentDistribution")
private List documentDistribution;
@XmlElement(name = "SupportingDocumentReference")
private List supportingDocumentReference;
@XmlElement(name = "Signature")
private List signature;
/**
* Default constructor
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
*/
public CertificateOfOriginApplicationType() {
}
/**
*
*
* <?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>Certificate Of Origin Application. Reference. Identifier</ccts:DictionaryEntryName><ccts:Definition>Holds the unique number that identifies the Despatch Advice, typically according to the seller's system that generated the Despatch Advice.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTerm>Reference</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ReferenceIDType }
*
*/
@Nullable
public ReferenceIDType getReferenceID() {
return referenceID;
}
/**
* Sets the value of the referenceID property.
*
* @param value
* allowed object is
* {@link ReferenceIDType }
*
*/
public void setReferenceID(
@Nullable
ReferenceIDType value) {
this.referenceID = 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>Certificate Of Origin Application. Certificate Type. Text</ccts:DictionaryEntryName><ccts:Definition>Type of CO. Type could be Ordinary, Re-export, Commonwealth Preferential etc.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTerm>Certificate Type</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link CertificateTypeType }
*
*/
@Nullable
public CertificateTypeType getCertificateType() {
return certificateType;
}
/**
* Sets the value of the certificateType property.
*
* @param value
* allowed object is
* {@link CertificateTypeType }
*
*/
public void setCertificateType(
@Nullable
CertificateTypeType value) {
this.certificateType = 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>Certificate Of Origin Application. Application Status Code. Code</ccts:DictionaryEntryName><ccts:Definition>Indicates the status of the application (revision, replacement, etc.).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTerm>Application Status Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ApplicationStatusCodeType }
*
*/
@Nullable
public ApplicationStatusCodeType getApplicationStatusCode() {
return applicationStatusCode;
}
/**
* Sets the value of the applicationStatusCode property.
*
* @param value
* allowed object is
* {@link ApplicationStatusCodeType }
*
*/
public void setApplicationStatusCode(
@Nullable
ApplicationStatusCodeType value) {
this.applicationStatusCode = 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>Certificate Of Origin Application. Original_ Job Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>The latest Job Number given to the Origin application. This is used by the system to keep track of the amendments or cancellation of the origin application applied earlier.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTermQualifier>Original</ccts:PropertyTermQualifier><ccts:PropertyTerm>Job Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link OriginalJobIDType }
*
*/
@Nullable
public OriginalJobIDType getOriginalJobID() {
return originalJobID;
}
/**
* Sets the value of the originalJobID property.
*
* @param value
* allowed object is
* {@link OriginalJobIDType }
*
*/
public void setOriginalJobID(
@Nullable
OriginalJobIDType value) {
this.originalJobID = 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>Certificate Of Origin Application. Previous_ Job Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>The previous Job Number assigned in case the application undergoes query or change. This is used by the system to keep track of the amendments or cancellation of the origin application applied earlier.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTermQualifier>Previous</ccts:PropertyTermQualifier><ccts:PropertyTerm>Job Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link PreviousJobIDType }
*
*/
@Nullable
public PreviousJobIDType getPreviousJobID() {
return previousJobID;
}
/**
* Sets the value of the previousJobID property.
*
* @param value
* allowed object is
* {@link PreviousJobIDType }
*
*/
public void setPreviousJobID(
@Nullable
PreviousJobIDType value) {
this.previousJobID = 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>Certificate Of Origin Application. Remarks. Text</ccts:DictionaryEntryName><ccts:Definition>Remarks by the applicant for the Certificate of Origin Application.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTerm>Remarks</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link RemarksType }
*
*/
@Nullable
public RemarksType getRemarks() {
return remarks;
}
/**
* Sets the value of the remarks property.
*
* @param value
* allowed object is
* {@link RemarksType }
*
*/
public void setRemarks(
@Nullable
RemarksType value) {
this.remarks = 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>Certificate Of Origin Application. Shipment</ccts:DictionaryEntryName><ccts:Definition>Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTerm>Shipment</ccts:PropertyTerm><ccts:AssociatedObjectClass>Shipment</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ShipmentType }
*
*/
@Nullable
public ShipmentType getShipment() {
return shipment;
}
/**
* Sets the value of the shipment property.
*
* @param value
* allowed object is
* {@link ShipmentType }
*
*/
public void setShipment(
@Nullable
ShipmentType value) {
this.shipment = 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>Certificate Of Origin Application. Endorser Party</ccts:DictionaryEntryName><ccts:Definition>The party providing the endorsement.</ccts:Definition><ccts:Cardinality>1..n</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTerm>Endorser Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Endorser Party</ccts:AssociatedObjectClass></ccts:Component>
*
* Gets the value of the endorserParty 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 endorserParty property.
*
*
* For example, to add a new item, do as follows:
*
* getEndorserParty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EndorserPartyType }
*
*
*/
@Nonnull
@ReturnsMutableObject(reason = "JAXB implementation style")
public List getEndorserParty() {
if (endorserParty == null) {
endorserParty = new ArrayList();
}
return this.endorserParty;
}
/**
*
*
* <?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>Certificate Of Origin Application. Preparation_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>Details of an individual, a group, or a body that prepares the Certificate of Origin application.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTermQualifier>Preparation</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link PartyType }
*
*/
@Nullable
public PartyType getPreparationParty() {
return preparationParty;
}
/**
* Sets the value of the preparationParty property.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setPreparationParty(
@Nullable
PartyType value) {
this.preparationParty = 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>Certificate Of Origin Application. Issuer_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>Details of the authorized organization that issued the Certificate of Origin.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTermQualifier>Issuer</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link PartyType }
*
*/
@Nullable
public PartyType getIssuerParty() {
return issuerParty;
}
/**
* Sets the value of the issuerParty property.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setIssuerParty(
@Nullable
PartyType value) {
this.issuerParty = 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>Certificate Of Origin Application. Issuing_ Country. Country</ccts:DictionaryEntryName><ccts:Definition>The country for which the Certificate of Origin is issued.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTermQualifier>Issuing</ccts:PropertyTermQualifier><ccts:PropertyTerm>Country</ccts:PropertyTerm><ccts:AssociatedObjectClass>Country</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link CountryType }
*
*/
@Nullable
public CountryType getIssuingCountry() {
return issuingCountry;
}
/**
* Sets the value of the issuingCountry property.
*
* @param value
* allowed object is
* {@link CountryType }
*
*/
public void setIssuingCountry(
@Nullable
CountryType value) {
this.issuingCountry = 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>Certificate Of Origin Application. Document Distribution</ccts:DictionaryEntryName><ccts:Definition>The distribution of the Certificate of Origin to interested parties.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTerm>Document Distribution</ccts:PropertyTerm><ccts:AssociatedObjectClass>Document Distribution</ccts:AssociatedObjectClass></ccts:Component>
*
* Gets the value of the documentDistribution 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 documentDistribution property.
*
*
* For example, to add a new item, do as follows:
*
* getDocumentDistribution().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentDistributionType }
*
*
*/
@Nonnull
@ReturnsMutableObject(reason = "JAXB implementation style")
public List getDocumentDistribution() {
if (documentDistribution == null) {
documentDistribution = new ArrayList();
}
return this.documentDistribution;
}
/**
*
*
* <?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>Certificate Of Origin Application. Supporting_ Document Reference. Document Reference</ccts:DictionaryEntryName><ccts:Definition>An associative reference to a supporting document.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTermQualifier>Supporting</ccts:PropertyTermQualifier><ccts:PropertyTerm>Document Reference</ccts:PropertyTerm><ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass></ccts:Component>
*
* Gets the value of the supportingDocumentReference 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 supportingDocumentReference property.
*
*
* For example, to add a new item, do as follows:
*
* getSupportingDocumentReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentReferenceType }
*
*
*/
@Nonnull
@ReturnsMutableObject(reason = "JAXB implementation style")
public List getSupportingDocumentReference() {
if (supportingDocumentReference == null) {
supportingDocumentReference = new ArrayList();
}
return this.supportingDocumentReference;
}
/**
*
*
* <?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>Certificate Of Origin Application. Signature</ccts:DictionaryEntryName><ccts:Definition>One or more signatures applied to the document instance.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Certificate Of Origin Application</ccts:ObjectClass><ccts:PropertyTerm>Signature</ccts:PropertyTerm><ccts:AssociatedObjectClass>Signature</ccts:AssociatedObjectClass></ccts:Component>
*
* Gets the value of the signature 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 signature property.
*
*
* For example, to add a new item, do as follows:
*
* getSignature().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SignatureType }
*
*
*/
@Nonnull
@ReturnsMutableObject(reason = "JAXB implementation style")
public List getSignature() {
if (signature == null) {
signature = new ArrayList();
}
return this.signature;
}
/**
* 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 CertificateOfOriginApplicationType rhs = ((CertificateOfOriginApplicationType) o);
if (!EqualsUtils.equals(referenceID, rhs.referenceID)) {
return false;
}
if (!EqualsUtils.equals(certificateType, rhs.certificateType)) {
return false;
}
if (!EqualsUtils.equals(applicationStatusCode, rhs.applicationStatusCode)) {
return false;
}
if (!EqualsUtils.equals(originalJobID, rhs.originalJobID)) {
return false;
}
if (!EqualsUtils.equals(previousJobID, rhs.previousJobID)) {
return false;
}
if (!EqualsUtils.equals(remarks, rhs.remarks)) {
return false;
}
if (!EqualsUtils.equals(shipment, rhs.shipment)) {
return false;
}
if (!EqualsUtils.equals(endorserParty, rhs.endorserParty)) {
return false;
}
if (!EqualsUtils.equals(preparationParty, rhs.preparationParty)) {
return false;
}
if (!EqualsUtils.equals(issuerParty, rhs.issuerParty)) {
return false;
}
if (!EqualsUtils.equals(issuingCountry, rhs.issuingCountry)) {
return false;
}
if (!EqualsUtils.equals(documentDistribution, rhs.documentDistribution)) {
return false;
}
if (!EqualsUtils.equals(supportingDocumentReference, rhs.supportingDocumentReference)) {
return false;
}
if (!EqualsUtils.equals(signature, rhs.signature)) {
return false;
}
return true;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-equalshashcode
*
*/
@Override
public int hashCode() {
return new HashCodeGenerator(this).append(referenceID).append(certificateType).append(applicationStatusCode).append(originalJobID).append(previousJobID).append(remarks).append(shipment).append(endorserParty).append(preparationParty).append(issuerParty).append(issuingCountry).append(documentDistribution).append(supportingDocumentReference).append(signature).getHashCode();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-tostring
*
*/
@Override
public String toString() {
return new ToStringGenerator(this).append("referenceID", referenceID).append("certificateType", certificateType).append("applicationStatusCode", applicationStatusCode).append("originalJobID", originalJobID).append("previousJobID", previousJobID).append("remarks", remarks).append("shipment", shipment).append("endorserParty", endorserParty).append("preparationParty", preparationParty).append("issuerParty", issuerParty).append("issuingCountry", issuingCountry).append("documentDistribution", documentDistribution).append("supportingDocumentReference", supportingDocumentReference).append("signature", signature).toString();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param aList
* The new list member to set. May be null
.
*/
public void setEndorserParty(
@Nullable
final List aList) {
endorserParty = aList;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param aList
* The new list member to set. May be null
.
*/
public void setDocumentDistribution(
@Nullable
final List aList) {
documentDistribution = aList;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param aList
* The new list member to set. May be null
.
*/
public void setSupportingDocumentReference(
@Nullable
final List aList) {
supportingDocumentReference = aList;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param aList
* The new list member to set. May be null
.
*/
public void setSignature(
@Nullable
final List aList) {
signature = aList;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if at least one item is contained, false
otherwise.
*/
public boolean hasEndorserPartyEntries() {
return (!getEndorserParty().isEmpty());
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if no item is contained, false
otherwise.
*/
public boolean hasNoEndorserPartyEntries() {
return getEndorserParty().isEmpty();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* The number of contained elements. Always ≥ 0.
*/
@Nonnegative
public int getEndorserPartyCount() {
return getEndorserParty().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 EndorserPartyType getEndorserPartyAtIndex(
@Nonnegative
final int index) {
return getEndorserParty().get(index);
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if at least one item is contained, false
otherwise.
*/
public boolean hasDocumentDistributionEntries() {
return (!getDocumentDistribution().isEmpty());
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if no item is contained, false
otherwise.
*/
public boolean hasNoDocumentDistributionEntries() {
return getDocumentDistribution().isEmpty();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* The number of contained elements. Always ≥ 0.
*/
@Nonnegative
public int getDocumentDistributionCount() {
return getDocumentDistribution().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 DocumentDistributionType getDocumentDistributionAtIndex(
@Nonnegative
final int index) {
return getDocumentDistribution().get(index);
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if at least one item is contained, false
otherwise.
*/
public boolean hasSupportingDocumentReferenceEntries() {
return (!getSupportingDocumentReference().isEmpty());
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if no item is contained, false
otherwise.
*/
public boolean hasNoSupportingDocumentReferenceEntries() {
return getSupportingDocumentReference().isEmpty();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* The number of contained elements. Always ≥ 0.
*/
@Nonnegative
public int getSupportingDocumentReferenceCount() {
return getSupportingDocumentReference().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 DocumentReferenceType getSupportingDocumentReferenceAtIndex(
@Nonnegative
final int index) {
return getSupportingDocumentReference().get(index);
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if at least one item is contained, false
otherwise.
*/
public boolean hasSignatureEntries() {
return (!getSignature().isEmpty());
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if no item is contained, false
otherwise.
*/
public boolean hasNoSignatureEntries() {
return getSignature().isEmpty();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* The number of contained elements. Always ≥ 0.
*/
@Nonnegative
public int getSignatureCount() {
return getSignature().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 SignatureType getSignatureAtIndex(
@Nonnegative
final int index) {
return getSignature().get(index);
}
/**
* 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 CertificateTypeType and never null
*/
@Nonnull
public CertificateTypeType setCertificateType(
@Nullable
final String valueParam) {
CertificateTypeType aObj = getCertificateType();
if (aObj == null) {
aObj = new CertificateTypeType(valueParam);
setCertificateType(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 RemarksType and never null
*/
@Nonnull
public RemarksType setRemarks(
@Nullable
final String valueParam) {
RemarksType aObj = getRemarks();
if (aObj == null) {
aObj = new RemarksType(valueParam);
setRemarks(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 ReferenceIDType and never null
*/
@Nonnull
public ReferenceIDType setReferenceID(
@Nullable
final String valueParam) {
ReferenceIDType aObj = getReferenceID();
if (aObj == null) {
aObj = new ReferenceIDType(valueParam);
setReferenceID(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 OriginalJobIDType and never null
*/
@Nonnull
public OriginalJobIDType setOriginalJobID(
@Nullable
final String valueParam) {
OriginalJobIDType aObj = getOriginalJobID();
if (aObj == null) {
aObj = new OriginalJobIDType(valueParam);
setOriginalJobID(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 PreviousJobIDType and never null
*/
@Nonnull
public PreviousJobIDType setPreviousJobID(
@Nullable
final String valueParam) {
PreviousJobIDType aObj = getPreviousJobID();
if (aObj == null) {
aObj = new PreviousJobIDType(valueParam);
setPreviousJobID(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 ApplicationStatusCodeType and never null
*/
@Nonnull
public ApplicationStatusCodeType setApplicationStatusCode(
@Nullable
final String valueParam) {
ApplicationStatusCodeType aObj = getApplicationStatusCode();
if (aObj == null) {
aObj = new ApplicationStatusCodeType(valueParam);
setApplicationStatusCode(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Get the value of the contained ReferenceIDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ReferenceIDType object or null
*/
@Nullable
public String getReferenceIDValue() {
ReferenceIDType aObj = getReferenceID();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained CertificateTypeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained CertificateTypeType object or null
*/
@Nullable
public String getCertificateTypeValue() {
CertificateTypeType aObj = getCertificateType();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained ApplicationStatusCodeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ApplicationStatusCodeType object or null
*/
@Nullable
public String getApplicationStatusCodeValue() {
ApplicationStatusCodeType aObj = getApplicationStatusCode();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained OriginalJobIDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained OriginalJobIDType object or null
*/
@Nullable
public String getOriginalJobIDValue() {
OriginalJobIDType aObj = getOriginalJobID();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained PreviousJobIDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained PreviousJobIDType object or null
*/
@Nullable
public String getPreviousJobIDValue() {
PreviousJobIDType aObj = getPreviousJobID();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained RemarksType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained RemarksType object or null
*/
@Nullable
public String getRemarksValue() {
RemarksType aObj = getRemarks();
return ((aObj == null)?null:aObj.getValue());
}
}