|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.domain.project.OdiProcedureLineCmd
public class OdiProcedureLineCmd
The OdiProcedureLineCmd contains information about the source or target line. It is mapped indirectly to SNP_LINE_TRT. This object will be constructed by the getOnSourceCommand or getTOnTargetCommand in the line objects.
The specific line attributes will be set in the (line).setOnSourceCommand or (line).setOnTargetCommand.
An OdiProcedureLineCmd does not provide any validation logic against physical location defined throught OdiContext, OdiLogicalSchema and OdiTechnology. It is a simple entity holder in this regard.
However, an OdiProcedureLineCmd maintains logic regarding commit VS autocommit mode.
It is a value object and does not have any particular life cycle, and no identity.
Two OdiProcedureLineCmd instances are equals if and only if all there properties are equals. Also, OdiProcedureLineCmd class provides a by copy constructor.
Nested Class Summary | |
---|---|
static class |
OdiProcedureLineCmd.CommitMode Commit Mode |
static class |
OdiProcedureLineCmd.IsolationLevel Isolation Level |
Constructor Summary | |
---|---|
OdiProcedureLineCmd() Create a new OdiProceudreLineCmd setting no attributes. |
|
OdiProcedureLineCmd(OdiProcedureLineCmd.CommitMode pCommitMode, java.lang.Integer pTransactionChannel, boolean pAutoCommitMode, OdiProcedureLineCmd.IsolationLevel pIsolationLevel, OdiContext pExecutionContext, OdiTechnology pTechnology, OdiLogicalSchema pLogicalSchema, Expression pExpression) Create a new OdiProcdureLine setting all attributes to specific values. |
|
OdiProcedureLineCmd(OdiProcedureLineCmd pOdiProcedureLineCmd) Copy Constructor for OdiProcdureLineCmd. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object pObject) Determines if the pOdiProcedureLineCmd equals this. |
OdiProcedureLineCmd.CommitMode |
getCommitMode() Obtains the CommitMode of this OdiProcedureLineCmd. |
OdiContext |
getExecutionContext() Obtains the execution context of this OdiProcedureLineCmd. |
Expression |
getExpression() Obtains the expression of this OdiProcedureLineCmd. |
OdiProcedureLineCmd.IsolationLevel |
getIsolationLevel() Obtains the IsolationLevel of the OdiProcedureLineCmd. |
OdiLogicalSchema |
getLogicalSchema() Obtains the logical schema this OdiProcedureLineCmd will be executed on. |
OdiTechnology |
getTechnology() Obtains the technology this OdiProcedureLineCmd aims to be executed on. |
java.lang.Integer |
getTransactionChannel() Obtains the transaction channel of this OdiProcedureLineCmd. |
int |
hashCode() Calculates the hash code for this. |
boolean |
isAutoCommitMode() Convenient method that return whether this OdiProcedureLineCmd should be executed in autoCommit mode or not. |
void |
setAutoCommitMode() Defines this OdiProcedureLineCmd to be executed in autoCommitMode. |
void |
setExecutionContext(OdiContext pExecutionContext) Defines the execution context of this OdiProcedureLineCmd. |
void |
setExpression(Expression pExpression) Defines the expression of this OdiProcedureLineCmd. |
void |
setIsolationLevel(OdiProcedureLineCmd.IsolationLevel pIsolationLevel) Defines the IsolationLevel of the OdiProcedureLineCmd. |
void |
setLogicalSchema(OdiLogicalSchema pLogicalSchema) Defines the logical schema this OdiProcedureLineCmd will be executed on. |
void |
setTechnology(OdiTechnology pTechnology) Defines the technology this OdiProcedureLineCmd aims to be executed on. |
void |
setTransactionBehavior(int pTtransactionChannel, OdiProcedureLineCmd.CommitMode pCommitMode) Define the transaction behavior of this OdiProcedureLineCmd. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OdiProcedureLineCmd()
public OdiProcedureLineCmd(OdiProcedureLineCmd.CommitMode pCommitMode, java.lang.Integer pTransactionChannel, boolean pAutoCommitMode, OdiProcedureLineCmd.IsolationLevel pIsolationLevel, OdiContext pExecutionContext, OdiTechnology pTechnology, OdiLogicalSchema pLogicalSchema, Expression pExpression)
pCommitMode
- commit mode of new objectpTransactionChannel
- transaction channel of new objectpAutoCommitMode
- boolean is auto commit mode?pIsolationLevel
- isolation level of new objectpExecutionContext
- execution context of new objectpTechnology
- OdiTechnology or new objectpLogicalSchema
- OdiLogicalSchema of new objectpExpression
- Expression of new objectpublic OdiProcedureLineCmd(OdiProcedureLineCmd pOdiProcedureLineCmd)
pOdiProcedureLineCmd
- Construct from this objectMethod Detail |
---|
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
pObject
- Object for comparisonpublic int hashCode()
hashCode
in class java.lang.Object
public OdiProcedureLineCmd.CommitMode getCommitMode()
public java.lang.Integer getTransactionChannel()
public void setTransactionBehavior(int pTtransactionChannel, OdiProcedureLineCmd.CommitMode pCommitMode) throws java.lang.IllegalArgumentException
pTtransactionChannel
- transaction channel to setpCommitMode
- commit mode to setjava.lang.IllegalArgumentException
- if commitMode is null and channel < 0setAutoCommitMode()
public void setAutoCommitMode()
setTransactionBehavior(int, oracle.odi.domain.project.OdiProcedureLineCmd.CommitMode)
public boolean isAutoCommitMode()
public void setIsolationLevel(OdiProcedureLineCmd.IsolationLevel pIsolationLevel)
pIsolationLevel
- IsolationLevel of objectgetIsolationLevel()
public OdiProcedureLineCmd.IsolationLevel getIsolationLevel()
setIsolationLevel(oracle.odi.domain.project.OdiProcedureLineCmd.IsolationLevel)
public void setExecutionContext(OdiContext pExecutionContext)
pExecutionContext
- OdiContext for executiongetExecutionContext()
public OdiContext getExecutionContext()
setExecutionContext(oracle.odi.domain.topology.OdiContext)
public void setTechnology(OdiTechnology pTechnology)
pTechnology
- OdiTechnology for this objectgetTechnology()
public OdiTechnology getTechnology()
setTechnology(oracle.odi.domain.topology.OdiTechnology)
public void setLogicalSchema(OdiLogicalSchema pLogicalSchema)
pLogicalSchema
- OdiLogicalSchema for this objectgetLogicalSchema()
public OdiLogicalSchema getLogicalSchema()
setLogicalSchema(oracle.odi.domain.topology.OdiLogicalSchema)
public void setExpression(Expression pExpression)
pExpression
- Expression for this objectgetExpression()
public Expression getExpression()
setExpression(oracle.odi.domain.xrefs.expression.Expression)
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |