Class CommodityTrigger
java.lang.Object
net.finmath.smartcontract.product.xml.CommodityTrigger
The barrier which, when breached, triggers the knock-in or knock-out of the
barrier option.
Java class for CommodityTrigger complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityTrigger"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <sequence> <element name="levelQuantity" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="levelUnit" type="{http://www.fpml.org/FpML-5/confirmation}QuantityUnit"/> </sequence> <element name="levelPercentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="levelPrice" type="{http://www.fpml.org/FpML-5/confirmation}FixedPrice"/> </choice> <element name="triggerType" type="{http://www.fpml.org/FpML-5/confirmation}TriggerTypeEnum"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected FixedPrice
protected BigDecimal
protected QuantityUnit
protected TriggerTypeEnum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the levelPercentage property.Gets the value of the levelPrice property.Gets the value of the levelQuantity property.Gets the value of the levelUnit property.Gets the value of the triggerType property.void
setLevelPercentage
(BigDecimal value) Sets the value of the levelPercentage property.void
setLevelPrice
(FixedPrice value) Sets the value of the levelPrice property.void
setLevelQuantity
(BigDecimal value) Sets the value of the levelQuantity property.void
setLevelUnit
(QuantityUnit value) Sets the value of the levelUnit property.void
setTriggerType
(TriggerTypeEnum value) Sets the value of the triggerType property.
-
Field Details
-
levelQuantity
-
levelUnit
-
levelPercentage
-
levelPrice
-
triggerType
-
-
Constructor Details
-
CommodityTrigger
public CommodityTrigger()
-
-
Method Details
-
getLevelQuantity
Gets the value of the levelQuantity property.- Returns:
- possible object is
BigDecimal
-
setLevelQuantity
Sets the value of the levelQuantity property.- Parameters:
value
- allowed object isBigDecimal
-
getLevelUnit
Gets the value of the levelUnit property.- Returns:
- possible object is
QuantityUnit
-
setLevelUnit
Sets the value of the levelUnit property.- Parameters:
value
- allowed object isQuantityUnit
-
getLevelPercentage
Gets the value of the levelPercentage property.- Returns:
- possible object is
BigDecimal
-
setLevelPercentage
Sets the value of the levelPercentage property.- Parameters:
value
- allowed object isBigDecimal
-
getLevelPrice
Gets the value of the levelPrice property.- Returns:
- possible object is
FixedPrice
-
setLevelPrice
Sets the value of the levelPrice property.- Parameters:
value
- allowed object isFixedPrice
-
getTriggerType
Gets the value of the triggerType property.- Returns:
- possible object is
TriggerTypeEnum
-
setTriggerType
Sets the value of the triggerType property.- Parameters:
value
- allowed object isTriggerTypeEnum
-