org.kuali.rice.kew.workgroup
Class GroupNameId

java.lang.Object
  extended by org.kuali.rice.kew.workgroup.GroupNameId
All Implemented Interfaces:
Serializable, Id, GroupId

public final class GroupNameId
extends Object
implements GroupId

A GroupId which identifies the name of a Workgroup.

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

Constructor Summary
GroupNameId(String nameId)
           
GroupNameId(String namespace, String nameId)
           
 
Method Summary
 boolean equals(Object obj)
          If you make this class non-final, you must rewrite equals to work for subclasses.
 String getNameId()
           
 String getNamespace()
           
 int hashCode()
           
 boolean isEmpty()
          Returns true if this Id has an empty value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupNameId

public GroupNameId(String nameId)

GroupNameId

public GroupNameId(String namespace,
                   String nameId)
Method Detail

getNameId

public String getNameId()

getNamespace

public String getNamespace()

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

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-2011 The Kuali Foundation. All Rights Reserved.