context.arch.discoverer.dataModel
Class ClassnameIndexTable

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

public class ClassnameIndexTable
extends AbstractStringToIntegerVectorIndexTable

Version:
Author:
Administrator
See Also:
Serialized Form

Field Summary
 
Fields inherited from class context.arch.discoverer.dataModel.AbstractIndexTableImpl
name
 
Constructor Summary
ClassnameIndexTable(java.lang.String indexName)
          Creates new ClassnameIndexTable
 
Method Summary
 java.lang.Object getElementAsIndex(java.lang.Object componentDescription)
          Returns the element of the object key that is used as the key of the indexTable.
 
Methods inherited from class context.arch.discoverer.dataModel.AbstractStringToIntegerVectorIndexTable
add, removeKey
 
Methods inherited from class context.arch.discoverer.dataModel.AbstractIndexTableImpl
getName, 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
 

Constructor Detail

ClassnameIndexTable

public ClassnameIndexTable(java.lang.String indexName)
Creates new ClassnameIndexTable

Method Detail

getElementAsIndex

public java.lang.Object getElementAsIndex(java.lang.Object componentDescription)
Description copied from class: AbstractIndexTableImpl
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.

Specified by:
getElementAsIndex in class AbstractIndexTableImpl
Parameters:
componentDescription - The object from which the class extracts what is relevant for it.
Returns:
String The component classname