Package cdm.base.math
Class NumberBound.NumberBoundImpl
java.lang.Object
cdm.base.math.NumberBound.NumberBoundImpl
- All Implemented Interfaces:
NumberBound,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
NumberBound
Immutable Implementation of NumberBound
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.math.NumberBound
NumberBound.NumberBoundBuilder, NumberBound.NumberBoundBuilderImpl, NumberBound.NumberBoundImpl -
Field Summary
Fields inherited from interface cdm.base.math.NumberBound
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanWhether the number bound is inclusive, e.g. for a lower bound, false would indicate greater than, whereas true would indicate greater than or equal to.The number to be used as the bound, e.g. 5.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.math.NumberBound
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
NumberBoundImpl
-
-
Method Details
-
getNumber
@RosettaAttribute(value="number", isRequired=true) @RuneAttribute(value="number", isRequired=true) public BigDecimal getNumber()Description copied from interface:NumberBoundThe number to be used as the bound, e.g. 5.- Specified by:
getNumberin interfaceNumberBound
-
getInclusive
@RosettaAttribute(value="inclusive", isRequired=true) @RuneAttribute(value="inclusive", isRequired=true) public Boolean getInclusive()Description copied from interface:NumberBoundWhether the number 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 interfaceNumberBound
-
build
Description copied from interface:NumberBoundBuild Methods- Specified by:
buildin interfaceNumberBound- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceNumberBound- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-