Class PublicationPubItem.Id

java.lang.Object
com.priint.pubserver.pubitem.PubItem.Id
com.priint.pubserver.pubitem.PublicationPubItem.Id
Enclosing class:
PublicationPubItem

public static class PublicationPubItem.Id extends PubItem.Id
Represents an identifier for a publication item.
  • Constructor Details

    • Id

      public Id(String value)
      Constructs a new Id object with the specified value.
      Parameters:
      value - the value of the Id
  • Method Details

    • of

      public static PublicationPubItem.Id of(String value)
      Creates a new instance of Id with the specified value.
      Parameters:
      value - the value of the Id
      Returns:
      a new instance of Id
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class PubItem.Id
    • toString

      public String toString()
      Description copied from class: PubItem.Id
      Returns a string representation of the Id.
      Overrides:
      toString in class PubItem.Id
      Returns:
      a string representation of the Id