org.kuali.rice.kew.api.identity
Class PrincipalName

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

public class PrincipalName
extends Object
implements UserId

The name of a Principal in KIM

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
PrincipalName()
           
PrincipalName(String principalName)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          Returns the value of the id as a String
 String getPrincipalName()
           
 int hashCode()
           
 boolean isEmpty()
          Returns true if this Id has an empty value.
 void setPrincipalName(String principalName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrincipalName

public PrincipalName()

PrincipalName

public PrincipalName(String principalName)
Method Detail

getPrincipalName

public String getPrincipalName()

setPrincipalName

public void setPrincipalName(String principalName)

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()
Description copied from interface: Id
Returns true if this Id has an empty value. Empty Ids 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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.