org.ucworkbench.model.testing
Interface ModelFactory


public interface ModelFactory

The Factory for the model. It provides a create method for each non-abstract class of the model.

See Also:
ModelPackage

Field Summary
static ModelFactory eINSTANCE
          The singleton instance of the factory.
 
Method Summary
 Action createAction()
          Returns a new object of class 'Action'.
 Activity createActivity()
          Returns a new object of class 'Activity'.
 Condition createCondition()
          Returns a new object of class 'Condition'.
 ConditionOperation createConditionOperation()
          Returns a new object of class 'Condition Operation'.
 ConditionRegistry createConditionRegistry()
          Returns a new object of class 'Condition Registry'.
 Parameter createParameter()
          Returns a new object of class 'Parameter'.
 Step createStep()
          Returns a new object of class 'Step'.
 TestCase createTestCase()
          Returns a new object of class 'Test Case'.
 Validation createValidation()
          Returns a new object of class 'Validation'.
 ModelPackage getModelPackage()
          Returns the package supported by this factory.
 

Field Detail

eINSTANCE

static final ModelFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createTestCase

TestCase createTestCase()
Returns a new object of class 'Test Case'.

Returns:
a new object of class 'Test Case'.

createCondition

Condition createCondition()
Returns a new object of class 'Condition'.

Returns:
a new object of class 'Condition'.

createConditionRegistry

ConditionRegistry createConditionRegistry()
Returns a new object of class 'Condition Registry'.

Returns:
a new object of class 'Condition Registry'.

createActivity

Activity createActivity()
Returns a new object of class 'Activity'.

Returns:
a new object of class 'Activity'.

createStep

Step createStep()
Returns a new object of class 'Step'.

Returns:
a new object of class 'Step'.

createValidation

Validation createValidation()
Returns a new object of class 'Validation'.

Returns:
a new object of class 'Validation'.

createAction

Action createAction()
Returns a new object of class 'Action'.

Returns:
a new object of class 'Action'.

createParameter

Parameter createParameter()
Returns a new object of class 'Parameter'.

Returns:
a new object of class 'Parameter'.

createConditionOperation

ConditionOperation createConditionOperation()
Returns a new object of class 'Condition Operation'.

Returns:
a new object of class 'Condition Operation'.

getModelPackage

ModelPackage getModelPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.