context.arch.discoverer.dataModel
Class PortIndexTable

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

public class PortIndexTable
extends AbstractStringToIntegerVectorIndexTable

Stores the port as a String

Author:
Agathe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class context.arch.discoverer.dataModel.AbstractIndexTableImpl
name
 
Constructor Summary
PortIndexTable(java.lang.String indexName)
          Creates new ClassnameIndexTable
 
Method Summary
 java.lang.Object getElementAsIndex(java.lang.Object componentDescription)
          Returns the relevant key that is stored : the port number
 
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

PortIndexTable

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

Method Detail

getElementAsIndex

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

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