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

Variable Index

 o _caseId
Stores the id of the added or removed case.
 o _subCaseBase
Stores the name of the added or removed sub-case base.

Constructor Index

 o CaseBaseEvent(CaseBase)
Creates a new case base event description
 o CaseBaseEvent(CaseBase, CaseBase)
Creates a new case event description.

Method Index

 o getCaseId()
Returns the id of the added or removed case.
 o getSourceCaseBase()
Returns the modified case base.
 o getSubCaseBase()
Returns the added or removed sub-case base.
 o setCaseId(Object)
Sets the case id of the removed, added or committed case.

Variables

 o _caseId
 protected Object _caseId
Stores the id of the added or removed case.

 o _subCaseBase
 protected CaseBase _subCaseBase
Stores the name of the added or removed sub-case base.

Constructors

 o CaseBaseEvent
 public CaseBaseEvent(CaseBase source)
Creates a new case base event description

Parameters:
source - the source case base (primary)
 o 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

Methods

 o getCaseId
 public Object getCaseId()
Returns the id of the added or removed case.

 o setCaseId
 public void setCaseId(Object id)
Sets the case id of the removed, added or committed case.

Parameters:
id - the case id
 o getSourceCaseBase
 public CaseBase getSourceCaseBase()
Returns the modified case base.

 o getSubCaseBase
 public CaseBase getSubCaseBase()
Returns the added or removed sub-case base.


All Packages  Class Hierarchy  This Package  Previous  Next  Index