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

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


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

import java.io.Serializable;
import java.math.BigDecimal;
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.HazardousRiskIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LeadTimeMeasureType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MaximumQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MinimumQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TradingRestrictionsType;


/**
 * 
 * 
 * <?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>Item Location Quantity. Details</ccts:DictionaryEntryName><ccts:Definition>Information about the properties of an item as they relate to specific quantities and/or specific locations.</ccts:Definition><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass></ccts:Component>
 * 
* * *

Java class for ItemLocationQuantityType complex type. * *

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

 * <complexType name="ItemLocationQuantityType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LeadTimeMeasure" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MinimumQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MaximumQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HazardousRiskIndicator" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TradingRestrictions" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ApplicableTerritoryAddress" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Price" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DeliveryUnit" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ApplicableTaxCategory" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ItemLocationQuantityType", propOrder = { "leadTimeMeasure", "minimumQuantity", "maximumQuantity", "hazardousRiskIndicator", "tradingRestrictions", "applicableTerritoryAddress", "price", "deliveryUnit", "applicableTaxCategory" }) public class ItemLocationQuantityType implements Serializable { @XmlElement(name = "LeadTimeMeasure", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private LeadTimeMeasureType leadTimeMeasure; @XmlElement(name = "MinimumQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private MinimumQuantityType minimumQuantity; @XmlElement(name = "MaximumQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private MaximumQuantityType maximumQuantity; @XmlElement(name = "HazardousRiskIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private HazardousRiskIndicatorType hazardousRiskIndicator; @XmlElement(name = "TradingRestrictions", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private List tradingRestrictions; @XmlElement(name = "ApplicableTerritoryAddress") private List applicableTerritoryAddress; @XmlElement(name = "Price") private PriceType price; @XmlElement(name = "DeliveryUnit") private List deliveryUnit; @XmlElement(name = "ApplicableTaxCategory") private List applicableTaxCategory; /** * Default constructor * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * */ public ItemLocationQuantityType() { } /** * *
     * <?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>Item Location Quantity. Lead Time. Measure</ccts:DictionaryEntryName><ccts:Definition>The time taken from the time of order to the time of delivery for an item.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass><ccts:PropertyTerm>Lead Time</ccts:PropertyTerm><ccts:RepresentationTerm>Measure</ccts:RepresentationTerm><ccts:DataType>Measure. Type</ccts:DataType><ccts:Examples>"2 days", "24 hours"</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link LeadTimeMeasureType } * */ @Nullable public LeadTimeMeasureType getLeadTimeMeasure() { return leadTimeMeasure; } /** * Sets the value of the leadTimeMeasure property. * * @param value * allowed object is * {@link LeadTimeMeasureType } * */ public void setLeadTimeMeasure( @Nullable LeadTimeMeasureType value) { this.leadTimeMeasure = 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>Item Location Quantity. Minimum_ Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The minimum quantity that can be ordered to qualify for a specific price.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass><ccts:PropertyTermQualifier>Minimum</ccts:PropertyTermQualifier><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType><ccts:Examples>"10 boxes", "1 carton", "1000 sheets"</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link MinimumQuantityType } * */ @Nullable public MinimumQuantityType getMinimumQuantity() { return minimumQuantity; } /** * Sets the value of the minimumQuantity property. * * @param value * allowed object is * {@link MinimumQuantityType } * */ public void setMinimumQuantity( @Nullable MinimumQuantityType value) { this.minimumQuantity = 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>Item Location Quantity. Maximum_ Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The maximum quantity that can be ordered to qualify for a specific price.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass><ccts:PropertyTermQualifier>Maximum</ccts:PropertyTermQualifier><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType><ccts:Examples>"10 boxes", "1 carton", "1000 sheets"</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link MaximumQuantityType } * */ @Nullable public MaximumQuantityType getMaximumQuantity() { return maximumQuantity; } /** * Sets the value of the maximumQuantity property. * * @param value * allowed object is * {@link MaximumQuantityType } * */ public void setMaximumQuantity( @Nullable MaximumQuantityType value) { this.maximumQuantity = 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>Item Location Quantity. Hazardous Risk_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Indicates whether the item as delivered, in the stated quantity to the stated location, is hazardous.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass><ccts:PropertyTermQualifier>Hazardous Risk</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType><ccts:Examples>Default is negative</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link HazardousRiskIndicatorType } * */ @Nullable public HazardousRiskIndicatorType getHazardousRiskIndicator() { return hazardousRiskIndicator; } /** * Sets the value of the hazardousRiskIndicator property. * * @param value * allowed object is * {@link HazardousRiskIndicatorType } * */ public void setHazardousRiskIndicator( @Nullable HazardousRiskIndicatorType value) { this.hazardousRiskIndicator = 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>Item Location Quantity. Trading Restrictions. Text</ccts:DictionaryEntryName><ccts:Definition>A description of trade restrictions that apply to the item or quantities of the item.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass><ccts:PropertyTerm>Trading Restrictions</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>"not for export"</ccts:Examples></ccts:Component>
     * 
* Gets the value of the tradingRestrictions 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 tradingRestrictions property. * *

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

     *    getTradingRestrictions().add(newItem);
     * 
* * *

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

     * <?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>Item Location Quantity. Applicable Territory_ Address. Address</ccts:DictionaryEntryName><ccts:Definition>An association to Territory (Address).</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass><ccts:PropertyTermQualifier>Applicable Territory</ccts:PropertyTermQualifier><ccts:PropertyTerm>Address</ccts:PropertyTerm><ccts:AssociatedObjectClass>Address</ccts:AssociatedObjectClass></ccts:Component>
     * 
* Gets the value of the applicableTerritoryAddress 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 applicableTerritoryAddress property. * *

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

     *    getApplicableTerritoryAddress().add(newItem);
     * 
* * *

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

     * <?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>Item Location Quantity. Price</ccts:DictionaryEntryName><ccts:Definition>An association to Price.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass><ccts:PropertyTerm>Price</ccts:PropertyTerm><ccts:AssociatedObjectClass>Price</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link PriceType } * */ @Nullable public PriceType getPrice() { return price; } /** * Sets the value of the price property. * * @param value * allowed object is * {@link PriceType } * */ public void setPrice( @Nullable PriceType value) { this.price = 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>Item Location Quantity. Delivery Unit</ccts:DictionaryEntryName><ccts:Definition>An association to Delivery Unit.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass><ccts:PropertyTerm>Delivery Unit</ccts:PropertyTerm><ccts:AssociatedObjectClass>Delivery Unit</ccts:AssociatedObjectClass></ccts:Component>
     * 
* Gets the value of the deliveryUnit 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 deliveryUnit property. * *

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

     *    getDeliveryUnit().add(newItem);
     * 
* * *

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

     * <?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>Item Location Quantity. Applicable_ Tax Category. Tax Category</ccts:DictionaryEntryName><ccts:Definition>An association to Tax Category.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Item Location Quantity</ccts:ObjectClass><ccts:PropertyTermQualifier>Applicable</ccts:PropertyTermQualifier><ccts:PropertyTerm>Tax Category</ccts:PropertyTerm><ccts:AssociatedObjectClass>Tax Category</ccts:AssociatedObjectClass></ccts:Component>
     * 
* Gets the value of the applicableTaxCategory 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 applicableTaxCategory property. * *

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

     *    getApplicableTaxCategory().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TaxCategoryType } * * */ @Nonnull @ReturnsMutableObject(reason = "JAXB implementation style") public List getApplicableTaxCategory() { if (applicableTaxCategory == null) { applicableTaxCategory = new ArrayList(); } return this.applicableTaxCategory; } /** * 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 ItemLocationQuantityType rhs = ((ItemLocationQuantityType) o); if (!EqualsUtils.equals(leadTimeMeasure, rhs.leadTimeMeasure)) { return false; } if (!EqualsUtils.equals(minimumQuantity, rhs.minimumQuantity)) { return false; } if (!EqualsUtils.equals(maximumQuantity, rhs.maximumQuantity)) { return false; } if (!EqualsUtils.equals(hazardousRiskIndicator, rhs.hazardousRiskIndicator)) { return false; } if (!EqualsUtils.equals(tradingRestrictions, rhs.tradingRestrictions)) { return false; } if (!EqualsUtils.equals(applicableTerritoryAddress, rhs.applicableTerritoryAddress)) { return false; } if (!EqualsUtils.equals(price, rhs.price)) { return false; } if (!EqualsUtils.equals(deliveryUnit, rhs.deliveryUnit)) { return false; } if (!EqualsUtils.equals(applicableTaxCategory, rhs.applicableTaxCategory)) { return false; } return true; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public int hashCode() { return new HashCodeGenerator(this).append(leadTimeMeasure).append(minimumQuantity).append(maximumQuantity).append(hazardousRiskIndicator).append(tradingRestrictions).append(applicableTerritoryAddress).append(price).append(deliveryUnit).append(applicableTaxCategory).getHashCode(); } /** * Created by phloc-jaxb22-plugin -Xphloc-tostring * */ @Override public String toString() { return new ToStringGenerator(this).append("leadTimeMeasure", leadTimeMeasure).append("minimumQuantity", minimumQuantity).append("maximumQuantity", maximumQuantity).append("hazardousRiskIndicator", hazardousRiskIndicator).append("tradingRestrictions", tradingRestrictions).append("applicableTerritoryAddress", applicableTerritoryAddress).append("price", price).append("deliveryUnit", deliveryUnit).append("applicableTaxCategory", applicableTaxCategory).toString(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param aList * The new list member to set. May be null. */ public void setTradingRestrictions( @Nullable final List aList) { tradingRestrictions = aList; } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param aList * The new list member to set. May be null. */ public void setApplicableTerritoryAddress( @Nullable final List aList) { applicableTerritoryAddress = aList; } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param aList * The new list member to set. May be null. */ public void setDeliveryUnit( @Nullable final List aList) { deliveryUnit = aList; } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param aList * The new list member to set. May be null. */ public void setApplicableTaxCategory( @Nullable final List aList) { applicableTaxCategory = aList; } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if at least one item is contained, false otherwise. */ public boolean hasTradingRestrictionsEntries() { return (!getTradingRestrictions().isEmpty()); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if no item is contained, false otherwise. */ public boolean hasNoTradingRestrictionsEntries() { return getTradingRestrictions().isEmpty(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getTradingRestrictionsCount() { return getTradingRestrictions().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 TradingRestrictionsType getTradingRestrictionsAtIndex( @Nonnegative final int index) { return getTradingRestrictions().get(index); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if at least one item is contained, false otherwise. */ public boolean hasApplicableTerritoryAddressEntries() { return (!getApplicableTerritoryAddress().isEmpty()); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if no item is contained, false otherwise. */ public boolean hasNoApplicableTerritoryAddressEntries() { return getApplicableTerritoryAddress().isEmpty(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getApplicableTerritoryAddressCount() { return getApplicableTerritoryAddress().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 AddressType getApplicableTerritoryAddressAtIndex( @Nonnegative final int index) { return getApplicableTerritoryAddress().get(index); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if at least one item is contained, false otherwise. */ public boolean hasDeliveryUnitEntries() { return (!getDeliveryUnit().isEmpty()); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if no item is contained, false otherwise. */ public boolean hasNoDeliveryUnitEntries() { return getDeliveryUnit().isEmpty(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getDeliveryUnitCount() { return getDeliveryUnit().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 DeliveryUnitType getDeliveryUnitAtIndex( @Nonnegative final int index) { return getDeliveryUnit().get(index); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if at least one item is contained, false otherwise. */ public boolean hasApplicableTaxCategoryEntries() { return (!getApplicableTaxCategory().isEmpty()); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if no item is contained, false otherwise. */ public boolean hasNoApplicableTaxCategoryEntries() { return getApplicableTaxCategory().isEmpty(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getApplicableTaxCategoryCount() { return getApplicableTaxCategory().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 TaxCategoryType getApplicableTaxCategoryAtIndex( @Nonnegative final int index) { return getApplicableTaxCategory().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 HazardousRiskIndicatorType and never null */ @Nonnull public HazardousRiskIndicatorType setHazardousRiskIndicator(final boolean valueParam) { HazardousRiskIndicatorType aObj = getHazardousRiskIndicator(); if (aObj == null) { aObj = new HazardousRiskIndicatorType(valueParam); setHazardousRiskIndicator(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * 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 LeadTimeMeasureType and never null */ @Nonnull public LeadTimeMeasureType setLeadTimeMeasure( @Nullable final BigDecimal valueParam) { LeadTimeMeasureType aObj = getLeadTimeMeasure(); if (aObj == null) { aObj = new LeadTimeMeasureType(valueParam); setLeadTimeMeasure(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * 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 MinimumQuantityType and never null */ @Nonnull public MinimumQuantityType setMinimumQuantity( @Nullable final BigDecimal valueParam) { MinimumQuantityType aObj = getMinimumQuantity(); if (aObj == null) { aObj = new MinimumQuantityType(valueParam); setMinimumQuantity(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * 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 MaximumQuantityType and never null */ @Nonnull public MaximumQuantityType setMaximumQuantity( @Nullable final BigDecimal valueParam) { MaximumQuantityType aObj = getMaximumQuantity(); if (aObj == null) { aObj = new MaximumQuantityType(valueParam); setMaximumQuantity(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Get the value of the contained LeadTimeMeasureType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained LeadTimeMeasureType object or null */ @Nullable public BigDecimal getLeadTimeMeasureValue() { LeadTimeMeasureType aObj = getLeadTimeMeasure(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained MinimumQuantityType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained MinimumQuantityType object or null */ @Nullable public BigDecimal getMinimumQuantityValue() { MinimumQuantityType aObj = getMinimumQuantity(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained MaximumQuantityType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained MaximumQuantityType object or null */ @Nullable public BigDecimal getMaximumQuantityValue() { MaximumQuantityType aObj = getMaximumQuantity(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained HazardousRiskIndicatorType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param nullValue * The value to be returned, if the owning object is null





© 2015 - 2024 Weber Informatics LLC | Privacy Policy