net.walend.lyophil.memory
Class MemTypableKeyDigger

java.lang.Object
  |
  +--net.walend.lyophil.memory.MemTypableKeyDigger
All Implemented Interfaces:
Digger, TypableKeyDigger

public class MemTypableKeyDigger
extends java.lang.Object
implements TypableKeyDigger

This TypableKeyDigger works with the MemFreezer.

Since:
20010405
Author:
David Walend

Field Summary
 
Fields inherited from interface net.walend.lyophil.TypableKeyDigger
ROLE
 
Constructor Summary
MemTypableKeyDigger()
           
 
Method Summary
 boolean containsTypableKey(java.lang.String key)
          Returns true if the typable key is in use already.
 HasTypableKey findByTypableKey(java.lang.String key)
          Returns the Freezable that has the typable key
 java.io.Serializable findIDForTypableKey(java.lang.String key)
          Returns the id of the Freezable that has the typable key
protected  MemStorage getStorage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemTypableKeyDigger

public MemTypableKeyDigger()
Method Detail

getStorage

protected MemStorage getStorage()

findIDForTypableKey

public java.io.Serializable findIDForTypableKey(java.lang.String key)
                                         throws NotInFreezerException
Description copied from interface: TypableKeyDigger
Returns the id of the Freezable that has the typable key

Specified by:
findIDForTypableKey in interface TypableKeyDigger

findByTypableKey

public HasTypableKey findByTypableKey(java.lang.String key)
                               throws NotInFreezerException
Description copied from interface: TypableKeyDigger
Returns the Freezable that has the typable key

Specified by:
findByTypableKey in interface TypableKeyDigger

containsTypableKey

public boolean containsTypableKey(java.lang.String key)
Description copied from interface: TypableKeyDigger
Returns true if the typable key is in use already.

Specified by:
containsTypableKey in interface TypableKeyDigger


Copyright (c) 2000, 2001, David Walend