Class WeatherIndex
java.lang.Object
net.finmath.smartcontract.product.xml.WeatherIndex
A type defining the Weather Index Level or Weather Index Strike Level.
Java class for WeatherIndex complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WeatherIndex"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="unit" type="{http://www.fpml.org/FpML-5/confirmation}QuantityUnit"/> </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.getUnit()
Gets the value of the unit property.void
Sets the value of the id property.void
setQuantity
(BigDecimal value) Sets the value of the quantity property.void
setUnit
(QuantityUnit value) Sets the value of the unit property.
-
Field Details
-
quantity
-
unit
-
id
-
-
Constructor Details
-
WeatherIndex
public WeatherIndex()
-
-
Method Details
-
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
-
getUnit
Gets the value of the unit property.- Returns:
- possible object is
QuantityUnit
-
setUnit
Sets the value of the unit property.- Parameters:
value
- allowed object isQuantityUnit
-
getId
-
setId
-