Interface DataType

    • Method Detail

      • verifyDataType

        boolean verifyDataType​(Object value)
        Returns true if the given value is a valid value of this data type.
      • getStringType

        String getStringType()
        Returns the corresponding Java type of this datatype
      • valueOf

        default Object valueOf​(String value)
        Tries to convert string parameter to an object of this type
        Parameters:
        value - to be converted. For the sake of performance, it is assumed to not be null and not of this data type.
        Returns:
        object converted to this type, if not possible to convert, the same object passed as parameter