org.fpml.fpml_5.confirmation.QuotedCurrencyPair Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.05.10 at 03:58:40 PM UTC
//
package org.fpml.fpml_5.confirmation;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* A type that describes the composition of a rate that has been quoted or is to be quoted. This includes the two currencies and the quotation relationship between the two currencies and is used as a building block throughout the FX specification.
*
* Java class for QuotedCurrencyPair complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="QuotedCurrencyPair">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="currency1" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/>
* <element name="currency2" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/>
* <element name="quoteBasis" type="{http://www.fpml.org/FpML-5/confirmation}QuoteBasisEnum"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QuotedCurrencyPair", propOrder = {
"currency1",
"currency2",
"quoteBasis"
})
@XmlSeeAlso({
CrossRate.class,
FxFlexibleForwardRate.class
})
public class QuotedCurrencyPair {
@XmlElement(required = true)
protected Currency currency1;
@XmlElement(required = true)
protected Currency currency2;
@XmlElement(required = true)
@XmlSchemaType(name = "token")
protected QuoteBasisEnum quoteBasis;
/**
* Gets the value of the currency1 property.
*
* @return
* possible object is
* {@link Currency }
*
*/
public Currency getCurrency1() {
return currency1;
}
/**
* Sets the value of the currency1 property.
*
* @param value
* allowed object is
* {@link Currency }
*
*/
public void setCurrency1(Currency value) {
this.currency1 = value;
}
/**
* Gets the value of the currency2 property.
*
* @return
* possible object is
* {@link Currency }
*
*/
public Currency getCurrency2() {
return currency2;
}
/**
* Sets the value of the currency2 property.
*
* @param value
* allowed object is
* {@link Currency }
*
*/
public void setCurrency2(Currency value) {
this.currency2 = value;
}
/**
* Gets the value of the quoteBasis property.
*
* @return
* possible object is
* {@link QuoteBasisEnum }
*
*/
public QuoteBasisEnum getQuoteBasis() {
return quoteBasis;
}
/**
* Sets the value of the quoteBasis property.
*
* @param value
* allowed object is
* {@link QuoteBasisEnum }
*
*/
public void setQuoteBasis(QuoteBasisEnum value) {
this.quoteBasis = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy