org.apache.jcs.engine.control.group
Class GroupId

java.lang.Object
  extended byorg.apache.jcs.engine.control.group.GroupId
All Implemented Interfaces:
java.io.Serializable

public class GroupId
extends java.lang.Object
implements java.io.Serializable

Used to avoid name conflict when group cache items are mixed with non-group cache items in the same cache.

Author:
asmuts, John McNally
See Also:
Serialized Form

Field Summary
 java.lang.String cacheName
           
 java.lang.String groupName
          Description of the Field
private  java.lang.String toString
           
 
Constructor Summary
GroupId(java.lang.String cacheName, java.lang.String groupName)
          Constructor for the GroupId object
 
Method Summary
 boolean equals(java.lang.Object obj)
          Description of the Method
 int hashCode()
          Description of the Method
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

groupName

public final java.lang.String groupName
Description of the Field


cacheName

public final java.lang.String cacheName

toString

private java.lang.String toString
Constructor Detail

GroupId

public GroupId(java.lang.String cacheName,
               java.lang.String groupName)
Constructor for the GroupId object

Parameters:
cacheName -
groupName -
Method Detail

equals

public boolean equals(java.lang.Object obj)
Description of the Method


hashCode

public int hashCode()
Description of the Method


toString

public java.lang.String toString()
Description of the Method