org.ucworkbench.model.testing
Interface TestCase

All Superinterfaces:
EUCObject, IUCElement

public interface TestCase
extends EUCObject

A representation of the model object 'Test Case'.

The following features are supported:

See Also:
TestingPackage.getTestCase()

Field Summary
static java.lang.String copyright
           
static java.lang.String FILE_EXTENSION
           
static QualifiedName MODEL_PROPERTY
           
static QualifiedName PARSING_DATE_PROPERTY
           
 
Method Summary
 EList getActivity()
          Returns the value of the 'Activity' containment reference list.
 java.util.List<IUseCase> getCorrespondingUseCases()
          Returns the list of all use cases which steps are executed in this test case.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 EList getPrecondition()
          Returns the value of the 'Precondition' reference list.
 java.lang.String getTitle()
          Returns the value of the 'Title' attribute.
 void register()
          Registers the current instance of test case in the the requirements project model.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setTitle(java.lang.String value)
          Sets the value of the 'Title' attribute.
 void unregister()
          Unregisters the current instance of test case from the requirements project model.
 
Methods inherited from interface org.ucworkbench.model.IUCElement
accept, childrenAccept, exists, getAncestor, getChildren, getCorrespondingResource, getElementName, getElementType, getParent, getPath, getUCProject, getUnderlyingResource
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values

MODEL_PROPERTY

static final QualifiedName MODEL_PROPERTY

PARSING_DATE_PROPERTY

static final QualifiedName PARSING_DATE_PROPERTY

FILE_EXTENSION

static final java.lang.String FILE_EXTENSION
See Also:
Constant Field Values
Method Detail

getTitle

java.lang.String getTitle()
Returns the value of the 'Title' attribute.

If the meaning of the 'Title' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Title' attribute.
See Also:
setTitle(String), ModelPackage.getTestCase_Title()

setTitle

void setTitle(java.lang.String value)
Sets the value of the 'Title' attribute.

Parameters:
value - the new value of the 'Title' attribute.
See Also:
getTitle()

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), ModelPackage.getTestCase_Id()

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()

getPrecondition

EList getPrecondition()
Returns the value of the 'Precondition' reference list. The list contents are of type Condition. It is bidirectional and its opposite is 'Test Case'.

If the meaning of the 'Precondition' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Precondition' reference list.
See Also:
TestingPackage.getTestCase_Precondition(), Condition.getTestCase()

getActivity

EList getActivity()
Returns the value of the 'Activity' containment reference list. The list contents are of type Activity. It is bidirectional and its opposite is 'Test Case'.

If the meaning of the 'Activity' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Activity' containment reference list.
See Also:
TestingPackage.getTestCase_Activity(), Activity.getTestCase()

getCorrespondingUseCases

java.util.List<IUseCase> getCorrespondingUseCases()
Returns the list of all use cases which steps are executed in this test case.

Returns:

unregister

void unregister()
Unregisters the current instance of test case from the requirements project model. Deletes all references from test cases and use cases.


register

void register()
Registers the current instance of test case in the the requirements project model. Updates all references from test cases and use cases.