|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UseCaseIfc
Interface UseCaseIfc
Field Summary | |
---|---|
static java.lang.String |
ATTR_MINIMAL_GUARANTEE
|
static java.lang.String |
ATTR_POSTCONDITION
|
static java.lang.String |
ATTR_PRECONDITION
Dynamic Attributes for UseCaseIfc |
static java.lang.String |
ATTR_PRIORITY
|
static java.lang.String |
ATTR_TRIGGER
Dynamic Attributes for UseCaseIfc |
Fields inherited from interface com.compuware.optimaltrace.tools.common.bizobjects.AbstractRequirementIfc |
---|
ATTR_BUSINESS_DESC, ATTR_GRAPH_DISPLAY_OPTION, ATTR_ORIGIN, ATTR_USECASE_NUMER, SHOW_ALL, SHOW_MAIN_SUCCESS, SHOW_NONE |
Fields inherited from interface com.compuware.optimaltrace.framework.business.BizObjectIfc |
---|
ATTR_IS_LOCKED, ATTR_IS_LOCKEDLOCALLY, ATTR_IS_READONLY, ATTR_LOCKOWNER, ATTR_NAME, BO_DB_TIMESTAMP, BO_ID, BO_ST, BO_TIMESTAMP, BO_TYPE |
Method Summary | |
---|---|
boolean |
addAlternativeScenario(AlternativeScenarioIfc alternativeScenario)
Adds the alternative scenario. |
boolean |
addNonFunctionalRequirement(com.compuware.optimaltrace.tools.common.bizobjects.NonFunctionalRequirementIfc nfr)
Deprecated. Please use getNFRBucket to obtain the project's NFRBucket |
void |
checkAlternativeScenarioNameUnique(java.lang.String name)
Determines if the alternative scenario already exists in the usecase. |
java.lang.String |
getActors()
Gets the actors associated with this UseCase in a comma delimited string. |
java.util.List |
getAllActors()
Gets all actors, return the ActorIfc's associated with this usecase. |
java.util.List |
getAlternativeScenarios()
Gets the list of alternative scenarios. |
GoalLevelIfc |
getGoalLevel()
Gets the use case process view level |
MainSuccessScenarioIfc |
getMainSuccessScenario()
Gets the main success scenario. |
java.util.List |
getMainSuccessScenarioRefinements()
Returns a list of refinements contained in the main success scenario of this use case. |
java.lang.String |
getMinimalGuarantee()
Gets the notes category |
java.util.List |
getNonFunctionalRequirements()
Deprecated. Please use getNFRBucket to obtain the project's NFRBucket |
java.lang.String |
getPostCondition()
Gets the postcondition. |
java.lang.String |
getPreCondition()
Gets the precondition. |
java.lang.String |
getPriority()
Gets the use case priority |
java.lang.String |
getTag()
Returns the parent package tag. |
java.lang.String |
getTrigger()
Gets the trigger for this usecase. |
boolean |
moveAlternativeScenario(AlternativeScenarioIfc scenario,
java.lang.Integer numOfPlaces)
Moves the alternative scenario. |
boolean |
removeAlternativeScenario(AlternativeScenarioIfc alternativeScenario)
Removes the alternative scenario. |
boolean |
removeGoalLevel(GoalLevelIfc level)
Removes the use case process view level |
boolean |
removeMainSuccessScenario(MainSuccessScenarioIfc mainSuccessScenario)
Removes the main success scenario. |
boolean |
removeNFRBucket(com.compuware.optimaltrace.tools.common.bizobjects.NFRBucketIfc nfrBucket)
Removes the NFR bucket. |
boolean |
removeNonFunctionalRequirement(com.compuware.optimaltrace.tools.common.bizobjects.NonFunctionalRequirementIfc nfr)
Deprecated. Please use getNFRBucket to obtain the project's NFRBucket |
void |
repositionScenario(AlternativeScenarioIfc scenario,
int numberOfPlaces)
Gets the main success scenario. |
void |
setAlternativeScenarioDisplayName(AlternativeScenarioIfc altScen,
java.lang.String displayNumber,
java.lang.String name)
Sets the alternative scenario display number. |
void |
setAlternativeScenarioDisplayNumber(AlternativeScenarioIfc altScen,
int number)
Sets the alternative scenario display number. |
boolean |
setGoalLevel(GoalLevelIfc level)
Sets the use case process view level |
boolean |
setMainSuccessScenario(MainSuccessScenarioIfc mainSuccessScenario)
Sets the main success scenario. |
void |
setMinGuarantee(java.lang.String minimalGuarantee)
Leaving setMinimalGuarantee here for backward compatability reasons |
void |
setMinimalGuarantee(java.lang.String minimalGuarantee)
Sets the minimal guarantee. |
void |
setPostCondition(java.lang.String cond)
Sets the postcondition. |
void |
setPreCondition(java.lang.String cond)
Sets the precondition. |
void |
setPriority(java.lang.String priority)
Sets the use case priority |
void |
setTrigger(java.lang.String trigger)
Sets the trigger for this usecase. |
Methods inherited from interface com.compuware.optimaltrace.tools.common.bizobjects.AbstractRequirementIfc |
---|
addExternalLink, getAllAbstractSteps, getBranches, getBranchesToUseCases, getBusinessDescription, getDisplayName, getExtendsUseCases, getExternalLinks, getFullyQualifiedName, getGraphDisplayOption, getIncludesUseCases, getNameLength, getOrigin, getOriginAsString, getOriginX, getOriginY, getRefinements, getRefinementUseCases, getScenarios, getUseCaseNumber, getUseCasePackage, isLeafUseCase, isRootUseCase, removeExternalLink, removeLinkBucket, setBusinessDescription, setGraphDisplayOption, setName, setOrigin, setOrigin, setUseCaseNumber, updateName, updateNumber |
Methods inherited from interface com.compuware.optimaltrace.framework.business.BizObjectIfc |
---|
cloneObjectsAttributes, disableMergeObjectSupport, enableMergeObjectSupport, equals, getBaselineId, getBizObjectId, getFirstChild, getId, getLockOwner, getName, getNextChild, getReadableName, getTimeStamp, getTypeId, hasChildren, isEqual, isEqualWithFilter, isLocked, isMergeObjectSupportEnabled, isReadOnly, setBaselineId, setBizObjectId, setId, setIsLocked, setIsReadOnly, setLockOwner, setTimeStamp, setTimeStampNoParentUpdate |
Methods inherited from interface com.compuware.optimaltrace.framework.relations.ParentIfc |
---|
addChild, addChildAt, addParentListener, decrementChildPosition, fireChildEvent, fireChildEvent, getChild, getChild, getChildById, getChildren, getChildren, getChildren, getNextChild, getParentListeners, getPreviousChild, hasChild, hasChildById, incrementChildPosition, moveChild, numChildren, reInitialiseListeners, removeChild, removeParentListener, silentlyAddChild, silentlyAddChildAt, silentlyRemoveChild |
Methods inherited from interface com.compuware.optimaltrace.framework.relations.ChildIfc |
---|
addChildListener, getChildListeners, getParent, getParent, moveChild, moveChildAt, removeChildListener, setParent |
Methods inherited from interface com.compuware.optimaltrace.framework.relations.AssociateIfc |
---|
addAssociate, addAssociateListener, addInwardAssociate, fireAssociateEvent, getAssociate, getAssociateListeners, getAssociates, getAssociates, getInwardAssociates, getInwardAssociates, getOutwardAssociates, getOutwardAssociates, hasAssociate, hasInwardAssociate, hasOutwardAssociate, numAssociates, numInwardAssociates, numOutwardAssociates, removeAssociate, removeAssociateListener, removeInwardAssociate |
Methods inherited from interface com.compuware.optimaltrace.framework.business.PersistentIfc |
---|
customPropertiesToDocArray, getChildDocPersistObjects, toDocArray, toSQL |
Methods inherited from interface com.compuware.optimaltrace.framework.business.PropertiesContainerIfc |
---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface com.compuware.optimaltrace.framework.dynattribute.DynAttributeIfc |
---|
getAttributeTable, getAttributeTimeStamp, getBooleanAttribute, getIntAttribute, getLongAttribute, getObjectAttribute, getShortAttribute, getStringAttribute, getTimeStamp, getTimeStampTable, hasAttribute, removeAttribute, renameAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNoTimeStampUpdate, setAttributeNoTimeStampUpdate, setAttributeTable, setAttributeTimeStamp, setObjectAttribute, setTimeStampTable |
Methods inherited from interface com.compuware.optimaltrace.tools.common.bizobjects.NoteHolderIfc |
---|
getNoteBucket, removeNoteBucket, setNoteBucket |
Methods inherited from interface com.compuware.optimaltrace.tools.common.bizobjects.LinkHolderIfc |
---|
getLinkBucket, setLinkBucket |
Methods inherited from interface com.compuware.optimaltrace.framework.business.RepositionableChildIfc |
---|
getPositionNumber |
Methods inherited from interface com.compuware.optimaltrace.framework.customproperty.CustomPropertyHolderIfc |
---|
getCustomProperty, getCustomPropertyBucket, getCustomPropertyTemplates, removeCustomPropertyBucket, setCustomPropertyBucket |
Methods inherited from interface com.compuware.optimaltrace.tools.common.bizobjects.NFRHolderIfc |
---|
getNFRBucket, setNFRBucket |
Field Detail |
---|
static final java.lang.String ATTR_PRECONDITION
static final java.lang.String ATTR_POSTCONDITION
static final java.lang.String ATTR_TRIGGER
static final java.lang.String ATTR_MINIMAL_GUARANTEE
static final java.lang.String ATTR_PRIORITY
Method Detail |
---|
void checkAlternativeScenarioNameUnique(java.lang.String name) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException
name
- The new scenario name to check for uniqueness
NameNotUniqueException
void setAlternativeScenarioDisplayNumber(AlternativeScenarioIfc altScen, int number)
altScen
- number
- void setAlternativeScenarioDisplayName(AlternativeScenarioIfc altScen, java.lang.String displayNumber, java.lang.String name)
altScen
- displayNumber
- name
- GoalLevelIfc getGoalLevel()
boolean setGoalLevel(GoalLevelIfc level)
level
-
boolean removeGoalLevel(GoalLevelIfc level)
level
-
java.lang.String getActors()
MainSuccessScenarioIfc getMainSuccessScenario()
void repositionScenario(AlternativeScenarioIfc scenario, int numberOfPlaces)
scenario
- numberOfPlaces
- java.util.List getMainSuccessScenarioRefinements()
boolean setMainSuccessScenario(MainSuccessScenarioIfc mainSuccessScenario)
mainSuccessScenario
-
boolean removeMainSuccessScenario(MainSuccessScenarioIfc mainSuccessScenario)
mainSuccessScenario
-
java.util.List getAlternativeScenarios()
boolean addAlternativeScenario(AlternativeScenarioIfc alternativeScenario) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException
alternativeScenario
-
NameNotUniqueException
boolean removeAlternativeScenario(AlternativeScenarioIfc alternativeScenario)
alternativeScenario
-
java.util.List getNonFunctionalRequirements()
boolean addNonFunctionalRequirement(com.compuware.optimaltrace.tools.common.bizobjects.NonFunctionalRequirementIfc nfr)
nfr
-
boolean removeNonFunctionalRequirement(com.compuware.optimaltrace.tools.common.bizobjects.NonFunctionalRequirementIfc nfr)
nfr
-
java.lang.String getTrigger()
void setTrigger(java.lang.String trigger)
trigger
- boolean removeNFRBucket(com.compuware.optimaltrace.tools.common.bizobjects.NFRBucketIfc nfrBucket)
java.util.List getAllActors()
void setMinGuarantee(java.lang.String minimalGuarantee)
void setMinimalGuarantee(java.lang.String minimalGuarantee)
minimalGuarantee
- a String
java.lang.String getMinimalGuarantee()
java.lang.String getPreCondition()
java.lang.String getPostCondition()
void setPreCondition(java.lang.String cond)
cond
- void setPostCondition(java.lang.String cond)
cond
- boolean moveAlternativeScenario(AlternativeScenarioIfc scenario, java.lang.Integer numOfPlaces)
scenario
- numOfPlaces
-
java.lang.String getTag()
getTag
in interface AbstractRequirementIfc
java.lang.String getPriority()
void setPriority(java.lang.String priority)
priority
-
|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |