public class StepSubModel extends Step
Step that will be used to control an OdiSubModel for
 errors.
 
 For this version, Control Knowledge Module options can't be overriden in the step. Default values will be used.
Step.LogLevelNAME_MAX_LENGTH| Constructor and Description | 
|---|
StepSubModel(OdiPackage pPackage,
            OdiSubModel pSubModel,
            java.lang.String pName)
Constructor that sets the parent  
OdiPackage, the OdiSubModel upon 
 which this Step is based and the step name. | 
| Modifier and Type | Method and Description | 
|---|---|
OdiSubModel | 
getSubModel()
Returns the  
OdiSubModel to control when this Step is executed. | 
boolean | 
isControlDeleteErrors()
Returns whether the error found during control will be deleted, or not. 
 | 
boolean | 
isRecurseSubModels()
Returns whether submodels will be processed during control, or not. 
 | 
void | 
setControlDeleteErrors(boolean pControlDeleteErrors)
Sets whether the error found during control must be deleted, or not. 
 | 
void | 
setRecurseSubModels(boolean pRecurseSubModels)
Sets whether  submodels will be processed during control, or not. 
 | 
getFailureRetryDelay, getFailureRetryNumber, getInternalId, getLoglevel, getName, getNextStepAfterFailure, getNextStepAfterSuccess, getParentPackage, getStepId, isFirstStep, setFailureRetryDelay, setFailureRetryNumber, setLoglevel, setName, setNextStepAfterFailure, setNextStepAfterSuccesspublic StepSubModel(OdiPackage pPackage, OdiSubModel pSubModel, java.lang.String pName)
OdiPackage, the OdiSubModel upon 
 which this Step is based and the step name.pPackage - the package that will hold this steppName - the name of the step to be createdpSubModel - the subModel to be controlled when executing this stepDomainRuntimeException - if the package is null, if the sub Model is null or if the name 
 is null, empty or longer than public OdiSubModel getSubModel()
OdiSubModel to control when this Step is executed.OdiSubModel objectpublic boolean isControlDeleteErrors()
true if the control error will be deleted, false otherwisesetControlDeleteErrors(boolean)public void setControlDeleteErrors(boolean pControlDeleteErrors)
By default, this property is set to false.
pControlDeleteErrors - true to delete the errors, false otherwiseisControlDeleteErrors()public boolean isRecurseSubModels()
true if the submodels will be processed, false otherwisesetRecurseSubModels(boolean)public void setRecurseSubModels(boolean pRecurseSubModels)
By default, this property is set to false.
pRecurseSubModels - true to delete the errors, false otherwiseisRecurseSubModels()