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

E17060-01

oracle.odi.interfaces.interactive.support.textholder
Class ExecutableTextHolderGenericClause

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.textholder.ExecutableTextHolderGenericClause
All Implemented Interfaces:
IExecutableTextHolder
Direct Known Subclasses:
ExecutableTextHolderFilter, ExecutableTextHolderJoin

public abstract class ExecutableTextHolderGenericClause
extends java.lang.Object
implements IExecutableTextHolder

This is the abstract common implementation for source clauses (Joins and Filters). It wraps the generic clause and provides all basic implementations.

See Also:
Join, Filter

Method Summary
 DataSet getDataSet()
          Gets the attached source datastores of this TextHolder.
 OdiInterface.ExecutionLocation getExecutionLocation()
          Basic getter.
 IInterfaceSubComponent getInterfaceSubComponent()
          Basic getter.
 SourceSet getSourceSet()
          Returns the source set in which this TextHolder is located.
 java.lang.String getSql()
          Gets the String representation of the expression.
 Expression getSqlExpressionForPersistence()
          Gets the exrpession of this TextHolder as it will be persisted.
 java.lang.Number getSqlExpressionId()
          Basic getter of the repository ID of the text expression held by this text holder.
 Expression getSqlExpressionInMemory()
          Gets the expression of this TextHolder as it is in memory.
 void setSourceSet(SourceSet pSourceSet)
          Sets the source set in which this TextHolder is located.
 void setSqlExpression(Expression pExpression)
          Sets the expression on the TextHolder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.odi.interfaces.interactive.support.IExecutableTextHolder
getAttachedSourceDataStores, getNumberOfDataStores, isAttachedSourceDataStoreSettable, setAttachedSourceDataStore
 

Method Detail

getDataSet

public DataSet getDataSet()
Gets the attached source datastores of this TextHolder.

Specified by:
getDataSet in interface IExecutableTextHolder
Returns:
the attached datastores

getExecutionLocation

public OdiInterface.ExecutionLocation getExecutionLocation()
Description copied from interface: IExecutableTextHolder
Basic getter.

Specified by:
getExecutionLocation in interface IExecutableTextHolder
Returns:
the OdiInterface.ExecutionLocation of this textHolder

getInterfaceSubComponent

public IInterfaceSubComponent getInterfaceSubComponent()
Description copied from interface: IExecutableTextHolder
Basic getter.

Specified by:
getInterfaceSubComponent in interface IExecutableTextHolder
Returns:
the underlying IInterfaceSubComponent

getSourceSet

public SourceSet getSourceSet()
Description copied from interface: IExecutableTextHolder
Returns the source set in which this TextHolder is located.

Specified by:
getSourceSet in interface IExecutableTextHolder
Returns:
The source set in which this textHolder is located. May be null.
See Also:
IExecutableTextHolder.setSourceSet(SourceSet)

getSql

public java.lang.String getSql()
Description copied from interface: IExecutableTextHolder
Gets the String representation of the expression.

Specified by:
getSql in interface IExecutableTextHolder
Returns:
the expression as a String

getSqlExpressionForPersistence

public Expression getSqlExpressionForPersistence()
Description copied from interface: IExecutableTextHolder
Gets the exrpession of this TextHolder as it will be persisted.

Specified by:
getSqlExpressionForPersistence in interface IExecutableTextHolder
Returns:
the expression as it will be persisted

getSqlExpressionId

public java.lang.Number getSqlExpressionId()
Description copied from interface: IExecutableTextHolder
Basic getter of the repository ID of the text expression held by this text holder.

Specified by:
getSqlExpressionId in interface IExecutableTextHolder
Returns:
the ID of the expression held by this text holder

getSqlExpressionInMemory

public Expression getSqlExpressionInMemory()
Description copied from interface: IExecutableTextHolder
Gets the expression of this TextHolder as it is in memory. The big difference with the persisted one is that some cross references might not exist in the persisted version (journalized columns, language elements...).

Specified by:
getSqlExpressionInMemory in interface IExecutableTextHolder
Returns:
the expression as it is in memory

setSourceSet

public void setSourceSet(SourceSet pSourceSet)
Description copied from interface: IExecutableTextHolder
Sets the source set in which this TextHolder is located.

Specified by:
setSourceSet in interface IExecutableTextHolder
Parameters:
pSourceSet - the source set to be set
See Also:
IExecutableTextHolder.getSourceSet()

setSqlExpression

public void setSqlExpression(Expression pExpression)
Description copied from interface: IExecutableTextHolder
Sets the expression on the TextHolder.

Specified by:
setSqlExpression in interface IExecutableTextHolder
Parameters:
pExpression - the new expression for this TextHolder

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.