Class PrincipalId

java.lang.Object
org.kuali.rice.kew.api.identity.PrincipalId
All Implemented Interfaces:
Serializable, Id, UserId

public class PrincipalId extends Object implements UserId
The primary ID of a Principal in KIM
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • PrincipalId

      public PrincipalId()
    • PrincipalId

      public PrincipalId(String principalId)
  • Method Details

    • getPrincipalId

      public String getPrincipalId()
    • setPrincipalId

      public void setPrincipalId(String principalId)
    • getId

      public String getId()
      Description copied from interface: UserId
      Returns the value of the id as a String
      Specified by:
      getId in interface UserId
    • 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.
      Specified by:
      isEmpty in interface Id
      Returns:
      true if this instance doesn't have a value
    • equals

      public boolean equals(Object obj)
      If you make this class non-final, you must rewrite equals to work for subclasses.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object