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

E17060-01

oracle.odi.domain.project
Class StepDataStore

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.StepDataStore
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity

public class StepDataStore
extends Step

Subclass of Step that represent a step based on a datastore.

Such step will be used to make Journalize or Control action over an OdiDataStore.

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 StepDataStore.ConsistentJournalizeDataStore
          Consistent CDC action.
static class StepDataStore.ControlDataStore
          Implements control action for an StepDataStore.
static interface StepDataStore.IDataStoreAction
          Type safety interface that implementation classes will use to define datastore actions.
static class StepDataStore.SimpleJournalizeDataStore
          Implements simple journalization action for an StepDataStore.
 
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
StepDataStore(OdiPackage pPackage, OdiDataStore pDataStore, java.lang.String pName)
          Constructor that sets the Parent OdiPackage, the OdiDataStore upon which this Step is based and the name of this Step instance.
 
Method Summary
 StepDataStore.IDataStoreAction getAction()
          Get the action associated to this step.
 OdiDataStore getDataStore()
          Returns the datastore upon wich is based this step.
 void setAction(StepDataStore.IDataStoreAction pDatastoreAction)
          Defines the action associated to this step.
 
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

StepDataStore

public StepDataStore(OdiPackage pPackage,
                     OdiDataStore pDataStore,
                     java.lang.String pName)
Constructor that sets the Parent OdiPackage, the OdiDataStore upon which this Step is based and the name of this Step instance.

This constructor creates a StepDataStore with a StepDataStore.ControlDataStore action that doesn't control delete errors.

Parameters:
pPackage - the owning package
pDataStore - the datastore
pName - the name of the step
Throws:
java.lang.IllegalArgumentException - if the package or datastore is null, or if given name if null, empty or longer than
Method Detail

getAction

public StepDataStore.IDataStoreAction getAction()
Get the action associated to this step.

Returns:
a StepDataStore.IDataStoreAction object
See Also:
setAction(IDataStoreAction)

getDataStore

public OdiDataStore getDataStore()
Returns the datastore upon wich is based this step.

Returns:
this step's datastore

setAction

public void setAction(StepDataStore.IDataStoreAction pDatastoreAction)
Defines the action associated to this step.

By default, the action defined is a StepDataStore.ControlDataStore that doesn't check delete errors.

Parameters:
pDatastoreAction - the action to be made by this step
Throws:
java.lang.IllegalArgumentException - if the given 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.