context.arch.discoverer.dataModel
Class AbstractStringToIntegerVectorIndexTable

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended bycontext.arch.discoverer.dataModel.AbstractIndexTableImpl
              extended bycontext.arch.discoverer.dataModel.AbstractStringToIntegerVectorIndexTable
All Implemented Interfaces:
java.lang.Cloneable, IndexTableIF, java.util.Map, java.io.Serializable
Direct Known Subclasses:
CallbackIndexTable, ClassnameIndexTable, CstAttributeIndexTable, CstAttributeNameIndexTable, CstAttributeValueIndexTable, HostnameIndexTable, InAttributeIndexTable, NonCstAttributeIndexTable, OutAttributeIndexTable, PortIndexTable, ServiceIndexTable, SubscriberIndexTable, TypeIndexTable

public abstract class AbstractStringToIntegerVectorIndexTable
extends AbstractIndexTableImpl

This class allows to store in a Hashtable : key=String => value=Vector of Integer

Author:
Agathe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class context.arch.discoverer.dataModel.AbstractIndexTableImpl
name
 
Constructor Summary
AbstractStringToIntegerVectorIndexTable(java.lang.String IndexName)
          Creates new StringToIntegerVectorIndexTable
 
Method Summary
 void add(java.lang.Object key, java.lang.Object integer)
          This method allows to add just one value.
 void removeKey(java.lang.Object key, java.lang.Object value)
          This method allows to remove the Integer value from the vector of Integer corresponding to key.
 
Methods inherited from class context.arch.discoverer.dataModel.AbstractIndexTableImpl
getElementAsIndex, 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

AbstractStringToIntegerVectorIndexTable

public AbstractStringToIntegerVectorIndexTable(java.lang.String IndexName)
Creates new StringToIntegerVectorIndexTable

Method Detail

add

public void add(java.lang.Object key,
                java.lang.Object integer)
This method allows to add just one value. So it must be overridden in other cases.

Specified by:
add in interface IndexTableIF
Specified by:
add in class AbstractIndexTableImpl
Parameters:
integer - The index

removeKey

public void removeKey(java.lang.Object key,
                      java.lang.Object value)
This method allows to remove the Integer value from the vector of Integer corresponding to key. This method allows to remove just one value. So it must be overridden in other cases.

Specified by:
removeKey in interface IndexTableIF
Specified by:
removeKey in class AbstractIndexTableImpl
Parameters:
key -
value -