org.ucworkbench.model.usecase
Interface IStep

All Superinterfaces:
IIdentifiable, INumberable, INumberableScenarioable, IRegion, IScenarioable, IScenarioItem, ITextModel, ITitleable, IUCElement, IUseCaseElement

public interface IStep
extends ITextModel, IScenarioItem, INumberable, IUseCaseElement

This is an interface for each step of scenarios of use cases. It contains references to other steps or use cases, a list of extensions, etc.


Field Summary
 
Fields inherited from interface org.ucworkbench.model.usecase.IScenarioItem
SCREEN
 
Method Summary
 IScenario getContainingScenario()
          Returns the scenario object containing the step.
 java.util.List<IExtension> getExtensions()
          Returns the list of all extensions belonging to the current step.
 java.util.List<IStep> getFollowingSteps()
          Returns all steps that can follow this step.
 java.lang.String getID()
          Returns a global (in the scope of the project) unique identifier.
 java.util.List<org.ucworkbench.model.usecase.impl.UseCaseReference> getReferences()
          Returns the list of all references that are used in the step.
 org.ucworkbench.model.usecase.impl.Scenario getSubScenario()
          Returns the list of substeps for current step.
 
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.IScenarioItem
getAdornments, getParentScenarioItem, getScreen, getUUID, getWhitespaceBeforeNumber, saveAdornments
 
Methods inherited from interface org.ucworkbench.model.usecase.IUseCaseElement
getUseCase
 
Methods inherited from interface org.ucworkbench.model.usecase.supporting.ITitleable
getTitle, setTitle
 
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.supporting.INumberable
getNumber, setNumber
 
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.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
 

Method Detail

getReferences

java.util.List<org.ucworkbench.model.usecase.impl.UseCaseReference> getReferences()
Returns the list of all references that are used in the step.

Returns:

getSubScenario

org.ucworkbench.model.usecase.impl.Scenario getSubScenario()
Returns the list of substeps for current step.

Returns:

getExtensions

java.util.List<IExtension> getExtensions()
Returns the list of all extensions belonging to the current step.

Returns:

getID

java.lang.String getID()
Returns a global (in the scope of the project) unique identifier. The identifier is stored internally using adornments mechanism.

Specified by:
getID in interface IIdentifiable
Returns:

getFollowingSteps

java.util.List<IStep> getFollowingSteps()
Returns all steps that can follow this step. Includes extension steps and jumps to another use case.

Returns:

getContainingScenario

IScenario getContainingScenario()
Returns the scenario object containing the step.

Returns: