net.finmath.smartcontract.product.xml.FxTriggerBase 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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
/**
* Describes a european trigger applied to an FX digtal option.
*
*
* Java class for FxTriggerBase complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FxTriggerBase">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="triggerCondition" type="{http://www.fpml.org/FpML-5/confirmation}TriggerConditionEnum"/>
* <element name="quotedCurrencyPair" type="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"/>
* <element name="triggerRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/>
* <element name="spotRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FxTriggerBase", propOrder = {
"triggerCondition",
"quotedCurrencyPair",
"triggerRate",
"spotRate"
})
@XmlSeeAlso({
FxTrigger.class,
FxAccrualTrigger.class
})
public class FxTriggerBase {
@XmlElement(required = true)
@XmlSchemaType(name = "token")
protected TriggerConditionEnum triggerCondition;
@XmlElement(required = true)
protected QuotedCurrencyPair quotedCurrencyPair;
@XmlElement(required = true)
protected BigDecimal triggerRate;
protected BigDecimal spotRate;
/**
* Gets the value of the triggerCondition property.
*
* @return
* possible object is
* {@link TriggerConditionEnum }
*
*/
public TriggerConditionEnum getTriggerCondition() {
return triggerCondition;
}
/**
* Sets the value of the triggerCondition property.
*
* @param value
* allowed object is
* {@link TriggerConditionEnum }
*
*/
public void setTriggerCondition(TriggerConditionEnum value) {
this.triggerCondition = value;
}
/**
* Gets the value of the quotedCurrencyPair property.
*
* @return
* possible object is
* {@link QuotedCurrencyPair }
*
*/
public QuotedCurrencyPair getQuotedCurrencyPair() {
return quotedCurrencyPair;
}
/**
* Sets the value of the quotedCurrencyPair property.
*
* @param value
* allowed object is
* {@link QuotedCurrencyPair }
*
*/
public void setQuotedCurrencyPair(QuotedCurrencyPair value) {
this.quotedCurrencyPair = value;
}
/**
* Gets the value of the triggerRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTriggerRate() {
return triggerRate;
}
/**
* Sets the value of the triggerRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setTriggerRate(BigDecimal value) {
this.triggerRate = value;
}
/**
* Gets the value of the spotRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSpotRate() {
return spotRate;
}
/**
* Sets the value of the spotRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSpotRate(BigDecimal value) {
this.spotRate = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy