org.fpml.fpml_5.confirmation.TermPoint 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 java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* A value point that can have a time dimension. Allows bid, mid, ask, and spread values to be represented.
*
* Java class for TermPoint complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TermPoint">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="term" type="{http://www.fpml.org/FpML-5/confirmation}TimeDimension"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}BidMidAsk.model"/>
* <element name="spreadValue" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="definition" type="{http://www.fpml.org/FpML-5/confirmation}AssetReference" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TermPoint", propOrder = {
"term",
"bid",
"mid",
"ask",
"spreadValue",
"definition"
})
public class TermPoint {
@XmlElement(required = true)
protected TimeDimension term;
protected BigDecimal bid;
protected BigDecimal mid;
protected BigDecimal ask;
protected BigDecimal spreadValue;
protected AssetReference definition;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the term property.
*
* @return
* possible object is
* {@link TimeDimension }
*
*/
public TimeDimension getTerm() {
return term;
}
/**
* Sets the value of the term property.
*
* @param value
* allowed object is
* {@link TimeDimension }
*
*/
public void setTerm(TimeDimension value) {
this.term = value;
}
/**
* Gets the value of the bid property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getBid() {
return bid;
}
/**
* Sets the value of the bid property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setBid(BigDecimal value) {
this.bid = value;
}
/**
* Gets the value of the mid property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMid() {
return mid;
}
/**
* Sets the value of the mid property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setMid(BigDecimal value) {
this.mid = value;
}
/**
* Gets the value of the ask property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAsk() {
return ask;
}
/**
* Sets the value of the ask property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAsk(BigDecimal value) {
this.ask = value;
}
/**
* Gets the value of the spreadValue property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSpreadValue() {
return spreadValue;
}
/**
* Sets the value of the spreadValue property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSpreadValue(BigDecimal value) {
this.spreadValue = value;
}
/**
* Gets the value of the definition property.
*
* @return
* possible object is
* {@link AssetReference }
*
*/
public AssetReference getDefinition() {
return definition;
}
/**
* Sets the value of the definition property.
*
* @param value
* allowed object is
* {@link AssetReference }
*
*/
public void setDefinition(AssetReference value) {
this.definition = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy