Class ConstituentWeight
java.lang.Object
net.finmath.smartcontract.product.xml.ConstituentWeight
A type describing the weight of each of the underlyer constituent within
the basket, either in absolute or relative terms.
Java class for ConstituentWeight complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConstituentWeight"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="openUnits" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="basketPercentage" type="{http://www.fpml.org/FpML-5/confirmation}RestrictedPercentage" minOccurs="0"/> <element name="basketAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the basketAmount property.Gets the value of the basketPercentage property.Gets the value of the openUnits property.void
setBasketAmount
(Money value) Sets the value of the basketAmount property.void
setBasketPercentage
(BigDecimal value) Sets the value of the basketPercentage property.void
setOpenUnits
(BigDecimal value) Sets the value of the openUnits property.
-
Field Details
-
openUnits
-
basketPercentage
-
basketAmount
-
-
Constructor Details
-
ConstituentWeight
public ConstituentWeight()
-
-
Method Details
-
getOpenUnits
Gets the value of the openUnits property.- Returns:
- possible object is
BigDecimal
-
setOpenUnits
Sets the value of the openUnits property.- Parameters:
value
- allowed object isBigDecimal
-
getBasketPercentage
Gets the value of the basketPercentage property.- Returns:
- possible object is
BigDecimal
-
setBasketPercentage
Sets the value of the basketPercentage property.- Parameters:
value
- allowed object isBigDecimal
-
getBasketAmount
-
setBasketAmount
-