|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUseCase
Field Summary | |
---|---|
static java.lang.String |
FILE_EXTENSION
|
static java.lang.String |
LEVEL_BUSINESS
|
static java.lang.String |
LEVEL_SUBFUNCTION
|
static java.lang.String |
LEVEL_USER
|
Method Summary | |
---|---|
void |
connectTestCase(TestCase tc)
Connects the given test case to the use case, ie. adds the test case to the buffer of all test cases containing steps from the use case. |
void |
disconnectTestCase(TestCase tc)
Disconnects the given test case from the use case, ie. removes the test case from the buffer of all test cases containing steps from the use case. |
IStepAdornmentRepository |
getAdornmentsRepository()
Returns the adornments repository connected to this use case. |
java.util.Set<TestCase> |
getCorrespondingTestCases()
Returns all test cases, which contains steps of this use case. |
java.util.List<IExtension> |
getExtensions()
Returns a list of all extensions in this use case. |
java.lang.String |
getLevel()
Returns the level of current use case. |
IMainScenario |
getMainScenario()
Returns an object representing main scenario. |
IActor |
getPrimaryActor()
Returns the model object for primary actor declared in the use case. |
java.lang.String |
getPrimaryActorName()
Returns the name of the primary actor. |
IScenarioItem |
getScenarioItemByNumber(java.lang.String number)
Returns a step, by given number (also returns extensions by number) |
IScenarioItem |
getScenarioItemByUUID(java.util.UUID uuid)
Returns the step in the use case, having uuid equal to the given uuid |
java.util.Collection<IScenarioItem> |
getScenarioItems()
Returns the flat collection of all steps in the scenario (including all substeps, and extensions). |
java.util.List<java.lang.String> |
getSecondaryActorNames()
Returns a list of names for secondary actors. |
java.util.List<IActor> |
getSecondaryActors()
Returns a set of model objects representing secondary actors declared in the use case. |
IScenarioItem |
getStepByNumber(java.lang.String number)
Returns |
ITextWithReferences |
getSummary()
Returns the summary object for this use case. |
java.lang.String |
getTitle()
Returns the title of the use case. |
Methods inherited from interface org.ucworkbench.model.IFileModel |
---|
getAliases, getContentAssistantPropositions, getPropertiesSection, getPropertyValue |
Methods inherited from interface org.ucworkbench.model.ITextModel |
---|
containsOffset, getAsText, getCorrespondingFileModel, getModelElementByOffset, getParent, getTextModelChildren |
Methods inherited from interface org.ucworkbench.model.IUCElement |
---|
accept, childrenAccept, exists, getAncestor, getChildren, getCorrespondingResource, getElementName, getElementType, getPath, getUCProject, getUnderlyingResource |
Methods inherited from interface org.ucworkbench.model.supporting.IRegion |
---|
getLength, getOffset |
Methods inherited from interface org.ucworkbench.model.IIdentifiable |
---|
getID |
Methods inherited from interface org.ucworkbench.model.IUCElement |
---|
accept, childrenAccept, exists, getAncestor, getChildren, getCorrespondingResource, getElementName, getElementType, getPath, getUCProject, getUnderlyingResource |
Methods inherited from interface org.ucworkbench.model.usecase.supporting.IScenarioable |
---|
getScenario, setScenario |
Methods inherited from interface org.ucworkbench.model.ITextModel |
---|
containsOffset, getAsText, getCorrespondingFileModel, getModelElementByOffset, getParent, getTextModelChildren |
Methods inherited from interface org.ucworkbench.model.IUCElement |
---|
accept, childrenAccept, exists, getAncestor, getChildren, getCorrespondingResource, getElementName, getElementType, getPath, getUCProject, getUnderlyingResource |
Methods inherited from interface org.ucworkbench.model.supporting.IRegion |
---|
getLength, getOffset |
Methods inherited from interface org.ucworkbench.model.usecase.IUseCaseElement |
---|
getUseCase |
Field Detail |
---|
static final java.lang.String LEVEL_SUBFUNCTION
static final java.lang.String LEVEL_USER
static final java.lang.String LEVEL_BUSINESS
static final java.lang.String FILE_EXTENSION
Method Detail |
---|
java.lang.String getLevel()
IActor getPrimaryActor()
java.lang.String getPrimaryActorName()
java.util.List<IActor> getSecondaryActors()
java.util.List<java.lang.String> getSecondaryActorNames()
java.lang.String getTitle()
java.util.Collection<IScenarioItem> getScenarioItems()
IScenarioItem getScenarioItemByNumber(java.lang.String number)
number
-
null
if there is no step with given numberjava.util.List<IExtension> getExtensions()
IMainScenario getMainScenario()
ITextWithReferences getSummary()
IStepAdornmentRepository getAdornmentsRepository()
IScenarioItem getStepByNumber(java.lang.String number)
number
-
IScenarioItem getScenarioItemByUUID(java.util.UUID uuid)
uuid
-
java.util.Set<TestCase> getCorrespondingTestCases()
void connectTestCase(TestCase tc)
tc
- void disconnectTestCase(TestCase tc)
tc
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |