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

E17060-01

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

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.textholder.ExecutableTextHolderTargetColumn
All Implemented Interfaces:
IExecutableTextHolder

public class ExecutableTextHolderTargetColumn
extends java.lang.Object
implements IExecutableTextHolder

The text holder for target columns (mapped on TARGET).
This particular text holder is never in a DataSet and has no attached SourceDataStore.


Method Summary
 SourceDataStore[] getAttachedSourceDataStores()
          Gets the attached source datastores of this TextHolder.
 DataSet getDataSet()
          Basic getter.
 OdiInterface.ExecutionLocation getExecutionLocation()
          Basic getter.
 IInterfaceSubComponent getInterfaceSubComponent()
          Basic getter.
 int getNumberOfDataStores()
          Gets the number of source datastores.
 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.
 boolean isAttachedSourceDataStoreSettable(int pDataStoreNumber)
          Returns whether it is possible to set this particular datastore number.
 void setAttachedSourceDataStore(int pDataStoreNumber, SourceDataStore pSourceDataStore)
          Sets one attached SourceDataStore.
 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
 

Method Detail

getAttachedSourceDataStores

public SourceDataStore[] getAttachedSourceDataStores()
Gets the attached source datastores of this TextHolder.

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

getDataSet

public DataSet getDataSet()
Description copied from interface: IExecutableTextHolder
Basic getter.

Specified by:
getDataSet in interface IExecutableTextHolder
Returns:
the DataSet on which this TextHolder is located. May be null

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

getNumberOfDataStores

public int getNumberOfDataStores()
Description copied from interface: IExecutableTextHolder
Gets the number of source datastores. This should be equal to getAttachedSourceDataStores().length.

Specified by:
getNumberOfDataStores in interface IExecutableTextHolder
Returns:
the number of attached datastores

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

isAttachedSourceDataStoreSettable

public boolean isAttachedSourceDataStoreSettable(int pDataStoreNumber)
Description copied from interface: IExecutableTextHolder
Returns whether it is possible to set this particular datastore number.

Specified by:
isAttachedSourceDataStoreSettable in interface IExecutableTextHolder
Parameters:
pDataStoreNumber - the position of the datastore
Returns:
true if it is possible to call setAttachedSourceDataStore(pDataStoreNumber, aSourceDataStore)

setAttachedSourceDataStore

public void setAttachedSourceDataStore(int pDataStoreNumber,
                                       SourceDataStore pSourceDataStore)
Description copied from interface: IExecutableTextHolder
Sets one attached SourceDataStore. Please make sure that the pDataStoreNumber is settable by using isAttachedSourceDataStoreSettable().

Specified by:
setAttachedSourceDataStore in interface IExecutableTextHolder
Parameters:
pDataStoreNumber - the number of the attached SourceDataStore to be set
pSourceDataStore - the source datastore to attach

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.