|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICaseBase
Methods to be implemented by case bases of the current project.
| Nested Class Summary | |
|---|---|
static class |
ICaseBase.Meta
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface java.util.Observer |
|---|
update |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
throws java.lang.Exception
name - the unique name of the case base
java.lang.Exception - when there is a case base with that nameInstance containsCase(java.lang.String name)
name - the name of the case to be found
boolean 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||