context.arch.discoverer.dataModel
Class CstAttributeNameIndexTable

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.CstAttributeNameIndexTable
All Implemented Interfaces:
java.lang.Cloneable, IndexTableIF, java.util.Map, java.io.Serializable

public class CstAttributeNameIndexTable
extends AbstractStringToIntegerVectorIndexTable

Author:
Agathe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class context.arch.discoverer.dataModel.AbstractIndexTableImpl
name
 
Constructor Summary
CstAttributeNameIndexTable(java.lang.String indexName)
          Creates new CstAttributeNameIndexTable
 
Method Summary
 void add(java.lang.Object componentDescription, java.lang.Object integer)
          Overrides the add method to
 java.lang.Object getElementAsIndex(java.lang.Object componentDescription)
          Returns the relevant key that is stored : the constant attributes
 void removeKey(java.lang.Object componentDescription, java.lang.Object integer)
          This method allows to remove ...
 
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

CstAttributeNameIndexTable

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

Method Detail

getElementAsIndex

public java.lang.Object getElementAsIndex(java.lang.Object componentDescription)
Returns the relevant key that is stored : the constant attributes

Specified by:
getElementAsIndex in class AbstractIndexTableImpl
Parameters:
componentDescription - The object from which the class extracts what is relevant for it.
Returns:
Collection of the constant attribute names

add

public void add(java.lang.Object componentDescription,
                java.lang.Object integer)
Overrides the add method to

Specified by:
add in interface IndexTableIF
Overrides:
add in class AbstractStringToIntegerVectorIndexTable
Parameters:
componentDescription - The ComponentDescription object
integer - The index

removeKey

public void removeKey(java.lang.Object componentDescription,
                      java.lang.Object integer)
This method allows to remove ...

Specified by:
removeKey in interface IndexTableIF
Overrides:
removeKey in class AbstractStringToIntegerVectorIndexTable
Parameters:
componentDescription -
integer -