context.arch.discoverer.dataModel
Class IdIndexTable

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

public class IdIndexTable
extends AbstractStringToIntegerIndexTable

Author:
Agathe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class context.arch.discoverer.dataModel.AbstractIndexTableImpl
name
 
Constructor Summary
IdIndexTable(java.lang.String indexName)
          Creates new IdIndexTable
 
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.AbstractStringToIntegerIndexTable
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

IdIndexTable

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

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 id