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
FieldsModifier and TypeFieldDescriptionprotected BusinessCenterprotected Periodprotected Periodprotected booleanprotected NonNegativeMoneyprotected NonNegativeMoneyprotected booleanprotected Roundingprotected WeatherSettlementLevelEnum -
Constructor Summary
Constructors -
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.booleanGets the value of the dataCorrection property.booleanGets the value of the referenceLevelEqualsZero property.voidsetBusinessDays(BusinessCenter value)Sets the value of the businessDays property.voidsetCalculationDate(Period value)Sets the value of the calculationDate property.voidsetCorrectionPeriod(Period value)Sets the value of the correctionPeriod property.voidsetDataCorrection(boolean value)Sets the value of the dataCorrection property.voidSets the value of the maximumPaymentAmount property.voidSets the value of the maximumTransactionPaymentAmount property.voidsetReferenceLevelEqualsZero(boolean value)Sets the value of the referenceLevelEqualsZero property.voidsetRounding(Rounding value)Sets the value of the rounding property.voidSets 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
Gets the value of the calculationDate property.- Returns:
- possible object is
Period
-
setCalculationDate
Sets the value of the calculationDate property.- Parameters:
value- allowed object isPeriod
-
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
Gets the value of the correctionPeriod property.- Returns:
- possible object is
Period
-
setCorrectionPeriod
Sets the value of the correctionPeriod property.- Parameters:
value- allowed object isPeriod
-
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
Gets the value of the rounding property.- Returns:
- possible object is
Rounding
-
setRounding
Sets the value of the rounding property.- Parameters:
value- allowed object isRounding
-