Class CommodityNotionalQuantity
java.lang.Object
net.finmath.smartcontract.product.xml.CommodityNotionalQuantity
- Direct Known Subclasses:
CommoditySettlementPeriodsNotionalQuantity
,ElectricityPhysicalDeliveryQuantity
Commodity Notional.
Java class for CommodityNotionalQuantity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityNotionalQuantity"> <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="quantityFrequency" type="{http://www.fpml.org/FpML-5/confirmation}CommodityQuantityFrequency"/> <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}decimal"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected BigDecimal
protected CommodityQuantityFrequency
protected QuantityUnit
-
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 quantityFrequency 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
Sets the value of the quantityFrequency property.void
setQuantityUnit
(QuantityUnit value) Sets the value of the quantityUnit property.
-
Field Details
-
quantityUnit
-
quantityFrequency
-
quantity
-
id
-
-
Constructor Details
-
CommodityNotionalQuantity
public CommodityNotionalQuantity()
-
-
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
-
getQuantityFrequency
Gets the value of the quantityFrequency property.- Returns:
- possible object is
CommodityQuantityFrequency
-
setQuantityFrequency
Sets the value of the quantityFrequency property.- Parameters:
value
- allowed object isCommodityQuantityFrequency
-
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
-