Package cdm.legaldocumentation.csa
Class CollateralRounding.CollateralRoundingBuilderImpl
java.lang.Object
cdm.legaldocumentation.csa.CollateralRounding.CollateralRoundingBuilderImpl
- All Implemented Interfaces:
CollateralRounding,CollateralRounding.CollateralRoundingBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
CollateralRounding
public static class CollateralRounding.CollateralRoundingBuilderImpl
extends Object
implements CollateralRounding.CollateralRoundingBuilder
Builder Implementation of CollateralRounding
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.csa.CollateralRounding
CollateralRounding.CollateralRoundingBuilder, CollateralRounding.CollateralRoundingBuilderImpl, CollateralRounding.CollateralRoundingImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ISOCurrencyCodeEnumprotected BigDecimalprotected RoundingModeEnumprotected Stringprotected BigDecimalprotected RoundingModeEnumFields inherited from interface cdm.legaldocumentation.csa.CollateralRounding
metaData -
Constructor Summary
Constructors -
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).booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCurrency(ISOCurrencyCodeEnum _currency) setDeliveryAmount(BigDecimal _deliveryAmount) setDeliveryDirection(RoundingModeEnum _deliveryDirection) setReturnAmount(BigDecimal _returnAmount) setReturnDirection(RoundingModeEnum _returnDirection) toString()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 cdm.legaldocumentation.csa.CollateralRounding.CollateralRoundingBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
deliveryAmount
-
deliveryDirection
-
returnAmount
-
returnDirection
-
currency
-
other
-
-
Constructor Details
-
CollateralRoundingBuilderImpl
public CollateralRoundingBuilderImpl()
-
-
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
-
setDeliveryAmount
@RosettaAttribute("deliveryAmount") @Accessor(SETTER) @Required @RuneAttribute("deliveryAmount") public CollateralRounding.CollateralRoundingBuilder setDeliveryAmount(BigDecimal _deliveryAmount) - Specified by:
setDeliveryAmountin interfaceCollateralRounding.CollateralRoundingBuilder
-
setDeliveryDirection
@RosettaAttribute("deliveryDirection") @Accessor(SETTER) @Required @RuneAttribute("deliveryDirection") public CollateralRounding.CollateralRoundingBuilder setDeliveryDirection(RoundingModeEnum _deliveryDirection) - Specified by:
setDeliveryDirectionin interfaceCollateralRounding.CollateralRoundingBuilder
-
setReturnAmount
@RosettaAttribute("returnAmount") @Accessor(SETTER) @Required @RuneAttribute("returnAmount") public CollateralRounding.CollateralRoundingBuilder setReturnAmount(BigDecimal _returnAmount) - Specified by:
setReturnAmountin interfaceCollateralRounding.CollateralRoundingBuilder
-
setReturnDirection
@RosettaAttribute("returnDirection") @Accessor(SETTER) @Required @RuneAttribute("returnDirection") public CollateralRounding.CollateralRoundingBuilder setReturnDirection(RoundingModeEnum _returnDirection) - Specified by:
setReturnDirectionin interfaceCollateralRounding.CollateralRoundingBuilder
-
setCurrency
@RosettaAttribute("currency") @Accessor(SETTER) @Required @RuneAttribute("currency") public CollateralRounding.CollateralRoundingBuilder setCurrency(ISOCurrencyCodeEnum _currency) - Specified by:
setCurrencyin interfaceCollateralRounding.CollateralRoundingBuilder
-
setOther
@RosettaAttribute("other") @Accessor(SETTER) @RuneAttribute("other") public CollateralRounding.CollateralRoundingBuilder setOther(String _other) - Specified by:
setOtherin interfaceCollateralRounding.CollateralRoundingBuilder
-
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
-
prune
- Specified by:
prunein interfaceCollateralRounding.CollateralRoundingBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public CollateralRounding.CollateralRoundingBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-