context.arch.discoverer.dataModel
Class AbstractIndexTableImpl

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended bycontext.arch.discoverer.dataModel.AbstractIndexTableImpl
All Implemented Interfaces:
java.lang.Cloneable, IndexTableIF, java.util.Map, java.io.Serializable
Direct Known Subclasses:
AbstractStringToIntegerIndexTable, AbstractStringToIntegerVectorIndexTable

public abstract class AbstractIndexTableImpl
extends java.util.Hashtable
implements IndexTableIF

Author:
Agathe
See Also:
Serialized Form

Field Summary
protected  java.lang.String name
           
 
Constructor Summary
AbstractIndexTableImpl()
           
 
Method Summary
abstract  void add(java.lang.Object key, java.lang.Object value)
           
abstract  java.lang.Object getElementAsIndex(java.lang.Object object)
          Returns the element of the object key that is used as the key of the indexTable.
 java.lang.String getName()
           
abstract  void removeKey(java.lang.Object key, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface context.arch.discoverer.dataModel.IndexTableIF
containsKey, get, keys
 

Field Detail

name

protected java.lang.String name
Constructor Detail

AbstractIndexTableImpl

public AbstractIndexTableImpl()
Method Detail

add

public abstract void add(java.lang.Object key,
                         java.lang.Object value)
Specified by:
add in interface IndexTableIF

removeKey

public abstract void removeKey(java.lang.Object key,
                               java.lang.Object value)
Specified by:
removeKey in interface IndexTableIF

getName

public java.lang.String getName()
Specified by:
getName in interface IndexTableIF

toString

public java.lang.String toString()
Specified by:
toString in interface IndexTableIF

getElementAsIndex

public abstract java.lang.Object getElementAsIndex(java.lang.Object object)
Returns the element of the object key that is used as the key of the indexTable. That is the final class that chooses what element of the complex object is stored as a key.

Parameters:
object - The object from which the class extracts what is relevant for it.
Returns:
Object