net.finmath.smartcontract.product.xml.CreditOptionStrike 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.XmlType;
/**
* A complex type to specify the strike of a credit swaption or a credit
* default swap option.
*
*
* Java class for CreditOptionStrike complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CreditOptionStrike">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="spread" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="strikeReference" type="{http://www.fpml.org/FpML-5/confirmation}FixedRateReference"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreditOptionStrike", propOrder = {
"spread",
"price",
"strikeReference"
})
public class CreditOptionStrike {
protected BigDecimal spread;
protected BigDecimal price;
protected FixedRateReference strikeReference;
/**
* Gets the value of the spread property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSpread() {
return spread;
}
/**
* Sets the value of the spread property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSpread(BigDecimal value) {
this.spread = value;
}
/**
* Gets the value of the price property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPrice() {
return price;
}
/**
* Sets the value of the price property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setPrice(BigDecimal value) {
this.price = value;
}
/**
* Gets the value of the strikeReference property.
*
* @return
* possible object is
* {@link FixedRateReference }
*
*/
public FixedRateReference getStrikeReference() {
return strikeReference;
}
/**
* Sets the value of the strikeReference property.
*
* @param value
* allowed object is
* {@link FixedRateReference }
*
*/
public void setStrikeReference(FixedRateReference value) {
this.strikeReference = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy