public class DatastoreConstraint
extends java.lang.Object
| Constructor and Description |
|---|
DatastoreConstraint() |
| Modifier and Type | Method and Description |
|---|---|
ICondition |
getConditionConstraint()
Returns the underlying datastore's condition constraint associated with this component constraint.
|
java.lang.String |
getConstName()
Returns the name of this constraint.
|
java.lang.String |
getConstType()
Returns the type (key, condition, reference) of this constraint.
|
IKey |
getKeyConstraint()
Returns the underlying datastore's key constraint associated with this component constraint.
|
DatastoreOverridenConstraint |
getOverridenConstraint()
Returns the overridden constraint of this constraint.
|
IDataStoreRelationship |
getReferenceConstraint()
Returns the underlying datastore's reference constraint associated with this component constraint.
|
boolean |
isCheckEnabled()
Returns whether the constraint is enabled for flow check.
|
boolean |
isConditionConstraint()
Checks whether the underlying constraint is a condition constraint.
|
boolean |
isDefault()
Returns whether the constraint value is overridden.
|
boolean |
isDefaultCheckEnabled()
Returns whether the underlying constraint is enabled for flow check.
|
boolean |
isKeyConstraint()
Checks whether the underlying constraint is a key constraint.
|
boolean |
isReferenceConstraint()
Checks whether the underlying constraint is a reference constraint.
|
void |
resetToDefault()
Resets the constraint value to the original value (cancels the
overridden value).
|
void |
setCheckEnabled(boolean pForceCheckFlow)
Sets the value of the flow check enabled indicator for this constraint.
|
public boolean isCheckEnabled()
public boolean isDefaultCheckEnabled()
public boolean isDefault()
public void resetToDefault()
public void setCheckEnabled(boolean pForceCheckFlow)
pForceCheckFlow - true when flow check is enabled' false otherwisepublic boolean isKeyConstraint()
true if the underlying constraint is an OdiKey, false otherwisepublic boolean isConditionConstraint()
true if the underlying constraint is an OdiCondition, false otherwisepublic boolean isReferenceConstraint()
true if the underlying constraint is an OdiReference, false otherwisepublic IKey getKeyConstraint()
OdiKey for this constraintpublic ICondition getConditionConstraint()
OdiCondition for this constraintpublic IDataStoreRelationship getReferenceConstraint()
OdiReference for this constraintpublic java.lang.String getConstName()
public java.lang.String getConstType()
public DatastoreOverridenConstraint getOverridenConstraint()