net.finmath.smartcontract.product.xml.DualCurrencyFeature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-smart-derivative-contract Show documentation
Show all versions of finmath-smart-derivative-contract Show documentation
Project to support the implementation a of smart derivative contract.
//
// 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 javax.xml.datatype.XMLGregorianCalendar;
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.XmlType;
/**
* Describes the parameters for a dual currency option transaction.
*
*
* Java class for DualCurrencyFeature complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DualCurrencyFeature">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="currency" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/>
* <element name="fixingDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
* <element name="fixingTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime" minOccurs="0"/>
* <element name="strike" type="{http://www.fpml.org/FpML-5/confirmation}DualCurrencyStrikePrice"/>
* <element name="spotRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="interestAtRisk" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DualCurrencyFeature", propOrder = {
"currency",
"fixingDate",
"fixingTime",
"strike",
"spotRate",
"interestAtRisk"
})
public class DualCurrencyFeature {
@XmlElement(required = true)
protected Currency currency;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar fixingDate;
protected BusinessCenterTime fixingTime;
@XmlElement(required = true)
protected DualCurrencyStrikePrice strike;
protected BigDecimal spotRate;
protected boolean interestAtRisk;
/**
* Gets the value of the currency property.
*
* @return
* possible object is
* {@link Currency }
*
*/
public Currency getCurrency() {
return currency;
}
/**
* Sets the value of the currency property.
*
* @param value
* allowed object is
* {@link Currency }
*
*/
public void setCurrency(Currency value) {
this.currency = value;
}
/**
* Gets the value of the fixingDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getFixingDate() {
return fixingDate;
}
/**
* Sets the value of the fixingDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setFixingDate(XMLGregorianCalendar value) {
this.fixingDate = value;
}
/**
* Gets the value of the fixingTime property.
*
* @return
* possible object is
* {@link BusinessCenterTime }
*
*/
public BusinessCenterTime getFixingTime() {
return fixingTime;
}
/**
* Sets the value of the fixingTime property.
*
* @param value
* allowed object is
* {@link BusinessCenterTime }
*
*/
public void setFixingTime(BusinessCenterTime value) {
this.fixingTime = value;
}
/**
* Gets the value of the strike property.
*
* @return
* possible object is
* {@link DualCurrencyStrikePrice }
*
*/
public DualCurrencyStrikePrice getStrike() {
return strike;
}
/**
* Sets the value of the strike property.
*
* @param value
* allowed object is
* {@link DualCurrencyStrikePrice }
*
*/
public void setStrike(DualCurrencyStrikePrice value) {
this.strike = 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;
}
/**
* Gets the value of the interestAtRisk property.
*
*/
public boolean isInterestAtRisk() {
return interestAtRisk;
}
/**
* Sets the value of the interestAtRisk property.
*
*/
public void setInterestAtRisk(boolean value) {
this.interestAtRisk = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy