Package cdm.base.math
Class MoneyBound.MoneyBoundBuilderImpl
java.lang.Object
cdm.base.math.MoneyBound.MoneyBoundBuilderImpl
- All Implemented Interfaces:
MoneyBound,MoneyBound.MoneyBoundBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
MoneyBound
public static class MoneyBound.MoneyBoundBuilderImpl
extends Object
implements MoneyBound.MoneyBoundBuilder
Builder Implementation of MoneyBound
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.math.MoneyBound
MoneyBound.MoneyBoundBuilder, MoneyBound.MoneyBoundBuilderImpl, MoneyBound.MoneyBoundImpl -
Field Summary
FieldsFields 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.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setInclusive(Boolean _inclusive) toString()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 cdm.base.math.MoneyBound.MoneyBoundBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
money
-
inclusive
-
-
Constructor Details
-
MoneyBoundBuilderImpl
public MoneyBoundBuilderImpl()
-
-
Method Details
-
getMoney
@RosettaAttribute(value="money", isRequired=true) @RuneAttribute(value="money", isRequired=true) public Money.MoneyBuilder getMoney()Description copied from interface:MoneyBoundThe money amount to be used as the bound, e.g. 1,000 USD.- Specified by:
getMoneyin interfaceMoneyBound- Specified by:
getMoneyin interfaceMoneyBound.MoneyBoundBuilder
-
getOrCreateMoney
- Specified by:
getOrCreateMoneyin interfaceMoneyBound.MoneyBoundBuilder
-
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
-
setMoney
@RosettaAttribute(value="money", isRequired=true) @RuneAttribute(value="money", isRequired=true) public MoneyBound.MoneyBoundBuilder setMoney(Money _money) - Specified by:
setMoneyin interfaceMoneyBound.MoneyBoundBuilder
-
setInclusive
@RosettaAttribute(value="inclusive", isRequired=true) @RuneAttribute(value="inclusive", isRequired=true) public MoneyBound.MoneyBoundBuilder setInclusive(Boolean _inclusive) - Specified by:
setInclusivein interfaceMoneyBound.MoneyBoundBuilder
-
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
-
prune
- Specified by:
prunein interfaceMoneyBound.MoneyBoundBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public MoneyBound.MoneyBoundBuilder 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
-