public interface IUseCase
extends com.arcway.cockpit.modulelib2.client.docgen.provider.interfaces.IModuleData, com.arcway.cockpit.docgen.provider.interfaces.ICustomPropertiesAccess, com.arcway.cockpit.docgen.provider.interfaces.IGraphic
IUseCase object allows to read attribute values of a use case
from the COCKPIT use case module. Starting with this object, you can get references to
the scenarios associated with the use case and the goals to be achieved by the use case.Item type constant: "ucm.useCase"
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Returns the author of the use case.
|
IUseCaseCategory |
getCategory()
Returns the category of the use case.
|
java.lang.String |
getCreationDate()
Returns the creation date of the use case.
|
java.util.List<? extends IScenario> |
getExtendedScenarios()
Returns the scenarios which are extended by this use case.
|
java.util.List<? extends IScenario> |
getExtendedScenarios(java.lang.String sortingProperty)
Returns the scenarios which are extended by this use case.
|
java.util.List<? extends IExtension> |
getExtensions()
Returns all extensions of the use case.
|
java.util.List<? extends IScenario> |
getExtensionScenarios()
Returns all extension scenarios of the use case, i.e. the immediate
extensions of the main scenario.
|
java.util.List<? extends IScenario> |
getExtensionScenarios(java.lang.String sortingProperty)
Returns all extension scenarios of the use case, i.e. the immediate
extensions of the main scenario.
|
java.util.List<? extends IUseCase> |
getExtensionUseCases()
Returns all extension use cases of the use case, i.e. the immediate
extensions of the main scenario.
|
java.util.List<? extends IUseCase> |
getExtensionUseCases(int sortingCriterion)
Returns all extension use cases of the use case, i.e. the immediate
extensions of the main scenario.
|
java.util.List<? extends IUseCase> |
getExtensionUseCases(java.lang.String sortingProperty)
Returns all extension use cases of the use case, i.e. the immediate
extensions of the main scenario.
|
java.util.List<IGoal> |
getGoals()
Returns the goals to be achieved with the use case.
|
java.lang.String |
getId()
Returns the id of the use case.
|
java.lang.String |
getInitiator()
Returns the initiator of the use case, i.e. the person who first came up with
the idea for the use case or who demanded the use case.
|
java.lang.String |
getLevel()
Returns the level (of abstraction) of the use case.
|
java.util.List<? extends com.arcway.cockpit.docgen.provider.interfaces.IModelElement> |
getLinkedUniqueElements()
Returns a list with the linked unique elements or an empty list if non exists.
|
java.lang.String |
getMainActor()
Returns the main actor of the use case.
|
IScenario |
getMainScenario()
Returns the main scenario of the use case.
|
java.lang.String |
getName()
Returns the name of the use case.
|
java.util.List<java.lang.String> |
getNotes()
Returns the notes recorded for the use case.
|
java.lang.String |
getPriority()
Returns the priority of the use case.
|
java.util.List<java.lang.String> |
getScope()
Returns the scope of the use case.
|
java.lang.String |
getState()
Returns the state of the use case.
|
java.lang.String |
getUniqueIdentifier()
Returns a unique identifier that uniquely identifies this object
within its project.
|
boolean |
hasExtensionScenarios()
Checks whether the use case has extension scenarios.
|
boolean |
hasExtensionUseCases()
Checks whether the use case has extension use cases.
|
boolean |
isExtensionUseCase()
Checks whether the use case is an extension of one or several scenarios.
|
boolean |
isLinkedWithUniqueElements()
Returns whether the action step is linked with unique elements.
|
com.arcway.cockpit.docgen.provider.interfaces.IRecord |
toRecord()
Converts this generic module data into a record.
|
getImage, getPNGFile, getSVGFile, getWMFFilegetCategoryID, getCategoryLabel, getDateTimeProperty_MilliSecondsSince_01_01_1970, getFileProperty, getFileProperty, getFilePropertyAsBase64StringList, getFilePropertyAsFileName, getFilePropertyAsFileName, getFilePropertyAsRawStringList, getFilePropertyAsStringList, getPropertyAsString, getPropertyAsStringArray, getPropertyAsStringList, hasCustomPropertyValues, hasDefaultCategory, hasPropertyValue, readImageInfoOfFilePropertygetCommitVersion, getCreationDate_MilliSecondsSince_01_01_1970, getCreator, getDateOfLastModification_MilliSecondsSince_01_01_1970, getDateOfLastModification, getDisplayName, getLastModifier, getModificationCount, getProjectUniqueIdentifier, getTypeID, getTypeName, toRecordjava.lang.String getUniqueIdentifier()
getUniqueIdentifier in interface com.arcway.cockpit.docgen.provider.interfaces.ICockpitDatajava.lang.String getAuthor()
java.lang.String getCreationDate()
getCreationDate in interface com.arcway.cockpit.docgen.provider.interfaces.ICockpitDatajava.lang.String getId()
java.lang.String getName()
java.lang.String getInitiator()
java.lang.String getPriority()
java.lang.String getMainActor()
java.util.List<java.lang.String> getScope()
java.lang.String getLevel()
java.lang.String getState()
java.util.List<java.lang.String> getNotes()
java.util.List<IGoal> getGoals()
The first goal returned is the main actors goal if it exists.
IUseCaseCategory getCategory()
IScenario getMainScenario()
boolean hasExtensionScenarios()
java.util.List<? extends IScenario> getExtensionScenarios()
The scenarios are sorted by id.
java.util.List<? extends IScenario> getExtensionScenarios(java.lang.String sortingProperty)
sortingProperty - specifies the custom property which shall be used as a criterion for
sorting.boolean hasExtensionUseCases()
java.util.List<? extends IUseCase> getExtensionUseCases()
The use cases are sorted by id.
java.util.List<? extends IUseCase> getExtensionUseCases(int sortingCriterion)
sortingCriterion - specifies the criterion for sorting. Use the
integer constants in IUseCaseDataProvider.java.util.List<? extends IUseCase> getExtensionUseCases(java.lang.String sortingProperty)
sortingProperty - specifies the custom property which shall be used as a criterion for
sorting.boolean isExtensionUseCase()
java.util.List<? extends IScenario> getExtendedScenarios()
java.util.List<? extends IExtension> getExtensions()
java.util.List<? extends IScenario> getExtendedScenarios(java.lang.String sortingProperty)
sortingProperty - specifies the custom property which shall be used as a criterion for
sorting.boolean isLinkedWithUniqueElements()
java.util.List<? extends com.arcway.cockpit.docgen.provider.interfaces.IModelElement> getLinkedUniqueElements()
com.arcway.cockpit.docgen.provider.interfaces.IRecord toRecord()
In addition to all fields documented at ICustomPropertiesAccess.toRecord(), in
the created record, the following fields are filled accoring to the wrapped cockpit data:
IRecord.NAME_KEYIRecord.ID_KEYtoRecord in interface com.arcway.cockpit.docgen.provider.interfaces.ICockpitDatatoRecord in interface com.arcway.cockpit.docgen.provider.interfaces.ICustomPropertiesAccess