Package com.priint.pubserver.pubitem
Class DocumentPubItem.Id
- java.lang.Object
-
- com.priint.pubserver.pubitem.PubItem.Id
-
- com.priint.pubserver.pubitem.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 booleanequals(java.lang.Object o)Checks if this ID is equal to the specified object.inthashCode()Returns the hash code value for this ID.static DocumentPubItem.Idof(java.lang.String value)Creates a new ID with the specified value.java.lang.StringtoString()Returns a string representation of this ID.-
Methods inherited from class com.priint.pubserver.pubitem.PubItem.Id
getValue
-
-
-
-
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:
equalsin classPubItem.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:
hashCodein classPubItem.Id- Returns:
- the hash code value for this ID
-
toString
public java.lang.String toString()
Returns a string representation of this ID.- Overrides:
toStringin classPubItem.Id- Returns:
- a string representation of this ID
-
-