net.finmath.smartcontract.product.xml.FxAverageRateObservation 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;
/**
* A type that, for average rate options, is used to describe each specific
* observation date, as opposed to a parametric frequency of rate observations.
*
*
* Java class for FxAverageRateObservation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FxAverageRateObservation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/>
* <element name="averageRateWeightingFactor" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="rate" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FxAverageRateObservation", propOrder = {
"date",
"averageRateWeightingFactor",
"rate"
})
public class FxAverageRateObservation {
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar date;
@XmlElement(required = true)
protected BigDecimal averageRateWeightingFactor;
protected BigDecimal rate;
/**
* Gets the value of the date property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDate(XMLGregorianCalendar value) {
this.date = value;
}
/**
* Gets the value of the averageRateWeightingFactor property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAverageRateWeightingFactor() {
return averageRateWeightingFactor;
}
/**
* Sets the value of the averageRateWeightingFactor property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAverageRateWeightingFactor(BigDecimal value) {
this.averageRateWeightingFactor = value;
}
/**
* Gets the value of the rate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getRate() {
return rate;
}
/**
* Sets the value of the rate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setRate(BigDecimal value) {
this.rate = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy