org.kuali.rice.kew.identity
Class PrincipalName

java.lang.Object
  extended by org.kuali.rice.kew.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

Field Summary
private  String id
           
 
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
 

Field Detail

id

private String id
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 © 2004-2011 The Kuali Foundation. All Rights Reserved.