Class DocumentPubItem.Id

  • Enclosing class:
    DocumentPubItem

    public static class DocumentPubItem.Id
    extends PubItem.Id
    Represents the ID of a document publication item.
    • Constructor Summary

      Constructors 
      Constructor Description
      Id​(java.lang.String value)
      Constructs a new ID with the specified value.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Checks if this ID is equal to the specified object.
      int hashCode()
      Returns the hash code value for this ID.
      static DocumentPubItem.Id of​(java.lang.String value)
      Creates a new ID with the specified value.
      java.lang.String toString()
      Returns a string representation of this ID.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Id

        public Id​(java.lang.String value)
        Constructs a new ID with the specified value.
        Parameters:
        value - the value of the ID
    • Method Detail

      • of

        public static DocumentPubItem.Id of​(java.lang.String value)
        Creates a new ID with the specified value.
        Parameters:
        value - the value of the ID
        Returns:
        the new ID
      • equals

        public boolean equals​(java.lang.Object o)
        Checks if this ID is equal to the specified object.
        Overrides:
        equals in class PubItem.Id
        Parameters:
        o - the object to compare
        Returns:
        true if the object is equal to this ID, false otherwise
      • hashCode

        public int hashCode()
        Returns the hash code value for this ID.
        Overrides:
        hashCode in class PubItem.Id
        Returns:
        the hash code value for this ID
      • toString

        public java.lang.String toString()
        Returns a string representation of this ID.
        Overrides:
        toString in class PubItem.Id
        Returns:
        a string representation of this ID