com.atlassian.crucible.spi
Class PermId<T>
java.lang.Object
com.atlassian.crucible.spi.PermId<T>
- All Implemented Interfaces:
- java.io.Serializable
public class PermId<T>
- extends java.lang.Object
- implements java.io.Serializable
Holds a permId in a type-safe way
PermIds are used to identify instances in the Crucible domain model.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PermId
public PermId()
PermId
public PermId(java.lang.String id)
setId
public void setId(java.lang.String id)
getId
public java.lang.String getId()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object