public class ItemComparisonType extends Object implements Serializable
<?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 Comparison. Details</ccts:DictionaryEntryName><ccts:Definition>Used to compare different items based on cost, 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>
| Constructor and Description |
|---|
ItemComparisonType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
PriceAmountType |
getPriceAmount()
<?
|
BigDecimal |
getPriceAmountValue()
Get the value of the contained PriceAmountType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
QuantityType |
getQuantity()
<?
|
BigDecimal |
getQuantityValue()
Get the value of the contained QuantityType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
PriceAmountType |
setPriceAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setPriceAmount(PriceAmountType value)
Sets the value of the priceAmount property.
|
QuantityType |
setQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
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: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 Comparison. Price. Amount</ccts:DictionaryEntryName><ccts:Definition>The price for the comparison quantity of the item.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Comparison</ccts:ObjectClass><ccts:PropertyTerm>Price</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: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 Comparison. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity used for price comparison with other items.</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()
@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 Philip Helger. All rights reserved.