Class WeatherLegCalculation
java.lang.Object
net.finmath.smartcontract.product.xml.WeatherLegCalculation
A type to capture details of the calculation of the Payment Amount on a
Weather Index Transaction.
Java class for WeatherLegCalculation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WeatherLegCalculation"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="settlementLevel" type="{http://www.fpml.org/FpML-5/confirmation}WeatherSettlementLevelEnum"/> <element name="referenceLevelEqualsZero" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="calculationDate" type="{http://www.fpml.org/FpML-5/confirmation}Period"/> <element name="businessDays" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenter"/> <element name="dataCorrection" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="correctionPeriod" type="{http://www.fpml.org/FpML-5/confirmation}Period" minOccurs="0"/> <element name="maximumPaymentAmount" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeMoney" minOccurs="0"/> <element name="maximumTransactionPaymentAmount" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeMoney" minOccurs="0"/> <element name="rounding" type="{http://www.fpml.org/FpML-5/confirmation}Rounding" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BusinessCenter
protected Period
protected Period
protected boolean
protected NonNegativeMoney
protected NonNegativeMoney
protected boolean
protected Rounding
protected WeatherSettlementLevelEnum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the businessDays property.Gets the value of the calculationDate property.Gets the value of the correctionPeriod property.Gets the value of the maximumPaymentAmount property.Gets the value of the maximumTransactionPaymentAmount property.Gets the value of the rounding property.Gets the value of the settlementLevel property.boolean
Gets the value of the dataCorrection property.boolean
Gets the value of the referenceLevelEqualsZero property.void
setBusinessDays
(BusinessCenter value) Sets the value of the businessDays property.void
setCalculationDate
(Period value) Sets the value of the calculationDate property.void
setCorrectionPeriod
(Period value) Sets the value of the correctionPeriod property.void
setDataCorrection
(boolean value) Sets the value of the dataCorrection property.void
Sets the value of the maximumPaymentAmount property.void
Sets the value of the maximumTransactionPaymentAmount property.void
setReferenceLevelEqualsZero
(boolean value) Sets the value of the referenceLevelEqualsZero property.void
setRounding
(Rounding value) Sets the value of the rounding property.void
Sets the value of the settlementLevel property.
-
Field Details
-
settlementLevel
-
referenceLevelEqualsZero
protected boolean referenceLevelEqualsZero -
calculationDate
-
businessDays
-
dataCorrection
protected boolean dataCorrection -
correctionPeriod
-
maximumPaymentAmount
-
maximumTransactionPaymentAmount
-
rounding
-
-
Constructor Details
-
WeatherLegCalculation
public WeatherLegCalculation()
-
-
Method Details
-
getSettlementLevel
Gets the value of the settlementLevel property.- Returns:
- possible object is
WeatherSettlementLevelEnum
-
setSettlementLevel
Sets the value of the settlementLevel property.- Parameters:
value
- allowed object isWeatherSettlementLevelEnum
-
isReferenceLevelEqualsZero
public boolean isReferenceLevelEqualsZero()Gets the value of the referenceLevelEqualsZero property. -
setReferenceLevelEqualsZero
public void setReferenceLevelEqualsZero(boolean value) Sets the value of the referenceLevelEqualsZero property. -
getCalculationDate
-
setCalculationDate
-
getBusinessDays
Gets the value of the businessDays property.- Returns:
- possible object is
BusinessCenter
-
setBusinessDays
Sets the value of the businessDays property.- Parameters:
value
- allowed object isBusinessCenter
-
isDataCorrection
public boolean isDataCorrection()Gets the value of the dataCorrection property. -
setDataCorrection
public void setDataCorrection(boolean value) Sets the value of the dataCorrection property. -
getCorrectionPeriod
-
setCorrectionPeriod
-
getMaximumPaymentAmount
Gets the value of the maximumPaymentAmount property.- Returns:
- possible object is
NonNegativeMoney
-
setMaximumPaymentAmount
Sets the value of the maximumPaymentAmount property.- Parameters:
value
- allowed object isNonNegativeMoney
-
getMaximumTransactionPaymentAmount
Gets the value of the maximumTransactionPaymentAmount property.- Returns:
- possible object is
NonNegativeMoney
-
setMaximumTransactionPaymentAmount
Sets the value of the maximumTransactionPaymentAmount property.- Parameters:
value
- allowed object isNonNegativeMoney
-
getRounding
-
setRounding
-