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
      • createId

        public static NitriteId createId​(long value)
        Creates a NitriteId from a long value.
        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 long getIdValue()
      • get_idValue

        public long get_idValue()
        The underlying value of the NitriteId.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object