OptimalTrace
5.2

com.compuware.optimaltrace.tools.common.bizobjects.client
Class StepFactory

java.lang.Object
  extended by com.compuware.optimaltrace.tools.common.bizobjects.client.StepFactory
All Implemented Interfaces:
com.compuware.optimaltrace.tools.common.bizobjects.EmptyBizObjectCreatorIfc

public final class StepFactory
extends java.lang.Object
implements com.compuware.optimaltrace.tools.common.bizobjects.EmptyBizObjectCreatorIfc

Class StepFactory


Method Summary
 BizObjectIfc createNewEmptyBizObject()
          Creates a new empty biz object.
 StepIfc createNewEmptyStep()
          Creates a new empty step.
 StepIfc createNewStep(ScenarioIfc parentScenario)
          Creates a new step.
 StepIfc createNewStep(ScenarioIfc parentScenario, int pos)
          Creates a new step.
 StepIfc createNewStep(java.lang.String name, ScenarioIfc parentScenario)
          Creates a new step.
 StepIfc createNewStep(java.lang.String name, ScenarioIfc parentScenario, int pos)
          Creates a new step.
static StepFactory getInstance()
          Gets the instance of this step factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static StepFactory getInstance()
Gets the instance of this step factory.

Returns:
StepFactory

createNewStep

public StepIfc createNewStep(ScenarioIfc parentScenario)
Creates a new step.

Parameters:
parentScenario -
Returns:
StepIfc

createNewStep

public StepIfc createNewStep(ScenarioIfc parentScenario,
                             int pos)
Creates a new step.

Parameters:
parentScenario -
pos -
Returns:
StepIfc

createNewStep

public StepIfc createNewStep(java.lang.String name,
                             ScenarioIfc parentScenario)
Creates a new step.

Parameters:
name -
parentScenario -
Returns:
StepIfc

createNewStep

public StepIfc createNewStep(java.lang.String name,
                             ScenarioIfc parentScenario,
                             int pos)
Creates a new step.

Parameters:
name -
parentScenario -
pos -
Returns:
StepIfc

createNewEmptyStep

public StepIfc createNewEmptyStep()
Creates a new empty step.

Returns:
StepIfc

createNewEmptyBizObject

public BizObjectIfc createNewEmptyBizObject()
Creates a new empty biz object.

Specified by:
createNewEmptyBizObject in interface com.compuware.optimaltrace.tools.common.bizobjects.EmptyBizObjectCreatorIfc
Returns:
BizObjectIfc

OptimalTrace
5.2

Compuware Corporation

OptimalTrace is a trademark or registered trademark of Compuware Corporation in the US and other countries.
Copyright 2008-2009 Compuware Corporation. One Campus Martius,
Detroit, Michigan, 48226, U.S.A. All Rights Reserved.