Class CommodityExerciseBasket
java.lang.Object
net.finmath.smartcontract.product.xml.CommodityExerciseBasket
The parameters for defining how the commodity option can be exercised, how
it is priced and how it is settled.
Java class for CommodityExerciseBasket complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityExerciseBasket"> <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"/> <element name="settlementCurrency" type="{http://www.fpml.org/FpML-5/confirmation}IdentifiedCurrency"/> <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 IdentifiedCurrency
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 settlementCurrency 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
Sets the value of the settlementCurrency property.void
setWrittenConfirmation
(Boolean value) Sets the value of the writtenConfirmation property.
-
Field Details
-
americanExercise
-
europeanExercise
-
automaticExercise
-
writtenConfirmation
-
settlementCurrency
-
relativePaymentDates
-
paymentDates
-
masterAgreementPaymentDates
-
-
Constructor Details
-
CommodityExerciseBasket
public CommodityExerciseBasket()
-
-
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
-
getSettlementCurrency
Gets the value of the settlementCurrency property.- Returns:
- possible object is
IdentifiedCurrency
-
setSettlementCurrency
Sets the value of the settlementCurrency property.- Parameters:
value
- allowed object isIdentifiedCurrency
-
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
-