|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
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.GenericClause
public abstract class GenericClause
This class represents a generic clause in an interface, which is either a join or a filter. A generic clause has a SQL expression text and can be attached to one or two source data stores. It also defines which location the clause will be executed.
Join
, Filter
, OdiInterface.ExecutionLocation
, Serialized FormConstructor Summary | |
---|---|
GenericClause(DataSet pDataSet, Expression pSql, OdiInterface.ExecutionLocation pExecutionLocation) Internal use only Create a new dataset in the specified parent dataset. |
|
GenericClause(DataSet pDataSet, java.lang.String pSql, OdiInterface.ExecutionLocation pExecutionLocation) Internal use only Create a new dataset in the specified parent dataset. |
Method Summary | |
---|---|
java.lang.String |
getBusinessRule() Returns the business rule description of this clause. |
java.lang.Number |
getClauseId() Returns the internal ID of this clause. |
int |
getClauseOrder() Returns the clause order of this clause. |
DataSet |
getDataSet() Returns the parent dataset of this clause. |
OdiInterface.ExecutionLocation |
getExecutionLocation() Returns the execution location of this clause. |
OdiIndexType |
getIndexType1() Returns the temporary index type used for the left side of this clause. |
OdiIndexType |
getIndexType2() Returns the temporary index type used for the right side of this clause. |
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 SQL expression of this clause. |
IRepositoryEntity |
getSecurityContainer() Define a generic way to retrieve container for entities. |
SourceSet |
getSourceSet() Returns the source set where this clause is executed. |
java.lang.String |
getSql() Returns the SQL expression text of this clause. |
Expression |
getSqlExpression() Returns the SQL expression of this clause. |
java.lang.Number |
getSqlExpressionId() Returns the internal ID of the SQL expression text for this clause. |
java.lang.String |
getTechnicalDescription() Returns the technical description of the expression text of this clause. |
boolean |
isEnabled() Returns whether this clause is active and enabled. |
void |
setBusinessRule(java.lang.String pBusinessRule) Internal use only Set the business rule description of this clause. |
void |
setClauseOrder(int pClauseOrder) Internal use only Sets the clause order of this clause. |
void |
setEnabled(boolean pEnabled) Internal use only Sets whether this clause is active and enabled or not. |
void |
setExecutionLocation(OdiInterface.ExecutionLocation pExecutionLocation) Internal use only Sets the execution location of this clause. |
void |
setIndexType1(OdiIndexType pIndexType1) Internal use only Set the temporary index type used for the left side of this clause. |
void |
setIndexType2(OdiIndexType pIndexType2) Internal use only Set the temporary index type used for the right side of this clause. |
void |
setSourceSet(SourceSet pSourceSet) Internal use only Sets the source set where this clause will be executed. |
void |
setSqlExpression(Expression pSqlExpression) Internal use only Set the SQL expression for this clause. |
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 |
Methods inherited from interface oracle.odi.domain.project.interfaces.IInterfaceSubComponent |
---|
getSubComponentDescription, getSubComponentDescription |
Constructor Detail |
---|
public GenericClause(DataSet pDataSet, java.lang.String pSql, OdiInterface.ExecutionLocation pExecutionLocation)
pDataSet
- the dataset in which this generic clause is to be createdpSql
- the SQL text of the clausepExecutionLocation
- the execution location of the clausepublic GenericClause(DataSet pDataSet, Expression pSql, OdiInterface.ExecutionLocation pExecutionLocation)
pDataSet
- the dataset in which this generic clause is to be createdpSql
- the expression containing the SQL text of the clausepExecutionLocation
- the execution location of the clauseMethod Detail |
---|
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 getSqlExpression()
setSqlExpression(Expression)
public java.lang.Number getSqlExpressionId()
public void setSqlExpression(Expression pSqlExpression)
pSqlExpression
- The new SQL expression for this clause.getSqlExpression()
public java.lang.String getBusinessRule()
setBusinessRule(String)
public void setBusinessRule(java.lang.String pBusinessRule)
pBusinessRule
- the new description of this clause.getBusinessRule()
public boolean isEnabled()
true
if the clause is active and enabled.setEnabled(boolean)
public void setEnabled(boolean pEnabled)
pEnabled
- true
to enable this clause, false
to disable this clauseisEnabled()
public OdiInterface.ExecutionLocation getExecutionLocation()
setExecutionLocation(OdiInterface.ExecutionLocation)
public void setExecutionLocation(OdiInterface.ExecutionLocation pExecutionLocation)
pExecutionLocation
- the new execution location of this clause.java.lang.IllegalArgumentException
- if the new execution location is null
or OdiInterface.ExecutionLocation.TARGET
getExecutionLocation()
public SourceSet getSourceSet()
null
, this clause is executed in the staging area.setSourceSet(SourceSet)
public void setSourceSet(SourceSet pSourceSet)
pSourceSet
- the source set where this clause will be executed. null
if this clause is to be executed in the staging area.getSourceSet()
public java.lang.Number getClauseId()
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
public DataSet getDataSet()
setDataSet(oracle.odi.domain.project.interfaces.DataSet)
public int getClauseOrder()
setClauseOrder(int)
public void setClauseOrder(int pClauseOrder)
pClauseOrder
- the new clause order of the clausegetClauseOrder()
public Expression getNonPersistedSql()
setSqlExpression(Expression)
, the same Expression
object will be returned instead.public java.lang.String getSql()
public java.lang.String getTechnicalDescription()
public OdiIndexType getIndexType1()
setIndexType1(OdiIndexType)
public void setIndexType1(OdiIndexType pIndexType1)
pIndexType1
- The temporary index type used for the left side of this clause.getIndexType1()
public OdiIndexType getIndexType2()
setIndexType2(OdiIndexType)
public void setIndexType2(OdiIndexType pIndexType2)
pIndexType2
- The temporary index type used for the right side of this clause.getIndexType2()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |