Package com.priint.pubserver.pubitem
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 java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedId(java.lang.String value)Constructs a new Id object with the specified value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetValue()Returns the value of the Id.inthashCode()java.lang.StringtoString()Returns a string representation of the Id.
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Returns the value of the Id.- Returns:
- the value of the Id
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Returns a string representation of the Id.- Overrides:
toStringin classjava.lang.Object- Returns:
- a string representation of the Id
-
-