Package cdm.legaldocumentation.csa
Class CollateralRounding.CollateralRoundingImpl
java.lang.Object
cdm.legaldocumentation.csa.CollateralRounding.CollateralRoundingImpl
- All Implemented Interfaces:
CollateralRounding,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
CollateralRounding
public static class CollateralRounding.CollateralRoundingImpl
extends Object
implements CollateralRounding
Immutable Implementation of CollateralRounding
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.csa.CollateralRounding
CollateralRounding.CollateralRoundingBuilder, CollateralRounding.CollateralRoundingBuilderImpl, CollateralRounding.CollateralRoundingImpl -
Field Summary
Fields inherited from interface cdm.legaldocumentation.csa.CollateralRounding
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe currency in which the Delivery Amount and Return Amount rounding amounts are specified.The nearest integral multiple of Base Currency units to which the Delivery Amount will be rounded in accordance with the specified rounding direction.The rounding rule applicable to the Delivery Amount (which can be (i) up to nearest; (ii) down to nearest).getOther()Utilised where the clause data structure is not able to capture a material aspect of the clause.The nearest integral multiple of Base Currency units to which the Return Amount will be rounded in accordance with the specified rounding direction.The rounding rule applicable to the Return Amount (which can be (i) up to nearest; (ii) down to nearest).inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.legaldocumentation.csa.CollateralRounding
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CollateralRoundingImpl
-
-
Method Details
-
getDeliveryAmount
@RosettaAttribute("deliveryAmount") @Accessor(GETTER) @Required @RuneAttribute("deliveryAmount") public BigDecimal getDeliveryAmount()Description copied from interface:CollateralRoundingThe nearest integral multiple of Base Currency units to which the Delivery Amount will be rounded in accordance with the specified rounding direction.- Specified by:
getDeliveryAmountin interfaceCollateralRounding
-
getDeliveryDirection
@RosettaAttribute("deliveryDirection") @Accessor(GETTER) @Required @RuneAttribute("deliveryDirection") public RoundingModeEnum getDeliveryDirection()Description copied from interface:CollateralRoundingThe rounding rule applicable to the Delivery Amount (which can be (i) up to nearest; (ii) down to nearest).- Specified by:
getDeliveryDirectionin interfaceCollateralRounding
-
getReturnAmount
@RosettaAttribute("returnAmount") @Accessor(GETTER) @Required @RuneAttribute("returnAmount") public BigDecimal getReturnAmount()Description copied from interface:CollateralRoundingThe nearest integral multiple of Base Currency units to which the Return Amount will be rounded in accordance with the specified rounding direction.- Specified by:
getReturnAmountin interfaceCollateralRounding
-
getReturnDirection
@RosettaAttribute("returnDirection") @Accessor(GETTER) @Required @RuneAttribute("returnDirection") public RoundingModeEnum getReturnDirection()Description copied from interface:CollateralRoundingThe rounding rule applicable to the Return Amount (which can be (i) up to nearest; (ii) down to nearest).- Specified by:
getReturnDirectionin interfaceCollateralRounding
-
getCurrency
@RosettaAttribute("currency") @Accessor(GETTER) @Required @RuneAttribute("currency") public ISOCurrencyCodeEnum getCurrency()Description copied from interface:CollateralRoundingThe currency in which the Delivery Amount and Return Amount rounding amounts are specified.- Specified by:
getCurrencyin interfaceCollateralRounding
-
getOther
Description copied from interface:CollateralRoundingUtilised where the clause data structure is not able to capture a material aspect of the clause.- Specified by:
getOtherin interfaceCollateralRounding
-
build
Description copied from interface:CollateralRoundingBuild Methods- Specified by:
buildin interfaceCollateralRounding- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceCollateralRounding- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-