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 $
-
allMatched
- The result of the checking.
-
data
- the DataStore with the data of which the types must be checked.
-
dataIndex
- Index in the DataStore that indicates which Data object to check next.
-
DataTypeChecker(DataStore)
-
-
action(Connector)
-
-
getResult()
-
-
preAction()
-
allMatched
private boolean allMatched
- The result of the checking.
true
if all types matched,
false
otherwise.
dataIndex
private int dataIndex
- Index in the DataStore that indicates which Data object to check next.
data
private DataStore data
- the DataStore with the data of which the types must be checked.
DataTypeChecker
public DataTypeChecker(DataStore data)
- Parameters:
- data - the DataStore with the data of which the types must
be checked.
preAction
public void preAction()
- Overrides:
- preAction in class VectorIterator
action
public void action(Connector c)
- Overrides:
- action in class ConnectorStoreIterator
getResult
public boolean getResult()
- Returns:
- the result of the checking.
true
if all types
matched, false
otherwise.