Class RNumberType
java.lang.Object
com.regnosys.rosetta.types.RType
com.regnosys.rosetta.types.RParametrizedType
com.regnosys.rosetta.types.builtin.RBasicType
com.regnosys.rosetta.types.builtin.RNumberType
- All Implemented Interfaces:
ModelSymbol
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.ModelSymbol
ModelSymbol.AbstractModelSymbol -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRNumberType(Optional<Integer> digits, Optional<Integer> fractionalDigits, BigDecimalInterval interval, Optional<BigDecimal> scale) RNumberType(Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max, Optional<BigDecimal> scale) -
Method Summary
Modifier and TypeMethodDescriptionstatic RNumberTypefrom(Map<String, RosettaValue> values) getScale()booleanjoin(RNumberType other) Methods inherited from class com.regnosys.rosetta.types.builtin.RBasicType
getSymbolId, hasNaturalOrderMethods inherited from class com.regnosys.rosetta.types.RParametrizedType
equals, getArguments, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.ModelSymbol
getName, getNamespace, getQualifiedName
-
Field Details
-
DIGITS_PARAM_NAME
- See Also:
-
FRACTIONAL_DIGITS_PARAM_NAME
- See Also:
-
MIN_PARAM_NAME
- See Also:
-
MAX_PARAM_NAME
- See Also:
-
SCALE_PARAM_NAME
- See Also:
-
-
Constructor Details
-
RNumberType
public RNumberType(Optional<Integer> digits, Optional<Integer> fractionalDigits, BigDecimalInterval interval, Optional<BigDecimal> scale) -
RNumberType
public RNumberType(Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max, Optional<BigDecimal> scale)
-
-
Method Details
-
from
-
getDigits
-
getFractionalDigits
-
getInterval
-
getScale
-
isInteger
public boolean isInteger() -
join
-