Class FxDigitalOption
Java class for FxDigitalOption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FxDigitalOption">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}Option">
<sequence>
<element name="effectiveDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableOrRelativeDate" minOccurs="0"/>
<element name="tenorPeriod" type="{http://www.fpml.org/FpML-5/confirmation}Period" minOccurs="0"/>
<sequence>
<choice>
<sequence>
<element name="americanExercise" type="{http://www.fpml.org/FpML-5/confirmation}FxDigitalAmericanExercise"/>
<element name="touch" type="{http://www.fpml.org/FpML-5/confirmation}FxTouch" maxOccurs="unbounded"/>
</sequence>
<sequence>
<element name="europeanExercise" type="{http://www.fpml.org/FpML-5/confirmation}FxEuropeanExercise"/>
<element name="trigger" type="{http://www.fpml.org/FpML-5/confirmation}FxTrigger" maxOccurs="unbounded"/>
</sequence>
</choice>
<element name="exerciseProcedure" type="{http://www.fpml.org/FpML-5/confirmation}ExerciseProcedure" minOccurs="0"/>
</sequence>
<element name="payout" type="{http://www.fpml.org/FpML-5/confirmation}FxOptionPayout"/>
<element name="premium" type="{http://www.fpml.org/FpML-5/confirmation}FxOptionPremium" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FxDigitalAmericanExerciseprotected AdjustableOrRelativeDateprotected FxEuropeanExerciseprotected ExerciseProcedureprotected FxOptionPayoutprotected List<FxOptionPremium> protected PeriodFields inherited from class net.finmath.smartcontract.product.xml.Option
buyerAccountReference, buyerPartyReference, sellerAccountReference, sellerPartyReferenceFields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the americanExercise property.Gets the value of the effectiveDate property.Gets the value of the europeanExercise property.Gets the value of the exerciseProcedure property.Gets the value of the payout property.Gets the value of the premium property.Gets the value of the tenorPeriod property.getTouch()Gets the value of the touch property.Gets the value of the trigger property.voidSets the value of the americanExercise property.voidSets the value of the effectiveDate property.voidSets the value of the europeanExercise property.voidSets the value of the exerciseProcedure property.voidsetPayout(FxOptionPayout value) Sets the value of the payout property.voidsetTenorPeriod(Period value) Sets the value of the tenorPeriod property.Methods inherited from class net.finmath.smartcontract.product.xml.Option
getBuyerAccountReference, getBuyerPartyReference, getSellerAccountReference, getSellerPartyReference, setBuyerAccountReference, setBuyerPartyReference, setSellerAccountReference, setSellerPartyReferenceMethods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
effectiveDate
-
tenorPeriod
-
americanExercise
-
touch
-
europeanExercise
-
trigger
-
exerciseProcedure
-
payout
-
-
Constructor Details
-
FxDigitalOption
public FxDigitalOption()
-
-
Method Details
-
getEffectiveDate
Gets the value of the effectiveDate property.- Returns:
- possible object is
AdjustableOrRelativeDate
-
setEffectiveDate
Sets the value of the effectiveDate property.- Parameters:
value- allowed object isAdjustableOrRelativeDate
-
getTenorPeriod
-
setTenorPeriod
-
getAmericanExercise
Gets the value of the americanExercise property.- Returns:
- possible object is
FxDigitalAmericanExercise
-
setAmericanExercise
Sets the value of the americanExercise property.- Parameters:
value- allowed object isFxDigitalAmericanExercise
-
getTouch
Gets the value of the touch property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the touch property.For example, to add a new item, do as follows:
getTouch().add(newItem);Objects of the following type(s) are allowed in the list
FxTouch -
getEuropeanExercise
Gets the value of the europeanExercise property.- Returns:
- possible object is
FxEuropeanExercise
-
setEuropeanExercise
Sets the value of the europeanExercise property.- Parameters:
value- allowed object isFxEuropeanExercise
-
getTrigger
Gets the value of the trigger property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the trigger property.For example, to add a new item, do as follows:
getTrigger().add(newItem);Objects of the following type(s) are allowed in the list
FxTrigger -
getExerciseProcedure
Gets the value of the exerciseProcedure property.- Returns:
- possible object is
ExerciseProcedure
-
setExerciseProcedure
Sets the value of the exerciseProcedure property.- Parameters:
value- allowed object isExerciseProcedure
-
getPayout
Gets the value of the payout property.- Returns:
- possible object is
FxOptionPayout
-
setPayout
Sets the value of the payout property.- Parameters:
value- allowed object isFxOptionPayout
-
getPremium
Gets the value of the premium property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the premium property.For example, to add a new item, do as follows:
getPremium().add(newItem);Objects of the following type(s) are allowed in the list
FxOptionPremium
-