Package cdm.base.math
Interface MoneyBound
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
MoneyBound.MoneyBoundBuilder
- All Known Implementing Classes:
MoneyBound.MoneyBoundBuilderImpl,MoneyBound.MoneyBoundImpl
@RosettaDataType(value="MoneyBound",
builder=MoneyBoundBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="MoneyBound",
model="cdm",
builder=MoneyBoundBuilderImpl.class,
version="5.30.0")
public interface MoneyBound
extends com.rosetta.model.lib.RosettaModelObject
The money bound is defined as a money amount and whether the bound is inclusive.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of MoneyBoundstatic classImmutable Implementation of MoneyBound -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic MoneyBound.MoneyBoundBuilderbuilder()Whether 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.default Class<? extends MoneyBound> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends MoneyBound> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getMoney
Money getMoney()The money amount to be used as the bound, e.g. 1,000 USD. -
getInclusive
Boolean getInclusive()Whether 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. -
build
MoneyBound build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
MoneyBound.MoneyBoundBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-