org.kuali.rice.kew.workgroup
Class WorkflowGroupId

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

public final class WorkflowGroupId
extends Object
implements GroupId

A GroupId which is a unique numerical identifier for a Workgroup.

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

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

Constructor Detail

WorkflowGroupId

public WorkflowGroupId(Long groupId)
Method Detail

getGroupId

public Long getGroupId()

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–2014 The Kuali Foundation. All rights reserved.