com.jxml.quick.qmap
Class QKeyedBase

java.lang.Object
  |
  +--com.jxml.quick.qmap.QKeyedBase
All Implemented Interfaces:
QKeyed
Direct Known Subclasses:
OCMparam, OCMpeerFactoryEntry, QMapEntry, SessionPropertyString

public class QKeyedBase
extends Object
implements QKeyed


Field Summary
 Object key
           
 
Constructor Summary
QKeyedBase()
           
QKeyedBase(Map container, Object key)
           
 
Method Summary
 void attach(Map container)
          Set the map which holds this object and add this object to the map.
 Object key()
          Returns the key used to locate this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public Object key
Constructor Detail

QKeyedBase

public QKeyedBase()

QKeyedBase

public QKeyedBase(Map container,
                  Object key)
Method Detail

key

public Object key()
Description copied from interface: QKeyed
Returns the key used to locate this object.
Specified by:
key in interface QKeyed

attach

public void attach(Map container)
Description copied from interface: QKeyed
Set the map which holds this object and add this object to the map. (Set to null when removed from a container.)
Specified by:
attach in interface QKeyed