Class PrimitiveValueTypeImpl.NumberTypeImpl

    • Constructor Detail

      • NumberTypeImpl

        public NumberTypeImpl()
    • Method Detail

      • createValue

        public NumberValue createValue​(java.lang.Object value,
                                       java.util.Map<java.lang.String,​java.lang.Object> valueInfo)
        Description copied from interface: ValueType
        Creates a new TypedValue using this type.
        Parameters:
        value - the value
        Returns:
        the typed value for the value
      • isAbstract

        public boolean isAbstract()
        Description copied from interface: ValueType

        Returns whether the value type is abstract. This is not related to the term abstract in the Java language.

        Abstract value types cannot be used as types for variables but only used for querying.
        Specified by:
        isAbstract in interface ValueType
        Overrides:
        isAbstract in class AbstractValueTypeImpl