Class StrategyFeature
java.lang.Object
net.finmath.smartcontract.product.xml.StrategyFeature
A type for definining equity option simple strike or calendar spread
strategy features.
Java class for StrategyFeature complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StrategyFeature"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="strikeSpread" type="{http://www.fpml.org/FpML-5/confirmation}StrikeSpread"/> <element name="calendarSpread" type="{http://www.fpml.org/FpML-5/confirmation}CalendarSpread"/> </choice> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the calendarSpread property.Gets the value of the strikeSpread property.void
setCalendarSpread
(CalendarSpread value) Sets the value of the calendarSpread property.void
setStrikeSpread
(StrikeSpread value) Sets the value of the strikeSpread property.
-
Field Details
-
strikeSpread
-
calendarSpread
-
-
Constructor Details
-
StrategyFeature
public StrategyFeature()
-
-
Method Details
-
getStrikeSpread
Gets the value of the strikeSpread property.- Returns:
- possible object is
StrikeSpread
-
setStrikeSpread
Sets the value of the strikeSpread property.- Parameters:
value
- allowed object isStrikeSpread
-
getCalendarSpread
Gets the value of the calendarSpread property.- Returns:
- possible object is
CalendarSpread
-
setCalendarSpread
Sets the value of the calendarSpread property.- Parameters:
value
- allowed object isCalendarSpread
-