Class TermPoint
java.lang.Object
net.finmath.smartcontract.product.xml.TermPoint
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>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected BigDecimal
protected AssetReference
protected String
protected BigDecimal
protected BigDecimal
protected TimeDimension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAsk()
Gets the value of the ask property.getBid()
Gets the value of the bid property.Gets the value of the definition property.getId()
Gets the value of the id property.getMid()
Gets the value of the mid property.Gets the value of the spreadValue property.getTerm()
Gets the value of the term property.void
setAsk
(BigDecimal value) Sets the value of the ask property.void
setBid
(BigDecimal value) Sets the value of the bid property.void
setDefinition
(AssetReference value) Sets the value of the definition property.void
Sets the value of the id property.void
setMid
(BigDecimal value) Sets the value of the mid property.void
setSpreadValue
(BigDecimal value) Sets the value of the spreadValue property.void
setTerm
(TimeDimension value) Sets the value of the term property.
-
Field Details
-
term
-
bid
-
mid
-
ask
-
spreadValue
-
definition
-
id
-
-
Constructor Details
-
TermPoint
public TermPoint()
-
-
Method Details
-
getTerm
Gets the value of the term property.- Returns:
- possible object is
TimeDimension
-
setTerm
Sets the value of the term property.- Parameters:
value
- allowed object isTimeDimension
-
getBid
Gets the value of the bid property.- Returns:
- possible object is
BigDecimal
-
setBid
Sets the value of the bid property.- Parameters:
value
- allowed object isBigDecimal
-
getMid
Gets the value of the mid property.- Returns:
- possible object is
BigDecimal
-
setMid
Sets the value of the mid property.- Parameters:
value
- allowed object isBigDecimal
-
getAsk
Gets the value of the ask property.- Returns:
- possible object is
BigDecimal
-
setAsk
Sets the value of the ask property.- Parameters:
value
- allowed object isBigDecimal
-
getSpreadValue
Gets the value of the spreadValue property.- Returns:
- possible object is
BigDecimal
-
setSpreadValue
Sets the value of the spreadValue property.- Parameters:
value
- allowed object isBigDecimal
-
getDefinition
Gets the value of the definition property.- Returns:
- possible object is
AssetReference
-
setDefinition
Sets the value of the definition property.- Parameters:
value
- allowed object isAssetReference
-
getId
-
setId
-