Class DataTypeChecker

java.lang.Object
   |
   +----java.util.VectorIterator
           |
           +----ConnectorStoreIterator
                   |
                   +----DataTypeChecker

class DataTypeChecker
extends ConnectorStoreIterator
A ConnectorStoreIterator that compares the types of the data of the Connectors in a ConnectorStore with the types of data in a specific DataStore.

Version:
$Revision: 1.3 $

Variable Index

 o allMatched
The result of the checking.
 o data
the DataStore with the data of which the types must be checked.
 o dataIndex
Index in the DataStore that indicates which Data object to check next.

Constructor Index

 o DataTypeChecker(DataStore)

Method Index

 o action(Connector)
 o getResult()
 o preAction()

Variables

 o allMatched
 private boolean allMatched
The result of the checking. true if all types matched, false otherwise.

 o dataIndex
 private int dataIndex
Index in the DataStore that indicates which Data object to check next.

 o data
 private DataStore data
the DataStore with the data of which the types must be checked.

Constructors

 o DataTypeChecker
 public DataTypeChecker(DataStore data)
Parameters:
data - the DataStore with the data of which the types must be checked.

Methods

 o preAction
 public void preAction()
Overrides:
preAction in class VectorIterator
 o action
 public void action(Connector c)
Overrides:
action in class ConnectorStoreIterator
 o getResult
 public boolean getResult()
Returns:
the result of the checking. true if all types matched, false otherwise.