context.arch.discoverer.dataModel
Class AbstractDataModel

java.lang.Object
  extended bycontext.arch.discoverer.dataModel.AbstractDataModel
Direct Known Subclasses:
DiscovererDataModel

public abstract class AbstractDataModel
extends java.lang.Object

Author:
Agathe

Field Summary
protected  java.util.Hashtable nameToIndexTableIF
          This hashtable contains the IndexTableIF object that are the index tables used in this data model.
 
Constructor Summary
AbstractDataModel()
           
 
Method Summary
abstract  java.lang.Object add(java.lang.Object object)
           
 void decNbElements()
           
abstract  java.lang.Object getEmptyArray()
           
abstract  java.util.Enumeration getIndexKeys()
           
abstract  java.lang.Object getIndexOf(java.lang.Object object)
           
 IndexTableIF getIndexTableIFCorrespondingTo(java.lang.String indexName)
           
 int getNbElements()
           
 int getNumberOfElements()
           
abstract  java.lang.Object getObjectAt(java.lang.Object object)
           
 void incNbElements()
           
abstract  java.lang.Object remove(java.lang.Object object)
           
abstract  java.lang.String toString()
           
abstract  java.lang.Object update(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nameToIndexTableIF

protected java.util.Hashtable nameToIndexTableIF
This hashtable contains the IndexTableIF object that are the index tables used in this data model. key=string=name of the indexTable => value=IndexTableIF

Constructor Detail

AbstractDataModel

public AbstractDataModel()
Method Detail

getIndexTableIFCorrespondingTo

public IndexTableIF getIndexTableIFCorrespondingTo(java.lang.String indexName)

add

public abstract java.lang.Object add(java.lang.Object object)

update

public abstract java.lang.Object update(java.lang.Object object)

remove

public abstract java.lang.Object remove(java.lang.Object object)

getIndexOf

public abstract java.lang.Object getIndexOf(java.lang.Object object)

getObjectAt

public abstract java.lang.Object getObjectAt(java.lang.Object object)

getIndexKeys

public abstract java.util.Enumeration getIndexKeys()

toString

public abstract java.lang.String toString()

getNumberOfElements

public int getNumberOfElements()

getEmptyArray

public abstract java.lang.Object getEmptyArray()

incNbElements

public void incNbElements()

decNbElements

public void decNbElements()

getNbElements

public int getNbElements()