CRC Cards for Structured Matcher

Class name: SimpleMatherController
Responsibilities:

Proxies between the SimpleMatcherView and the domain objects it collaborates with.

addQuestion()
addRow()
editCell()

Collaborators: SimpleMatcher
Question
PlugableDataType
DataEditor


Class name: StructuredMatcherController
Responsibilities: Proxies between the StructuredMatcherView and the domain objects it collaborates with.

addSimpleMatcher()
Collaborators: SimpleMatcher

Class name: SimpleMatcher
Responsibilities:

Contructs and maintain a logic table, allowing information input and retrieval.

addColumn( SimpleMatcher sm )
Object getColObject( int col )
setValueAt( int row, int col, Object value )

Collaborators: Vector

Class name: Question
Responsibilities:

Holds the information that defines the question that a simple matcher can ask.

create( String ref, Class type, String body )

Collaborators:

Class name: Questions
Responsibilities:

Holding a collection of Questions

addQuestion( Question q )

Collaborators:

Class name: Vector
Responsibilities:

Implements a general indexed collection.

addElement()

Collaborators:

Class name: DontCare
Responsibilities:

To indicate a don't care matching condition - alway true.

getInstance()

Collaborators:
Class name: PlugableDataType (Interface)
Responsibilities:

Provide a consistent way for a data type to plug into SM.

DataEditor getEditor()

Collaborators:
Class name: DataEditor(Interface)
Responsibilities:

Allows each PlugableDataType to provide it's own user interface to edit it's matching conditions.

getValue()

Collaborators:

Back to main page


e-mail:wingkeon@ecst.csuchico.edu

Back to home