Skip navigation links

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

E17060-02


oracle.odi.domain.project
Class OdiInterface.CheckableFlowConstraint

java.lang.Object
  extended by oracle.odi.domain.project.OdiInterface.CheckableFlowConstraint

Enclosing class:
OdiInterface

public class OdiInterface.CheckableFlowConstraint
extends java.lang.Object

A constraint that can be checkable on the flow and potentially overriden in the interface.
Constraints include OdiKeys, OdiConditions and OdiReferences.
This class enables to manipulate the constraints and how they can be overridden in the interface.
Note that as for all objects inside interfaces, you should use IInteractiveInterfaceHelpers to modify constraints.

Since:
11.1.1.3.0

Method Summary
 OdiCondition getConditionConstraint()
          Returns the underlying OdiCondition for this constraint.
 OdiKey getKeyConstraint()
          Returns the underlying OdiKey for this constraint.
 OdiReference getReferenceConstraint()
          Returns the underlying OdiReference for this constraint.
 boolean isConditionConstraint()
          Returns whether the underlying constraint is a condition.
 boolean isDefault()
          Returns whether the constraint value is overridden.
 boolean isFlowCheckEnabled()
          Returns whether the constraint is enabled for flow check.
 boolean isKeyConstraint()
          Returns whether the underlying constraint is a key constraint.
 boolean isReferenceConstraint()
          Returns whether the underlying constraint is a reference.
 void resetToDefault()
          Resets the constraint value to the original value (cancels the overridden value).
 void setFlowCheckEnabled(boolean pForceCheckFlow)
          Overrides the value of the constraint.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

isFlowCheckEnabled

public boolean isFlowCheckEnabled()
Returns whether the constraint is enabled for flow check.
Returns:
true if the constraint is flow check enabled

isDefault

public boolean isDefault()
Returns whether the constraint value is overridden. The constraint value is whether the constraint will be checked during flow control.
Returns:
true if the value is not overridden, false otherwise

resetToDefault

public void resetToDefault()
Resets the constraint value to the original value (cancels the overridden value).

setFlowCheckEnabled

public void setFlowCheckEnabled(boolean pForceCheckFlow)
Overrides the value of the constraint.
Parameters:
pForceCheckFlow - the new overridden value

isKeyConstraint

public boolean isKeyConstraint()
Returns whether the underlying constraint is a key constraint.
Returns:
true if the underlying constraint is an OdiKey, false otherwise

isConditionConstraint

public boolean isConditionConstraint()
Returns whether the underlying constraint is a condition.
Returns:
true if the underlying constraint is an OdiCondition, false otherwise

isReferenceConstraint

public boolean isReferenceConstraint()
Returns whether the underlying constraint is a reference.
Returns:
true if the underlying constraint is an OdiReference, false otherwise

getKeyConstraint

public OdiKey getKeyConstraint()
Returns the underlying OdiKey for this constraint. Make sure that this constraint is indeed an OdiKey constraint before calling this method, by checking with isKeyConstraint method before.
Returns:
returns the OdiKey for this constraint
See Also:
isKeyConstraint()

getConditionConstraint

public OdiCondition getConditionConstraint()
Returns the underlying OdiCondition for this constraint. Make sure that this constraint is indeed an OdiCondition constraint before calling this method, by checking with isConditionConstraint method before.
Returns:
returns the OdiCondition for this constraint
See Also:
isConditionConstraint()

getReferenceConstraint

public OdiReference getReferenceConstraint()
Returns the underlying OdiReference for this constraint. Make sure that this constraint is indeed an OdiReference constraint before calling this method, by checking with isReferenceConstraint method before.
Returns:
returns the OdiReference for this constraint
See Also:
isReferenceConstraint()

Skip navigation links

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

E17060-02


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.