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
public static class PublicationPubItem.Id extends PubItem.Id
Represents an identifier for a publication item.
-
-
Constructor Summary
Constructors Constructor Description Id(java.lang.String value)Constructs a new Id object with the specified value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static PublicationPubItem.Idof(java.lang.String value)Creates a new instance of Id with the specified value.java.lang.StringtoString()Returns a string representation of the Id.-
Methods inherited from class com.priint.pubserver.pubitem.PubItem.Id
getValue
-
-
-
-
Method Detail
-
of
public static PublicationPubItem.Id of(java.lang.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(java.lang.Object o)
- Overrides:
equalsin classPubItem.Id
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPubItem.Id
-
toString
public java.lang.String toString()
Description copied from class:PubItem.IdReturns a string representation of the Id.- Overrides:
toStringin classPubItem.Id- Returns:
- a string representation of the Id
-
-