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

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

public class EmployeeId
extends Object
implements UserId

The Employee ID of a Person in KIM

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

Constructor Summary
EmployeeId()
           
EmployeeId(String employeeId)
           
 
Method Summary
 boolean equals(Object obj)
          If you make this class non-final, you must rewrite equals to work for subclasses.
 String getEmployeeId()
           
 String getId()
          Returns the value of the id as a String
 int hashCode()
           
 boolean isEmpty()
          Returns true if this userId has an empty value.
 void setEmployeeId(String employeeId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmployeeId

public EmployeeId()

EmployeeId

public EmployeeId(String employeeId)
Method Detail

getEmployeeId

public String getEmployeeId()

setEmployeeId

public void setEmployeeId(String employeeId)

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


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