All Packages Class Hierarchy This Package Previous Next Index
Interface aid.cbr.tools.core.cbrcase.CbrCase
- public interface CbrCase
Defines the basic interface of a case.
- Version:
- $Revision$, $Date$
- Author:
- M. Jaczynski
-
getCaseBase()
- Returns the case base that contains this case.
-
getCaseId()
- Returns the id of this case.
-
getPotentialIndices()
-
-
setCaseBase(CaseBase)
- Sets the case base of this case.
-
setCaseId(Object)
- Sets the id of this case.
getCaseId
public abstract Object getCaseId()
- Returns the id of this case.
- Returns:
- the id
setCaseId
public abstract void setCaseId(Object caseId)
- Sets the id of this case.
This operation can only be done once.
- Parameters:
- caseId - the case id [not null]
getCaseBase
public abstract CaseBase getCaseBase()
- Returns the case base that contains this case.
- Returns:
- the case base
setCaseBase
public abstract void setCaseBase(CaseBase cb)
- Sets the case base of this case.
This operation must not be used directly, call
addCase
on a case base
instead.
- Parameters:
- cb - the case base [not null]
getPotentialIndices
public abstract CompoundIndice getPotentialIndices()
All Packages Class Hierarchy This Package Previous Next Index