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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetId()Gets the value of the id property.Gets the value of the quantity property.getUnit()Gets the value of the unit property.voidSets the value of the id property.voidsetQuantity(BigDecimal value)Sets the value of the quantity property.voidsetUnit(QuantityUnit value)Sets the value of the unit property.
- 
Field Details- 
quantity
- 
unit
- 
id
 
- 
- 
Constructor Details- 
WeatherIndexpublic WeatherIndex()
 
- 
- 
Method Details- 
getQuantityGets the value of the quantity property.- Returns:
- possible object is
     BigDecimal
 
- 
setQuantitySets the value of the quantity property.- Parameters:
- value- allowed object is- BigDecimal
 
- 
getUnitGets the value of the unit property.- Returns:
- possible object is
     QuantityUnit
 
- 
setUnitSets the value of the unit property.- Parameters:
- value- allowed object is- QuantityUnit
 
- 
getIdGets the value of the id property.- Returns:
- possible object is
     String
 
- 
setIdSets the value of the id property.- Parameters:
- value- allowed object is- String
 
 
-