Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.domain.project
Class StepModel

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.project.Step
              extended by oracle.odi.domain.project.StepModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity

public class StepModel
extends Step

Subclass of Step that represents a step based on an OdiModel.

Such step will be used to make Journalize, Control or Reverse action over an OdiModel.

Note: the current implementation doesn't support KM options overriding. Default values will be used.

Since:
11.1.1.3.0
See Also:
Serialized Form

Nested Class Summary
static class StepModel.ConsistentJournalizeModel
          Used to encapsulate informations about the consistent journalizing that has to be done over the model related to an StepModel instance.
static class StepModel.ControlModel
          Used to encapsulate informations about the control that has to be done over the model related to an StepModel instance.
static interface StepModel.IModelAction
          Type safety interface that implementation classes will use to define model actions.
static class StepModel.ReverseModel
          Used to encapsulate informations about the reverse that has to be done over the model related to an StepModel instance.
static class StepModel.SimpleJournalizeModel
          Used to encapsulate informations about the simple journalizing that has to be done over the model related to an StepModel instance.
 
Nested classes/interfaces inherited from class oracle.odi.domain.project.Step
Step.LogLevel
 
Field Summary
 
Fields inherited from class oracle.odi.domain.project.Step
NAME_MAX_LENGTH
 
Constructor Summary
StepModel(OdiPackage pPackage, OdiModel pModel, java.lang.String pName)
          Constructor that sets the parent OdiPackage, the OdiModel upon which this Step is based and the step name.
 
Method Summary
 StepModel.IModelAction getAction()
          Return the StepModel.IModelAction defined on this Step for this OdiModel.
 OdiModel getModel()
          Returns the OdiModel on which the action is done.
 void setAction(StepModel.IModelAction pModelAction)
          Defines the StepModel.IModelAction to be done for this StepModel.
 
Methods inherited from class oracle.odi.domain.project.Step
getFailureRetryDelay, getFailureRetryNumber, getInternalId, getLoglevel, getName, getNextStepAfterFailure, getNextStepAfterSuccess, getParentPackage, getSecurityContainer, getStepId, isFirstStep, setFailureRetryDelay, setFailureRetryNumber, setLoglevel, setName, setNextStepAfterFailure, setNextStepAfterSuccess
 
Methods inherited from class oracle.odi.domain.support.BusinessObject
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepModel

public StepModel(OdiPackage pPackage,
                 OdiModel pModel,
                 java.lang.String pName)
Constructor that sets the parent OdiPackage, the OdiModel upon which this Step is based and the step name.

Parameters:
pPackage - the package that will hold this step
pModel - the model
pName - the name of the step
Throws:
java.lang.IllegalArgumentException - if the package or model is null, or if given name is null, empty or longer than
Method Detail

getAction

public StepModel.IModelAction getAction()
Return the StepModel.IModelAction defined on this Step for this OdiModel.

Returns:
a StepModel.IModelAction object
See Also:
setAction(IModelAction)

getModel

public OdiModel getModel()
Returns the OdiModel on which the action is done.

Returns:
an OdiModel object

setAction

public void setAction(StepModel.IModelAction pModelAction)
Defines the StepModel.IModelAction to be done for this StepModel.

By default, the action is defined with a StepModel.ControlModel that doesn't check delete errors.

Parameters:
pModelAction - the action
Throws:
java.lang.IllegalArgumentException - if the model action is null
See Also:
getAction()

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.