org.fpml.fpml_5.confirmation.Rounding Maven / Gradle / Ivy
The newest version!
//
// 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.07.26 at 10:31:12 AM UTC
//
package org.fpml.fpml_5.confirmation;
import java.math.BigInteger;
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.XmlType;
/**
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Rounding", propOrder = {
"roundingDirection",
"precision"
})
public class Rounding {
@XmlElement(required = true)
@XmlSchemaType(name = "token")
protected RoundingDirectionEnum roundingDirection;
@XmlElement(required = true)
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger precision;
/**
* Gets the value of the roundingDirection property.
*
* @return
* possible object is
* {@link RoundingDirectionEnum }
*
*/
public RoundingDirectionEnum getRoundingDirection() {
return roundingDirection;
}
/**
* Sets the value of the roundingDirection property.
*
* @param value
* allowed object is
* {@link RoundingDirectionEnum }
*
*/
public void setRoundingDirection(RoundingDirectionEnum value) {
this.roundingDirection = value;
}
/**
* Gets the value of the precision property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getPrecision() {
return precision;
}
/**
* Sets the value of the precision property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setPrecision(BigInteger value) {
this.precision = value;
}
}