Class CommodityDigitalExercise
java.lang.Object
net.finmath.smartcontract.product.xml.CommodityDigitalExercise
The parameters for defining how the commodity digital option can be
exercised. I differs from the CommodityExercise type in that it lacks a specification of Settlement
Currency. The Settlement Currency is specified in the 'featurePayment' element.
Java class for CommodityDigitalExercise complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityDigitalExercise"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="americanExercise" type="{http://www.fpml.org/FpML-5/confirmation}CommodityAmericanExercise"/> <element name="europeanExercise" type="{http://www.fpml.org/FpML-5/confirmation}CommodityEuropeanExercise"/> </choice> <element name="automaticExercise" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="writtenConfirmation" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityPaymentDates.model"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected CommodityAmericanExercise
protected Boolean
protected CommodityEuropeanExercise
protected Boolean
protected AdjustableDatesOrRelativeDateOffset
protected CommodityRelativePaymentDates
protected Boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the americanExercise property.Gets the value of the europeanExercise property.Gets the value of the paymentDates property.Gets the value of the relativePaymentDates property.Gets the value of the automaticExercise property.Gets the value of the masterAgreementPaymentDates property.Gets the value of the writtenConfirmation property.void
Sets the value of the americanExercise property.void
setAutomaticExercise
(Boolean value) Sets the value of the automaticExercise property.void
Sets the value of the europeanExercise property.void
Sets the value of the masterAgreementPaymentDates property.void
Sets the value of the paymentDates property.void
Sets the value of the relativePaymentDates property.void
setWrittenConfirmation
(Boolean value) Sets the value of the writtenConfirmation property.
-
Field Details
-
americanExercise
-
europeanExercise
-
automaticExercise
-
writtenConfirmation
-
relativePaymentDates
-
paymentDates
-
masterAgreementPaymentDates
-
-
Constructor Details
-
CommodityDigitalExercise
public CommodityDigitalExercise()
-
-
Method Details
-
getAmericanExercise
Gets the value of the americanExercise property.- Returns:
- possible object is
CommodityAmericanExercise
-
setAmericanExercise
Sets the value of the americanExercise property.- Parameters:
value
- allowed object isCommodityAmericanExercise
-
getEuropeanExercise
Gets the value of the europeanExercise property.- Returns:
- possible object is
CommodityEuropeanExercise
-
setEuropeanExercise
Sets the value of the europeanExercise property.- Parameters:
value
- allowed object isCommodityEuropeanExercise
-
isAutomaticExercise
-
setAutomaticExercise
-
isWrittenConfirmation
-
setWrittenConfirmation
-
getRelativePaymentDates
Gets the value of the relativePaymentDates property.- Returns:
- possible object is
CommodityRelativePaymentDates
-
setRelativePaymentDates
Sets the value of the relativePaymentDates property.- Parameters:
value
- allowed object isCommodityRelativePaymentDates
-
getPaymentDates
Gets the value of the paymentDates property.- Returns:
- possible object is
AdjustableDatesOrRelativeDateOffset
-
setPaymentDates
Sets the value of the paymentDates property.- Parameters:
value
- allowed object isAdjustableDatesOrRelativeDateOffset
-
isMasterAgreementPaymentDates
-
setMasterAgreementPaymentDates
-