@CodingStyleguideUnaware public class TradePriceType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for TradePriceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradePriceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:100}PriceTypeCodeType" minOccurs="0"/>
<element name="ChargeAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}AmountType" maxOccurs="unbounded"/>
<element name="BasisQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}QuantityType" minOccurs="0"/>
<element name="MinimumQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}QuantityType" minOccurs="0"/>
<element name="MaximumQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}QuantityType" minOccurs="0"/>
<element name="ChangeReason" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="OrderUnitConversionFactorNumeric" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}NumericType" minOccurs="0"/>
<element name="AppliedTradeAllowanceCharge" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TradeAllowanceChargeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ValiditySpecifiedPeriod" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}SpecifiedPeriodType" minOccurs="0"/>
<element name="IncludedTradeTax" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TradeTaxType" maxOccurs="unbounded" minOccurs="0"/>
<element name="DeliveryTradeLocation" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TradeLocationType" maxOccurs="unbounded" minOccurs="0"/>
<element name="TradeComparisonReferencePrice" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}ReferencePriceType" maxOccurs="unbounded" minOccurs="0"/>
<element name="AssociatedReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
TradePriceType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addAppliedTradeAllowanceCharge(TradeAllowanceChargeType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addAssociatedReferencedDocument(ReferencedDocumentType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addChangeReason(TextType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addChargeAmount(AmountType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addDeliveryTradeLocation(TradeLocationType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addIncludedTradeTax(TradeTaxType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addTradeComparisonReferencePrice(ReferencePriceType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
TradePriceType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(TradePriceType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<TradeAllowanceChargeType> |
getAppliedTradeAllowanceCharge()
Gets the value of the appliedTradeAllowanceCharge property.
|
TradeAllowanceChargeType |
getAppliedTradeAllowanceChargeAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getAppliedTradeAllowanceChargeCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<ReferencedDocumentType> |
getAssociatedReferencedDocument()
Gets the value of the associatedReferencedDocument property.
|
ReferencedDocumentType |
getAssociatedReferencedDocumentAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getAssociatedReferencedDocumentCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
QuantityType |
getBasisQuantity()
Gets the value of the basisQuantity property.
|
BigDecimal |
getBasisQuantityValue()
Get the value of the contained QuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<TextType> |
getChangeReason()
Gets the value of the changeReason property.
|
TextType |
getChangeReasonAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getChangeReasonCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<AmountType> |
getChargeAmount()
Gets the value of the chargeAmount property.
|
AmountType |
getChargeAmountAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getChargeAmountCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<TradeLocationType> |
getDeliveryTradeLocation()
Gets the value of the deliveryTradeLocation property.
|
TradeLocationType |
getDeliveryTradeLocationAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDeliveryTradeLocationCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<TradeTaxType> |
getIncludedTradeTax()
Gets the value of the includedTradeTax property.
|
TradeTaxType |
getIncludedTradeTaxAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getIncludedTradeTaxCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
QuantityType |
getMaximumQuantity()
Gets the value of the maximumQuantity property.
|
BigDecimal |
getMaximumQuantityValue()
Get the value of the contained QuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
QuantityType |
getMinimumQuantity()
Gets the value of the minimumQuantity property.
|
BigDecimal |
getMinimumQuantityValue()
Get the value of the contained QuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
NumericType |
getOrderUnitConversionFactorNumeric()
Gets the value of the orderUnitConversionFactorNumeric property.
|
BigDecimal |
getOrderUnitConversionFactorNumericValue()
Get the value of the contained NumericType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<ReferencePriceType> |
getTradeComparisonReferencePrice()
Gets the value of the tradeComparisonReferencePrice property.
|
ReferencePriceType |
getTradeComparisonReferencePriceAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getTradeComparisonReferencePriceCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
PriceTypeCodeType |
getTypeCode()
Gets the value of the typeCode property.
|
String |
getTypeCodeValue()
Get the value of the contained PriceTypeCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
SpecifiedPeriodType |
getValiditySpecifiedPeriod()
Gets the value of the validitySpecifiedPeriod property.
|
boolean |
hasAppliedTradeAllowanceChargeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasAssociatedReferencedDocumentEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasChangeReasonEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasChargeAmountEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasDeliveryTradeLocationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasIncludedTradeTaxEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoAppliedTradeAllowanceChargeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoAssociatedReferencedDocumentEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoChangeReasonEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoChargeAmountEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoDeliveryTradeLocationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoIncludedTradeTaxEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoTradeComparisonReferencePriceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasTradeComparisonReferencePriceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAppliedTradeAllowanceCharge(List<TradeAllowanceChargeType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAssociatedReferencedDocument(List<ReferencedDocumentType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
QuantityType |
setBasisQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setBasisQuantity(QuantityType value)
Sets the value of the basisQuantity property.
|
void |
setChangeReason(List<TextType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setChargeAmount(List<AmountType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDeliveryTradeLocation(List<TradeLocationType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setIncludedTradeTax(List<TradeTaxType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
QuantityType |
setMaximumQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setMaximumQuantity(QuantityType value)
Sets the value of the maximumQuantity property.
|
QuantityType |
setMinimumQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setMinimumQuantity(QuantityType value)
Sets the value of the minimumQuantity property.
|
NumericType |
setOrderUnitConversionFactorNumeric(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setOrderUnitConversionFactorNumeric(NumericType value)
Sets the value of the orderUnitConversionFactorNumeric property.
|
void |
setTradeComparisonReferencePrice(List<ReferencePriceType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setTypeCode(PriceTypeCodeType value)
Sets the value of the typeCode property.
|
PriceTypeCodeType |
setTypeCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setValiditySpecifiedPeriod(SpecifiedPeriodType value)
Sets the value of the validitySpecifiedPeriod property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public TradePriceType()
@Nullable public PriceTypeCodeType getTypeCode()
PriceTypeCodeTypepublic void setTypeCode(@Nullable PriceTypeCodeType value)
value - allowed object is
PriceTypeCodeType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<AmountType> getChargeAmount()
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 chargeAmount property.
For example, to add a new item, do as follows:
getChargeAmount().add(newItem);
Objects of the following type(s) are allowed in the list
AmountType
@Nullable public QuantityType getBasisQuantity()
QuantityTypepublic void setBasisQuantity(@Nullable QuantityType value)
value - allowed object is
QuantityType@Nullable public QuantityType getMinimumQuantity()
QuantityTypepublic void setMinimumQuantity(@Nullable QuantityType value)
value - allowed object is
QuantityType@Nullable public QuantityType getMaximumQuantity()
QuantityTypepublic void setMaximumQuantity(@Nullable QuantityType value)
value - allowed object is
QuantityType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TextType> getChangeReason()
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 changeReason property.
For example, to add a new item, do as follows:
getChangeReason().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
@Nullable public NumericType getOrderUnitConversionFactorNumeric()
NumericTypepublic void setOrderUnitConversionFactorNumeric(@Nullable NumericType value)
value - allowed object is
NumericType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TradeAllowanceChargeType> getAppliedTradeAllowanceCharge()
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 appliedTradeAllowanceCharge property.
For example, to add a new item, do as follows:
getAppliedTradeAllowanceCharge().add(newItem);
Objects of the following type(s) are allowed in the list
TradeAllowanceChargeType
@Nullable public SpecifiedPeriodType getValiditySpecifiedPeriod()
SpecifiedPeriodTypepublic void setValiditySpecifiedPeriod(@Nullable SpecifiedPeriodType value)
value - allowed object is
SpecifiedPeriodType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TradeTaxType> getIncludedTradeTax()
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 includedTradeTax property.
For example, to add a new item, do as follows:
getIncludedTradeTax().add(newItem);
Objects of the following type(s) are allowed in the list
TradeTaxType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TradeLocationType> getDeliveryTradeLocation()
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 deliveryTradeLocation property.
For example, to add a new item, do as follows:
getDeliveryTradeLocation().add(newItem);
Objects of the following type(s) are allowed in the list
TradeLocationType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<ReferencePriceType> getTradeComparisonReferencePrice()
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 tradeComparisonReferencePrice property.
For example, to add a new item, do as follows:
getTradeComparisonReferencePrice().add(newItem);
Objects of the following type(s) are allowed in the list
ReferencePriceType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<ReferencedDocumentType> getAssociatedReferencedDocument()
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 associatedReferencedDocument property.
For example, to add a new item, do as follows:
getAssociatedReferencedDocument().add(newItem);
Objects of the following type(s) are allowed in the list
ReferencedDocumentType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setChargeAmount(@Nullable List<AmountType> aList)
aList - The new list member to set. May be null.public void setChangeReason(@Nullable List<TextType> aList)
aList - The new list member to set. May be null.public void setAppliedTradeAllowanceCharge(@Nullable List<TradeAllowanceChargeType> aList)
aList - The new list member to set. May be null.public void setIncludedTradeTax(@Nullable List<TradeTaxType> aList)
aList - The new list member to set. May be null.public void setDeliveryTradeLocation(@Nullable List<TradeLocationType> aList)
aList - The new list member to set. May be null.public void setTradeComparisonReferencePrice(@Nullable List<ReferencePriceType> aList)
aList - The new list member to set. May be null.public void setAssociatedReferencedDocument(@Nullable List<ReferencedDocumentType> aList)
aList - The new list member to set. May be null.public boolean hasChargeAmountEntries()
true if at least one item is contained, false otherwise.public boolean hasNoChargeAmountEntries()
true if no item is contained, false otherwise.@Nonnegative public int getChargeAmountCount()
@Nullable public AmountType getChargeAmountAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addChargeAmount(@Nonnull AmountType elem)
elem - The element to be added. May not be null.public boolean hasChangeReasonEntries()
true if at least one item is contained, false otherwise.public boolean hasNoChangeReasonEntries()
true if no item is contained, false otherwise.@Nonnegative public int getChangeReasonCount()
@Nullable public TextType getChangeReasonAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addChangeReason(@Nonnull TextType elem)
elem - The element to be added. May not be null.public boolean hasAppliedTradeAllowanceChargeEntries()
true if at least one item is contained, false otherwise.public boolean hasNoAppliedTradeAllowanceChargeEntries()
true if no item is contained, false otherwise.@Nonnegative public int getAppliedTradeAllowanceChargeCount()
@Nullable public TradeAllowanceChargeType getAppliedTradeAllowanceChargeAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addAppliedTradeAllowanceCharge(@Nonnull TradeAllowanceChargeType elem)
elem - The element to be added. May not be null.public boolean hasIncludedTradeTaxEntries()
true if at least one item is contained, false otherwise.public boolean hasNoIncludedTradeTaxEntries()
true if no item is contained, false otherwise.@Nonnegative public int getIncludedTradeTaxCount()
@Nullable public TradeTaxType getIncludedTradeTaxAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addIncludedTradeTax(@Nonnull TradeTaxType elem)
elem - The element to be added. May not be null.public boolean hasDeliveryTradeLocationEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDeliveryTradeLocationEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDeliveryTradeLocationCount()
@Nullable public TradeLocationType getDeliveryTradeLocationAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addDeliveryTradeLocation(@Nonnull TradeLocationType elem)
elem - The element to be added. May not be null.public boolean hasTradeComparisonReferencePriceEntries()
true if at least one item is contained, false otherwise.public boolean hasNoTradeComparisonReferencePriceEntries()
true if no item is contained, false otherwise.@Nonnegative public int getTradeComparisonReferencePriceCount()
@Nullable public ReferencePriceType getTradeComparisonReferencePriceAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addTradeComparisonReferencePrice(@Nonnull ReferencePriceType elem)
elem - The element to be added. May not be null.public boolean hasAssociatedReferencedDocumentEntries()
true if at least one item is contained, false otherwise.public boolean hasNoAssociatedReferencedDocumentEntries()
true if no item is contained, false otherwise.@Nonnegative public int getAssociatedReferencedDocumentCount()
@Nullable public ReferencedDocumentType getAssociatedReferencedDocumentAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addAssociatedReferencedDocument(@Nonnull ReferencedDocumentType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull TradePriceType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public TradePriceType clone()
@Nonnull public PriceTypeCodeType setTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public NumericType setOrderUnitConversionFactorNumeric(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public QuantityType setBasisQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public QuantityType setMinimumQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public QuantityType setMaximumQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getTypeCodeValue()
null@Nullable public BigDecimal getBasisQuantityValue()
null@Nullable public BigDecimal getMinimumQuantityValue()
null@Nullable public BigDecimal getMaximumQuantityValue()
null@Nullable public BigDecimal getOrderUnitConversionFactorNumericValue()
nullCopyright © 2016–2021 Philip Helger. All rights reserved.