Class AbsoluteTolerance
java.lang.Object
net.finmath.smartcontract.product.xml.AbsoluteTolerance
The acceptable tolerance in the delivered quantity of a physical commodity
product in terms of a number of units of that product.
Java class for AbsoluteTolerance complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbsoluteTolerance"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="positive" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="negative" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="unit" type="{http://www.fpml.org/FpML-5/confirmation}QuantityUnit"/> <element name="optionOwnerPartyReference" type="{http://www.fpml.org/FpML-5/confirmation}PartyReference" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected PartyReference
protected BigDecimal
protected QuantityUnit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the negative property.Gets the value of the optionOwnerPartyReference property.Gets the value of the positive property.getUnit()
Gets the value of the unit property.void
setNegative
(BigDecimal value) Sets the value of the negative property.void
Sets the value of the optionOwnerPartyReference property.void
setPositive
(BigDecimal value) Sets the value of the positive property.void
setUnit
(QuantityUnit value) Sets the value of the unit property.
-
Field Details
-
positive
-
negative
-
unit
-
optionOwnerPartyReference
-
-
Constructor Details
-
AbsoluteTolerance
public AbsoluteTolerance()
-
-
Method Details
-
getPositive
Gets the value of the positive property.- Returns:
- possible object is
BigDecimal
-
setPositive
Sets the value of the positive property.- Parameters:
value
- allowed object isBigDecimal
-
getNegative
Gets the value of the negative property.- Returns:
- possible object is
BigDecimal
-
setNegative
Sets the value of the negative property.- Parameters:
value
- allowed object isBigDecimal
-
getUnit
Gets the value of the unit property.- Returns:
- possible object is
QuantityUnit
-
setUnit
Sets the value of the unit property.- Parameters:
value
- allowed object isQuantityUnit
-
getOptionOwnerPartyReference
Gets the value of the optionOwnerPartyReference property.- Returns:
- possible object is
PartyReference
-
setOptionOwnerPartyReference
Sets the value of the optionOwnerPartyReference property.- Parameters:
value
- allowed object isPartyReference
-