Class UnitQuantity
java.lang.Object
net.finmath.smartcontract.product.xml.UnitQuantity
- Direct Known Subclasses:
UnitQuantityRef
A quantity and associated unit.
Java class for UnitQuantity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UnitQuantity"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="quantityUnit" type="{http://www.fpml.org/FpML-5/confirmation}QuantityUnit"/> <element name="quantity" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Gets the value of the id property.Gets the value of the quantity property.Gets the value of the quantityUnit property.void
Sets the value of the id property.void
setQuantity
(BigDecimal value) Sets the value of the quantity property.void
setQuantityUnit
(QuantityUnit value) Sets the value of the quantityUnit property.
-
Field Details
-
quantityUnit
-
quantity
-
id
-
-
Constructor Details
-
UnitQuantity
public UnitQuantity()
-
-
Method Details
-
getQuantityUnit
Gets the value of the quantityUnit property.- Returns:
- possible object is
QuantityUnit
-
setQuantityUnit
Sets the value of the quantityUnit property.- Parameters:
value
- allowed object isQuantityUnit
-
getQuantity
Gets the value of the quantity property.- Returns:
- possible object is
BigDecimal
-
setQuantity
Sets the value of the quantity property.- Parameters:
value
- allowed object isBigDecimal
-
getId
-
setId
-