com.atlassian.crucible.spi
Class PermId<T>

java.lang.Object
  extended by 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

Constructor Summary
PermId()
           
PermId(java.lang.String id)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getId()
           
 int hashCode()
           
 void setId(java.lang.String id)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermId

public PermId()

PermId

public PermId(java.lang.String id)
Method Detail

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