net.finmath.smartcontract.product.xml.StrikeSpread Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* A type for defining a strike spread feature.
*
* Java class for StrikeSpread complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StrikeSpread">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="upperStrike" type="{http://www.fpml.org/FpML-5/confirmation}OptionStrike"/>
* <element name="upperStrikeNumberOfOptions" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StrikeSpread", propOrder = {
"upperStrike",
"upperStrikeNumberOfOptions"
})
public class StrikeSpread {
@XmlElement(required = true)
protected OptionStrike upperStrike;
@XmlElement(required = true)
protected BigDecimal upperStrikeNumberOfOptions;
/**
* Gets the value of the upperStrike property.
*
* @return
* possible object is
* {@link OptionStrike }
*
*/
public OptionStrike getUpperStrike() {
return upperStrike;
}
/**
* Sets the value of the upperStrike property.
*
* @param value
* allowed object is
* {@link OptionStrike }
*
*/
public void setUpperStrike(OptionStrike value) {
this.upperStrike = value;
}
/**
* Gets the value of the upperStrikeNumberOfOptions property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getUpperStrikeNumberOfOptions() {
return upperStrikeNumberOfOptions;
}
/**
* Sets the value of the upperStrikeNumberOfOptions property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setUpperStrikeNumberOfOptions(BigDecimal value) {
this.upperStrikeNumberOfOptions = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy