Package cdm.base.math
Class MoneyBound.MoneyBoundImpl
java.lang.Object
cdm.base.math.MoneyBound.MoneyBoundImpl
- All Implemented Interfaces:
MoneyBound,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
MoneyBound
Immutable Implementation of MoneyBound
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.math.MoneyBound
MoneyBound.MoneyBoundBuilder, MoneyBound.MoneyBoundBuilderImpl, MoneyBound.MoneyBoundImpl -
Field Summary
Fields inherited from interface cdm.base.math.MoneyBound
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanWhether the money amount bound is inclusive, e.g. for a lower bound, false would indicate greater than, whereas true would indicate greater than or equal to.getMoney()The money amount to be used as the bound, e.g. 1,000 USD.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.math.MoneyBound
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
MoneyBoundImpl
-
-
Method Details
-
getMoney
@RosettaAttribute(value="money", isRequired=true) @RuneAttribute(value="money", isRequired=true) public Money getMoney()Description copied from interface:MoneyBoundThe money amount to be used as the bound, e.g. 1,000 USD.- Specified by:
getMoneyin interfaceMoneyBound
-
getInclusive
@RosettaAttribute(value="inclusive", isRequired=true) @RuneAttribute(value="inclusive", isRequired=true) public Boolean getInclusive()Description copied from interface:MoneyBoundWhether the money amount bound is inclusive, e.g. for a lower bound, false would indicate greater than, whereas true would indicate greater than or equal to.- Specified by:
getInclusivein interfaceMoneyBound
-
build
Description copied from interface:MoneyBoundBuild Methods- Specified by:
buildin interfaceMoneyBound- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceMoneyBound- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-