Class Rounding
java.lang.Object
net.finmath.smartcontract.product.xml.Rounding
A type defining a rounding direction and precision to be used in the
rounding of a rate.
Java class for Rounding complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Rounding">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="roundingDirection" type="{http://www.fpml.org/FpML-5/confirmation}RoundingDirectionEnum"/>
<element name="precision" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the precision property.Gets the value of the roundingDirection property.voidsetPrecision(BigInteger value)Sets the value of the precision property.voidSets the value of the roundingDirection property.
-
Field Details
-
roundingDirection
-
precision
-
-
Constructor Details
-
Rounding
public Rounding()
-
-
Method Details
-
getRoundingDirection
Gets the value of the roundingDirection property.- Returns:
- possible object is
RoundingDirectionEnum
-
setRoundingDirection
Sets the value of the roundingDirection property.- Parameters:
value- allowed object isRoundingDirectionEnum
-
getPrecision
Gets the value of the precision property.- Returns:
- possible object is
BigInteger
-
setPrecision
Sets the value of the precision property.- Parameters:
value- allowed object isBigInteger
-