org.kuali.rice.kew.identity
Class PrincipalName
java.lang.Object
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
id
private String id
PrincipalName
public PrincipalName()
PrincipalName
public PrincipalName(String principalName)
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.