|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
| 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.runtime.loadplan.OdiLoadPlanElement
oracle.odi.domain.runtime.loadplan.OdiLoadPlanStep
oracle.odi.domain.runtime.loadplan.OdiLoadPlanStepCase
public class OdiLoadPlanStepCase
An OdiLoadPlanStepCase is one of the OdiLoadPlanStepCase.
It represents an aggregate "case-when*-else" (* there can be multiple when clauses).
The life cycle of OdiLoadPlanStepCase is managed by the aggregate OdiLoadPlan.
It begins when a user adds an OdiLoadPlanStepCase to the OdiLoadPlan. It is then typically stored inside ODI runtime repository when the OdiLoadPlan is persisted.
The users can modify the OdiLoadPlanStepCase in order to make it fit their needs.
The life cycle ends when a user removes the OdiLoadPlanStepCase from the OdiLoadPlan.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.odi.domain.runtime.loadplan.OdiLoadPlanStep |
|---|
OdiLoadPlanStep.ExceptionBehavior, OdiLoadPlanStep.RegenerationMode |
| Field Summary |
|---|
| Fields inherited from class oracle.odi.domain.runtime.loadplan.OdiLoadPlanStep |
|---|
MAX_PRIORITY, MIN_PRIORITY, SESSION_KEYWORDS_MAX_LENGTH |
| Fields inherited from class oracle.odi.domain.runtime.loadplan.OdiLoadPlanElement |
|---|
NAME_MAX_LENGTH |
| Method Summary | |
|---|---|
OdiCaseWhen |
addCaseWhen(OdiCaseWhen.ComparisonOperator pComparisonOperator, java.lang.Object pValue)Creates an OdiCaseWhen, adds it to the list and return it |
OdiLoadPlanStepCase |
copy(boolean generateName) |
OdiCaseElse |
getCaseElse() |
java.util.List<OdiCaseWhen> |
getCaseWhenList() |
OdiLoadPlanVariable |
getTestVariable() |
void |
moveCaseWhenAfter(OdiCaseWhen pCaseToMove, OdiCaseWhen pAfterThisCase)Moves the given step in the children list, putting it right after the second parameter step. No action if pStepToMove is already right after pAfterThisStep. |
void |
moveCaseWhenBefore(OdiCaseWhen pCaseToMove, OdiCaseWhen pBeforeThisCase)Moves the given step in the children list, putting it right before the second parameter step. No action if pStepToMove is already right after pBeforeThisStep. |
void |
removeCaseElse()remove the current CaseElse of the OdiLoadPlanStepCase. |
void |
removeCaseWhen(OdiCaseWhen pOdiCaseWhen)Removes the given OdiCaseWhen of the list of OdiCaseWhen available for this OdiLoadPlanStepCase. |
void |
setCaseElse(java.lang.String pName)Initializes the OdiCaseElse of this OdiLoadPlanStepCase if the current caseElse is not null, this method should throw an exception |
void |
setTestVariable(OdiLoadPlanVariable testVariable) |
| Methods inherited from class oracle.odi.domain.runtime.loadplan.OdiLoadPlanStep |
|---|
addVariable, addVariable, duplicate, duplicate, getException, getExceptionBehavior, getInternalId, getLoadPlanStepVariables, getOrder, getParentElement, getSessionKeywordsAsString, getTimeout, isEnabled, regenerate, removeVariable, setEnabled, setException, setExceptionBehavior, setSessionKeywordsAsString, setTimeout |
| Methods inherited from class oracle.odi.domain.runtime.loadplan.OdiLoadPlanElement |
|---|
getName, getSecurityContainer, getStepId, hasDisabledParent, setName, toString |
| Methods inherited from class oracle.odi.domain.support.BusinessObject |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public OdiCaseWhen addCaseWhen(OdiCaseWhen.ComparisonOperator pComparisonOperator,
java.lang.Object pValue)
OdiCaseWhen, adds it to the list and return itpComparisonOperator - the OdiCaseWhen.ComparisonOperator used to test the OdiLoadPlanVariable. It must not be null.pValue - the value to use for the test of the OdiLoadPlanVariable. It must not be null.OdiCaseWhen createdremoveCaseWhen(OdiCaseWhen), #getCaseWhenLst(), OdiCaseWhenpublic void removeCaseWhen(OdiCaseWhen pOdiCaseWhen)
OdiCaseWhen of the list of OdiCaseWhen available for this OdiLoadPlanStepCase.pOdiCaseWhen - the OdiCaseWhen to remove from the list of when clauses defined for this OdiLoadPlanStepCase. It must not be null#addCaseWhen(oracle.odi.domain.runtime.loadplan.OdiCaseWhen.ComparisonOperator, Number), #getCaseWhenLst(), OdiCaseWhenpublic java.util.List<OdiCaseWhen> getCaseWhenList()
OdiLoadPlanStepCase#addCaseWhen(oracle.odi.domain.runtime.loadplan.OdiCaseWhen.ComparisonOperator, Number), removeCaseWhen(OdiCaseWhen), OdiCaseWhenpublic OdiCaseElse getCaseElse()
OdiLoadPlanStepCase.OdiCaseElsepublic void setCaseElse(java.lang.String pName)
OdiCaseElse of this OdiLoadPlanStepCase if the current caseElse is not null, this method should throw an exceptionpName - must not be null, empty or longer than #NAME_MAX_LENGTHDomainRuntimeException - if the name is null, empty or longer than #NAME_MAX_LENGTH.java.lang.UnsupportedOperationException - if the caseElse is already defined for this StepCase.OdiCaseElsepublic void removeCaseElse()
OdiLoadPlanStepCase. Throw an exception if there's no current OdiCaseElsepublic OdiLoadPlanVariable getTestVariable()
OdiLoadPlanVariable associated to this OdiLoadPlanStepCaseOdiLoadPlanVariable, setTestVariable(OdiLoadPlanVariable)public void setTestVariable(OdiLoadPlanVariable testVariable)
testVariable - the OdiLoadPlanVariable associated to this OdiLoadPlanStepCase. Must not be null or defined in another load plan.DomainRuntimeException - if the variable is null or defined in another load plangetTestVariable(), OdiLoadPlanVariable
public void moveCaseWhenAfter(OdiCaseWhen pCaseToMove,
OdiCaseWhen pAfterThisCase)
pCaseToMove -pAfterThisCase -DomainRuntimeException - if the steps are not defined in the same step container
public void moveCaseWhenBefore(OdiCaseWhen pCaseToMove,
OdiCaseWhen pBeforeThisCase)
pCaseToMove -pBeforeThisCase -DomainRuntimeException - if the steps are not defined in the same step containerpublic OdiLoadPlanStepCase copy(boolean generateName)
copy in class OdiLoadPlanStep
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||