|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Constraint'. Reference: 5WD-02-Foundation-2002-12 4.17 Integrity constraints
The following features are supported:
SQLConstraintsPackage.getConstraint()
Method Summary | |
boolean |
isDeferrable()
Returns the value of the 'Deferrable' attribute. |
boolean |
isEnforced()
Returns the value of the 'Enforced' attribute. |
boolean |
isInitiallyDeferred()
Returns the value of the 'Initially Deferred' attribute. |
void |
setDeferrable(boolean value)
Sets the value of the ' Deferrable ' attribute. |
void |
setEnforced(boolean value)
Sets the value of the ' Enforced ' attribute. |
void |
setInitiallyDeferred(boolean value)
Sets the value of the ' Initially Deferred ' attribute. |
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject |
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
Method Detail |
public boolean isDeferrable()
setDeferrable(boolean)
,
SQLConstraintsPackage.getConstraint_Deferrable()
public void setDeferrable(boolean value)
Deferrable
' attribute.
value
- the new value of the 'Deferrable' attribute.isDeferrable()
public boolean isInitiallyDeferred()
"false"
.
If True isDeferrable must be True and constraint check time will be DEFERRED. If False constraint check time will be IMMEDIATE.
Could also be named (initial)ConstraintCheckTime with values INITIALLY DEFERRED and INITIALLY IMMEDIATE. Default value would be INITIALLY IMMEDIATE.
setInitiallyDeferred(boolean)
,
SQLConstraintsPackage.getConstraint_InitiallyDeferred()
public void setInitiallyDeferred(boolean value)
Initially Deferred
' attribute.
value
- the new value of the 'Initially Deferred' attribute.isInitiallyDeferred()
public boolean isEnforced()
"true"
.
If the meaning of the 'Enforced' attribute isn't clear, there really should be more of a description here...
setEnforced(boolean)
,
SQLConstraintsPackage.getConstraint_Enforced()
public void setEnforced(boolean value)
Enforced
' attribute.
value
- the new value of the 'Enforced' attribute.isEnforced()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |