public interface ICaseBase
extends java.util.Observer
| Modifier and Type | Interface and Description |
|---|---|
static class |
ICaseBase.Meta |
| Modifier and Type | Method and Description |
|---|---|
void |
addCase(Instance caze) |
Instance |
containsCase(java.lang.String name)
Returns true, if the case base contains a case with the given name.
|
java.util.Collection<Instance> |
getCases()
Returns all cases known for this case base.
|
java.lang.String |
getName()
Returns the name of the case base.
|
Project |
getProject()
Returns the project this case base belongs to
|
boolean |
removeCase(java.lang.String name)
Removes the case with the given name.
|
void |
setName(java.lang.String name)
Sets the name of this case base to name.
|
java.lang.String getName()
void setName(java.lang.String name)
throws java.lang.Exception
name - the unique name of the case basejava.lang.Exception - when there is a case base with that nameInstance containsCase(java.lang.String name)
name - the name of the case to be foundboolean removeCase(java.lang.String name)
name - the name of the case to be deletedjava.util.Collection<Instance> getCases()
void addCase(Instance caze)
caze - the case to be addedProject getProject()