Class PubItem.Id

java.lang.Object
com.priint.pubserver.pubitem.PubItem.Id
Direct Known Subclasses:
DocumentPubItem.Id, FolderPubItem.Id, PublicationPubItem.Id
Enclosing class:
PubItem

public abstract static class PubItem.Id extends Object
  • Constructor Details

    • Id

      protected Id(String value)
      Constructs a new Id object with the specified value.
      Parameters:
      value - the value of the Id
      Throws:
      IllegalArgumentException - if the value is null or empty
  • Method Details

    • getValue

      public String getValue()
      Returns the value of the Id.
      Returns:
      the value of the Id
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Returns a string representation of the Id.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the Id