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

E17060-01

oracle.odi.domain.runtime.scenario
Class OdiScenarioSequence

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.runtime.scenario.OdiScenarioSequence
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity

public class OdiScenarioSequence
extends oracle.odi.domain.support.AbstractRepositoryEntity

Defines a sequence inside an OdiScenario. It is part of the OdiScenario - OdiScenarioVariable - OdiScenarioSequence - OdiScenarioReport aggregate.

An OdiScenarioSequence is created during scenario generation for each ODI Sequence referenced inside source component of the scenario. Once created, an OdiScenarioSequence cannot be modified, and cannot be removed from the OdiScenario it belongs and its life cycle ends only when enclosing OdiScenario is removed from runtime repository.

Since:
11.1.1.3.0
See Also:
Serialized Form

Method Summary
 java.lang.String getColumnName()
          Returns the name of the column used by this OdiScenarioSequence to store sequence value.
 java.lang.Integer getIncrementValue()
          Returns increment value of this OdiScenarioSequence.
 java.io.Serializable getInternalId()
          Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.
 java.lang.String getLogicalSchemaName()
          Returns ODI logical schema name associated with this OdiScenarioSequence.
 java.lang.String getName()
          Returns the name of this OdiScenarioSequence in ODI.
 java.lang.String getNativeSequenceName()
          Returns native DB sequence name.
 java.lang.String getRowFilter()
          Returns SQL WHERE clause used to filter single row from sequence table.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 java.lang.String getTableName()
          Returns the name of the table used by this OdiScenarioSequence.
 SequenceType getType()
          Returns this sequence type (see SequenceType).
 
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
 

Method Detail

getColumnName

public java.lang.String getColumnName()
Returns the name of the column used by this OdiScenarioSequence to store sequence value. Only relevant for user defined sequences.

Returns:
the name of the column used by this OdiScenarioSequence to store sequence value

getIncrementValue

public java.lang.Integer getIncrementValue()
Returns increment value of this OdiScenarioSequence. Isn't relevant if this OdiScenarioSequence is a native sequence.

Returns:
increment value of this OdiScenarioSequence

getInternalId

public java.io.Serializable getInternalId()
Description copied from interface: IRepositoryEntity
Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.

Typically a subclass will delegate to a public SomePrimitiveWrapper getId() method. The necessity for the getInternalId() abstract method is solely because the persistence layer needs a way of obtaining the identity irrespective of the actual identity implementation choice.

Returning null from this method will indicate the object has never been saved. This will likely be relied on by some DAO implementations.

Returns:
the persistence identity of this instance

getLogicalSchemaName

public java.lang.String getLogicalSchemaName()
Returns ODI logical schema name associated with this OdiScenarioSequence. Isn't relevant if this OdiScenarioSequence is an ODI standard sequence.

Returns:
ODI logical schema name associated with this OdiScenarioSequence

getName

public java.lang.String getName()
Returns the name of this OdiScenarioSequence in ODI.

Returns:
the name of this OdiScenarioSequence in ODI

getNativeSequenceName

public java.lang.String getNativeSequenceName()
Returns native DB sequence name. Only relevant for native sequences.

Returns:
native DB sequence name

getRowFilter

public java.lang.String getRowFilter()
Returns SQL WHERE clause used to filter single row from sequence table. Only relevant for user defined sequences.

Returns:
SQL WHERE clause used to filter single row from sequence table

getSecurityContainer

public IRepositoryEntity getSecurityContainer()
Description copied from interface: IRepositoryEntity
Define a generic way to retrieve container for entities.

Returns:
container entity

getTableName

public java.lang.String getTableName()
Returns the name of the table used by this OdiScenarioSequence. Only relevant for user defined sequences.

Returns:
the name of the table used by this OdiScenarioSequence

getType

public SequenceType getType()
Returns this sequence type (see SequenceType).

Returns:
this sequence type (see SequenceType)

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.