All Packages Class Hierarchy This Package Previous Next Index
Class aid.cbr.tools.core.memory.casebase.CaseBaseEvent
java.lang.Object
|
+----java.util.EventObject
|
+----aid.cbr.tools.core.memory.casebase.CaseBaseEvent
- public class CaseBaseEvent
- extends EventObject
Contains all the data of a case base event.
- Version:
- $Revision$, $Date$
- Author:
- M. Jaczynski
-
_caseId
- Stores the id of the added or removed case.
-
_subCaseBase
- Stores the name of the added or removed sub-case base.
-
CaseBaseEvent(CaseBase)
- Creates a new case base event description
-
CaseBaseEvent(CaseBase, CaseBase)
- Creates a new case event description.
-
getCaseId()
- Returns the id of the added or removed case.
-
getSourceCaseBase()
- Returns the modified case base.
-
getSubCaseBase()
- Returns the added or removed sub-case base.
-
setCaseId(Object)
- Sets the case id of the removed, added or committed case.
_caseId
protected Object _caseId
- Stores the id of the added or removed case.
_subCaseBase
protected CaseBase _subCaseBase
- Stores the name of the added or removed sub-case base.
CaseBaseEvent
public CaseBaseEvent(CaseBase source)
- Creates a new case base event description
- Parameters:
- source - the source case base (primary)
CaseBaseEvent
public CaseBaseEvent(CaseBase source,
CaseBase subCaseBase)
- Creates a new case event description.
- Parameters:
- source - the source case base (primary)
- subCaseBase - the sub case base removed or added
getCaseId
public Object getCaseId()
- Returns the id of the added or removed case.
setCaseId
public void setCaseId(Object id)
- Sets the case id of the removed, added or committed case.
- Parameters:
- id - the case id
getSourceCaseBase
public CaseBase getSourceCaseBase()
- Returns the modified case base.
getSubCaseBase
public CaseBase getSubCaseBase()
- Returns the added or removed sub-case base.
All Packages Class Hierarchy This Package Previous Next Index