|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.domain.support.BusinessObject oracle.odi.domain.support.AbstractRepositoryEntity oracle.odi.domain.project.interfaces.TargetMapping
public class TargetMapping
This class represents a mapping in an interface.
The mapping is in a dataset and has an execution location.
Created on 20 dec. 07
Constructor Summary | |
---|---|
TargetMapping(DataSet pParentDataSet,
TargetColumn pTargetColumn,
Expression pSqlExpression,
OdiInterface.ExecutionLocation pExecutionLocation)
Internal use only Builds a TargetMapping for a TargetColumn on a DataSet with a given SQL String expression. |
|
TargetMapping(DataSet pParentDataSet,
TargetColumn pTargetColumn,
java.lang.String pSql,
OdiInterface.ExecutionLocation pExecutionLocation)
Internal use only Builds a TargetMapping for a TargetColumn on a DataSet with a given SQL String expression. |
Method Summary | |
---|---|
SourceDataStore |
getAttachedSourceDataStore()
Returns the SourceDataStore to which this mapping is attached. |
OdiInterface.ExecutionLocation |
getExecutionLocation()
Returns the execution location of this mapping. |
java.io.Serializable |
getInternalId()
The internal ID of this sub component. Returning null from this method will indicate the object has never been persisted in the repository. |
Expression |
getNonPersistedSql()
Returns the non persisted SQL expression for this mapping as an Expression. The difference with the getSqlExpression is that some cross-references (to journalized columns, for instance) will be present in this expression, whereas they are not present in the getSqlExpression (which is the expression as it will be persisted in the repository). |
DataSet |
getParentDataSet()
Returns the parent DataSet of this mapping. |
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities. |
SourceSet |
getSourceSet()
Returns the SourceSet to which this mapping is attached. |
java.lang.String |
getSql()
Returns the SQL expression for this mapping as a String. |
Expression |
getSqlExpression()
Obtains the SQL expression of this. |
java.lang.Number |
getSqlExpressionId()
Returns the ID of the SQL Expression for this mapping. |
java.lang.String |
getSubComponentDescription()
Returns the sub component's description in a human-readable way. |
java.lang.String |
getSubComponentDescription(java.util.Locale pLocale)
Returns the sub component's description in a human-readable way for the given Locale. |
TargetColumn |
getTargetColumn()
Returns the TargetColumn to which this mapping is attached. |
java.lang.String |
getTechnicalDescription()
Returns the technical description for this mapping. The technical description is a computed description from the SQL expression in which all column names are replaced with the column's descriptions. For instance, the expression "CUST.COMP_NAME" would be replaced with "CUST.Name of the company". |
boolean |
isPersisted()
Returns whether this object should be persisted to the repository or not. |
void |
setAttachedSourceDataStore(SourceDataStore pSourceDataStore)
Internal use only Sets the SourceDataStore to which this mapping should be attached. |
void |
setExecutionLocation(OdiInterface.ExecutionLocation pExecutionLocation)
Internal use only Sets the execution location for this mapping. |
void |
setPersisted(boolean pPersisted)
Internal use only Returns whether this object should be persisted to the repository or not. |
void |
setSourceSet(SourceSet pSourceSet)
Internal use only Sets the source set to which this mapping should be attached. |
void |
setSqlExpression(Expression pExpression)
Internal use only Sets the new SQL expression for this mapping. |
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 |
---|
public TargetMapping(DataSet pParentDataSet, TargetColumn pTargetColumn, Expression pSqlExpression, OdiInterface.ExecutionLocation pExecutionLocation)
pParentDataSet
- the DataSet
in which this mapping will be createdpTargetColumn
- the TargetColumn
for which this mapping will be createdpSqlExpression
- the SQL mapping text as an ExpressionpExecutionLocation
- the ExecutionLocation of the mapping, should be SOURCE or WORKpublic TargetMapping(DataSet pParentDataSet, TargetColumn pTargetColumn, java.lang.String pSql, OdiInterface.ExecutionLocation pExecutionLocation)
pParentDataSet
- the DataSet
in which this mapping will be createdpTargetColumn
- the TargetColumn
for which this mapping will be createdpSql
- the SQL mapping text as a StringpExecutionLocation
- the ExecutionLocation of the mapping, should be SOURCE or WORKMethod Detail |
---|
public SourceDataStore getAttachedSourceDataStore()
setAttachedSourceDataStore(SourceDataStore)
public OdiInterface.ExecutionLocation getExecutionLocation()
setExecutionLocation(OdiInterface.ExecutionLocation)
public java.io.Serializable getInternalId()
IInterfaceSubComponent
null
from this method will indicate the object has never been persisted in the repository.
getInternalId
in interface IRepositoryEntity
getInternalId
in interface IInterfaceSubComponent
public Expression getNonPersistedSql()
public DataSet getParentDataSet()
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
public SourceSet getSourceSet()
setSourceSet(SourceSet)
public java.lang.String getSql()
public Expression getSqlExpression()
setSqlExpression(Expression)
public java.lang.Number getSqlExpressionId()
public java.lang.String getSubComponentDescription()
IInterfaceSubComponent
getSubComponentDescription
in interface IInterfaceSubComponent
public java.lang.String getSubComponentDescription(java.util.Locale pLocale)
IInterfaceSubComponent
getSubComponentDescription
in interface IInterfaceSubComponent
pLocale
- the Locale
for which the description should be returned
public TargetColumn getTargetColumn()
public java.lang.String getTechnicalDescription()
public boolean isPersisted()
isPersisted
in interface IOptionnallyPersistedObject
true
if this object should be persisted,
false
otherwiseIOptionnallyPersistedObject.isPersisted()
,
setPersisted(boolean)
public void setAttachedSourceDataStore(SourceDataStore pSourceDataStore)
pSourceDataStore
- the SourceDataStore to which this mapping should be attachedgetAttachedSourceDataStore()
public void setExecutionLocation(OdiInterface.ExecutionLocation pExecutionLocation)
pExecutionLocation
- the execution location of this mapping. Should not be null
and can only be SOURCE or WORK.getExecutionLocation()
public void setPersisted(boolean pPersisted)
setPersisted
in interface IOptionnallyPersistedObject
pPersisted
- true
if this object should be persisted,
false
otherwiseIOptionnallyPersistedObject.setPersisted(boolean)
,
isPersisted()
public void setSourceSet(SourceSet pSourceSet)
pSourceSet
- the source set to which this mapping should be attachedgetSourceSet()
public void setSqlExpression(Expression pExpression)
pExpression
- the new SQL Expression for this mappinggetSqlExpression()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |