Package org.kuali.rice.kew.api.identity
Class PrincipalId
java.lang.Object
org.kuali.rice.kew.api.identity.PrincipalId
- All Implemented Interfaces:
Serializable,Id,UserId
The primary ID of a Principal in KIM
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf you make this class non-final, you must rewrite equals to work for subclasses.getId()Returns the value of the id as a StringinthashCode()booleanisEmpty()Returns true if this userId has an empty value.voidsetPrincipalId(String principalId) toString()
-
Constructor Details
-
PrincipalId
public PrincipalId() -
PrincipalId
-
-
Method Details
-
getPrincipalId
-
setPrincipalId
-
getId
Description copied from interface:UserIdReturns the value of the id as a String -
isEmpty
public boolean isEmpty()Returns true if this userId has an empty value. Empty userIds can't be used as keys in a Hash, among other things. -
equals
If you make this class non-final, you must rewrite equals to work for subclasses. -
hashCode
public int hashCode() -
toString
-