Package cdm.product.asset
Class DiscountingMethod.DiscountingMethodImpl
java.lang.Object
cdm.product.asset.DiscountingMethod.DiscountingMethodImpl
- All Implemented Interfaces:
DiscountingMethod,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
DiscountingMethod
public static class DiscountingMethod.DiscountingMethodImpl
extends Object
implements DiscountingMethod
Immutable Implementation of DiscountingMethod
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.DiscountingMethod
DiscountingMethod.DiscountingMethodBuilder, DiscountingMethod.DiscountingMethodBuilderImpl, DiscountingMethod.DiscountingMethodImpl -
Field Summary
Fields inherited from interface cdm.product.asset.DiscountingMethod
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe discounting method that is applicable.A discount rate, expressed as a decimal, to be used in the calculation of a discounted amount.A discount day count fraction to be used in the calculation of a discounted amount.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.DiscountingMethod
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
DiscountingMethodImpl
-
-
Method Details
-
getDiscountingType
@RosettaAttribute(value="discountingType", isRequired=true) @RuneAttribute(value="discountingType", isRequired=true) public DiscountingTypeEnum getDiscountingType()Description copied from interface:DiscountingMethodThe discounting method that is applicable.- Specified by:
getDiscountingTypein interfaceDiscountingMethod
-
getDiscountRate
@RosettaAttribute("discountRate") @RuneAttribute("discountRate") public BigDecimal getDiscountRate()Description copied from interface:DiscountingMethodA discount rate, expressed as a decimal, to be used in the calculation of a discounted amount. A discount amount of 5% would be represented as 0.05.- Specified by:
getDiscountRatein interfaceDiscountingMethod
-
getDiscountRateDayCountFraction
@RosettaAttribute("discountRateDayCountFraction") @RuneAttribute("discountRateDayCountFraction") public FieldWithMetaDayCountFractionEnum getDiscountRateDayCountFraction()Description copied from interface:DiscountingMethodA discount day count fraction to be used in the calculation of a discounted amount.- Specified by:
getDiscountRateDayCountFractionin interfaceDiscountingMethod
-
build
Description copied from interface:DiscountingMethodBuild Methods- Specified by:
buildin interfaceDiscountingMethod- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceDiscountingMethod- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-