@CodingStyleguideUnaware public class ItemComparisonType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Item Comparison. Details</ccts:DictionaryEntryName><ccts:Definition>A class to provide information about price and quantity of an item for use in price comparisons based on price, quantity, or measurements.</ccts:Definition><ccts:ObjectClass>Item Comparison</ccts:ObjectClass></ccts:Component>
Java class for ItemComparisonType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ItemComparisonType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PriceAmount" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Quantity" 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-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
ItemComparisonType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
ItemComparisonType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(ItemComparisonType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
PriceAmountType |
getPriceAmount()
<?
|
BigDecimal |
getPriceAmountValue()
Get the value of the contained PriceAmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
QuantityType |
getQuantity()
<?
|
BigDecimal |
getQuantityValue()
Get the value of the contained QuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
PriceAmountType |
setPriceAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPriceAmount(PriceAmountType value)
Sets the value of the priceAmount property.
|
QuantityType |
setQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setQuantity(QuantityType value)
Sets the value of the quantity property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public ItemComparisonType()
@Nullable public PriceAmountType getPriceAmount()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Item Comparison. Price Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The price for the Item Comparison</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Comparison</ccts:ObjectClass><ccts:PropertyTerm>Price Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
PriceAmountTypepublic void setPriceAmount(@Nullable PriceAmountType value)
value - allowed object is
PriceAmountType@Nullable public QuantityType getQuantity()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Item Comparison. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity for which this comparison is valid.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Comparison</ccts:ObjectClass><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType><ccts:Examples>per unit </ccts:Examples></ccts:Component>
QuantityTypepublic void setQuantity(@Nullable QuantityType value)
value - allowed object is
QuantityTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void cloneTo(@Nonnull ItemComparisonType 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 ItemComparisonType clone()
@Nonnull public PriceAmountType setPriceAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public QuantityType setQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nullable public BigDecimal getPriceAmountValue()
null@Nullable public BigDecimal getQuantityValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.