Class AbstractId<T extends AbstractId<T>>

    • Constructor Detail

      • AbstractId

        protected AbstractId​(String canonical)
    • Method Detail

      • canonical

        public final String canonical()
        The canonical ID. This is guaranteed to be non-null.
      • equals

        public boolean equals​(Object obj)
        AbstractID objects are considered equal if, and only if, they are of the same type and have the same canonical identifier.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Returns a string of the canonical ID. This is guaranteed to be non-null.
        Overrides:
        toString in class Object