Package com.priint.pubserver.pubitem
Class PublicationPubItem.Id
java.lang.Object
com.priint.pubserver.pubitem.PubItem.Id
com.priint.pubserver.pubitem.PublicationPubItem.Id
- Enclosing class:
- PublicationPubItem
Represents an identifier for a publication item.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.priint.pubserver.pubitem.PubItem.Id
getValue
-
Constructor Details
-
Id
Constructs a new Id object with the specified value.- Parameters:
value- the value of the Id
-
-
Method Details
-
of
Creates a new instance of Id with the specified value.- Parameters:
value- the value of the Id- Returns:
- a new instance of Id
-
equals
- Overrides:
equalsin classPubItem.Id
-
hashCode
public int hashCode()- Overrides:
hashCodein classPubItem.Id
-
toString
Description copied from class:PubItem.IdReturns a string representation of the Id.- Overrides:
toStringin classPubItem.Id- Returns:
- a string representation of the Id
-