Class NitriteId

    • Method Detail

      • createId

        public static NitriteId createId​(String value)
        Creates a NitriteId from a value.

        The value must be a string representation of a 64bit integer number.

        Parameters:
        value - the value
        Returns:
        the NitriteId
      • validId

        public static boolean validId​(Object value)
        Validates a value to be used as NitriteId.

        The value must be a string representation of a 64bit integer number.

        Parameters:
        value - the value
        Returns:
        `true` if the value is valid; otherwise `false`.
      • getIdValue

        public String getIdValue()
        Gets the underlying value of the NitriteId.

        The value is a string representation of a 64bit integer number.

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object