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

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


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

import java.io.Serializable;
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.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.LossRiskResponsibilityCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LossRiskType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SpecialTermsType;


/**
 * 
 * 
 * <?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>Delivery Terms. Details</ccts:DictionaryEntryName><ccts:Definition>Information about Delivery Terms.</ccts:Definition><ccts:ObjectClass>Delivery Terms</ccts:ObjectClass></ccts:Component>
 * 
* * *

Java class for DeliveryTermsType complex type. * *

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

 * <complexType name="DeliveryTermsType">
 *   <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}SpecialTerms" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LossRiskResponsibilityCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LossRisk" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DeliveryLocation" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AllowanceCharge" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DeliveryTermsType", propOrder = { "id", "specialTerms", "lossRiskResponsibilityCode", "lossRisk", "deliveryLocation", "allowanceCharge" }) public class DeliveryTermsType implements Serializable { @XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private IDType id; @XmlElement(name = "SpecialTerms", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private SpecialTermsType specialTerms; @XmlElement(name = "LossRiskResponsibilityCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private LossRiskResponsibilityCodeType lossRiskResponsibilityCode; @XmlElement(name = "LossRisk", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private LossRiskType lossRisk; @XmlElement(name = "DeliveryLocation") private LocationType deliveryLocation; @XmlElement(name = "AllowanceCharge") private AllowanceChargeType allowanceCharge; /** * Default constructor * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * */ public DeliveryTermsType() { } /** * *
     * <?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>Delivery Terms. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the Delivery Terms.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Delivery Terms</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>CIF, FOB, or EXW from the INCOTERMS Terms of Delivery. (2000 version preferred.)</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>Delivery Terms. Special_ Terms. Text</ccts:DictionaryEntryName><ccts:Definition>A description of special conditions relating to the Delivery Terms.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Delivery Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Special</ccts:PropertyTermQualifier><ccts:PropertyTerm>Terms</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link SpecialTermsType } * */ @Nullable public SpecialTermsType getSpecialTerms() { return specialTerms; } /** * Sets the value of the specialTerms property. * * @param value * allowed object is * {@link SpecialTermsType } * */ public void setSpecialTerms( @Nullable SpecialTermsType value) { this.specialTerms = 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>Delivery Terms. Loss Risk Responsibility Code. Code</ccts:DictionaryEntryName><ccts:Definition>An identifier for the responsibility for loss risk in the context of the Delivery Terms, expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Delivery Terms</ccts:ObjectClass><ccts:PropertyTerm>Loss Risk Responsibility Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link LossRiskResponsibilityCodeType } * */ @Nullable public LossRiskResponsibilityCodeType getLossRiskResponsibilityCode() { return lossRiskResponsibilityCode; } /** * Sets the value of the lossRiskResponsibilityCode property. * * @param value * allowed object is * {@link LossRiskResponsibilityCodeType } * */ public void setLossRiskResponsibilityCode( @Nullable LossRiskResponsibilityCodeType value) { this.lossRiskResponsibilityCode = 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>Delivery Terms. Loss Risk. Text</ccts:DictionaryEntryName><ccts:Definition>A description of the loss risk in the context of the Delivery Terms.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Delivery Terms</ccts:ObjectClass><ccts:PropertyTerm>Loss Risk</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link LossRiskType } * */ @Nullable public LossRiskType getLossRisk() { return lossRisk; } /** * Sets the value of the lossRisk property. * * @param value * allowed object is * {@link LossRiskType } * */ public void setLossRisk( @Nullable LossRiskType value) { this.lossRisk = 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>Delivery Terms. Delivery_ Location. Location</ccts:DictionaryEntryName><ccts:Definition>An association to Location, e.g., a port.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Delivery Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Delivery</ccts:PropertyTermQualifier><ccts:PropertyTerm>Location</ccts:PropertyTerm><ccts:AssociatedObjectClass>Location</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link LocationType } * */ @Nullable public LocationType getDeliveryLocation() { return deliveryLocation; } /** * Sets the value of the deliveryLocation property. * * @param value * allowed object is * {@link LocationType } * */ public void setDeliveryLocation( @Nullable LocationType value) { this.deliveryLocation = 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>Delivery Terms. Allowance Charge</ccts:DictionaryEntryName><ccts:Definition>An association to Allowance Charge.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Delivery Terms</ccts:ObjectClass><ccts:PropertyTerm>Allowance Charge</ccts:PropertyTerm><ccts:AssociatedObjectClass>Allowance Charge</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link AllowanceChargeType } * */ @Nullable public AllowanceChargeType getAllowanceCharge() { return allowanceCharge; } /** * Sets the value of the allowanceCharge property. * * @param value * allowed object is * {@link AllowanceChargeType } * */ public void setAllowanceCharge( @Nullable AllowanceChargeType value) { this.allowanceCharge = 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 DeliveryTermsType rhs = ((DeliveryTermsType) o); if (!EqualsUtils.equals(id, rhs.id)) { return false; } if (!EqualsUtils.equals(specialTerms, rhs.specialTerms)) { return false; } if (!EqualsUtils.equals(lossRiskResponsibilityCode, rhs.lossRiskResponsibilityCode)) { return false; } if (!EqualsUtils.equals(lossRisk, rhs.lossRisk)) { return false; } if (!EqualsUtils.equals(deliveryLocation, rhs.deliveryLocation)) { return false; } if (!EqualsUtils.equals(allowanceCharge, rhs.allowanceCharge)) { return false; } return true; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public int hashCode() { return new HashCodeGenerator(this).append(id).append(specialTerms).append(lossRiskResponsibilityCode).append(lossRisk).append(deliveryLocation).append(allowanceCharge).getHashCode(); } /** * Created by phloc-jaxb22-plugin -Xphloc-tostring * */ @Override public String toString() { return new ToStringGenerator(this).append("id", id).append("specialTerms", specialTerms).append("lossRiskResponsibilityCode", lossRiskResponsibilityCode).append("lossRisk", lossRisk).append("deliveryLocation", deliveryLocation).append("allowanceCharge", allowanceCharge).toString(); } /** * 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 SpecialTermsType and never null */ @Nonnull public SpecialTermsType setSpecialTerms( @Nullable final String valueParam) { SpecialTermsType aObj = getSpecialTerms(); if (aObj == null) { aObj = new SpecialTermsType(valueParam); setSpecialTerms(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 LossRiskType and never null */ @Nonnull public LossRiskType setLossRisk( @Nullable final String valueParam) { LossRiskType aObj = getLossRisk(); if (aObj == null) { aObj = new LossRiskType(valueParam); setLossRisk(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 LossRiskResponsibilityCodeType and never null */ @Nonnull public LossRiskResponsibilityCodeType setLossRiskResponsibilityCode( @Nullable final String valueParam) { LossRiskResponsibilityCodeType aObj = getLossRiskResponsibilityCode(); if (aObj == null) { aObj = new LossRiskResponsibilityCodeType(valueParam); setLossRiskResponsibilityCode(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 SpecialTermsType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained SpecialTermsType object or null */ @Nullable public String getSpecialTermsValue() { SpecialTermsType aObj = getSpecialTerms(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained LossRiskResponsibilityCodeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained LossRiskResponsibilityCodeType object or null */ @Nullable public String getLossRiskResponsibilityCodeValue() { LossRiskResponsibilityCodeType aObj = getLossRiskResponsibilityCode(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained LossRiskType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained LossRiskType object or null */ @Nullable public String getLossRiskValue() { LossRiskType aObj = getLossRisk(); return ((aObj == null)?null:aObj.getValue()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy