Package cdm.product.template
Class ConstituentWeight.ConstituentWeightImpl
java.lang.Object
cdm.product.template.ConstituentWeight.ConstituentWeightImpl
- All Implemented Interfaces:
ConstituentWeight,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
ConstituentWeight
public static class ConstituentWeight.ConstituentWeightImpl
extends Object
implements ConstituentWeight
Immutable Implementation of ConstituentWeight
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.ConstituentWeight
ConstituentWeight.ConstituentWeightBuilder, ConstituentWeight.ConstituentWeightBuilderImpl, ConstituentWeight.ConstituentWeightImpl -
Field Summary
Fields inherited from interface cdm.product.template.ConstituentWeight
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.template.ConstituentWeight
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ConstituentWeightImpl
-
-
Method Details
-
getOpenUnits
Description copied from interface:ConstituentWeightThe number of units (index or securities) that constitute the underlier of the swap. In the case of a basket swap, this element is used to reference both the number of basket units, and the number of each asset components of the basket when these are expressed in absolute terms.- Specified by:
getOpenUnitsin interfaceConstituentWeight
-
getBasketPercentage
@RosettaAttribute("basketPercentage") @RuneAttribute("basketPercentage") public BigDecimal getBasketPercentage()Description copied from interface:ConstituentWeightThe relative weight of each respective basket constituent, expressed in percentage. A basket percentage of 5% would be represented as 0.05.- Specified by:
getBasketPercentagein interfaceConstituentWeight
-
build
Description copied from interface:ConstituentWeightBuild Methods- Specified by:
buildin interfaceConstituentWeight- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceConstituentWeight- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-