|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectEObjectImpl
org.eclipse.datatools.modelbase.dbdefinition.impl.ConstraintDefinitionImpl
An implementation of the model object 'Constraint Definition'.
The following features are implemented:
Deferrable Constraint SupportedInformational Constraint SupportedClustered Primary Key SupportedClustered Unique Constraint SupportedPrimary Key NullableUnique Key NullableMaximum Check Expression LengthParent Update DRI Rule TypeParent Delete DRI Rule TypeCheck Option
| Method Summary | |
java.lang.Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
|
void |
eUnset(EStructuralFeature eFeature)
|
EList |
getCheckOption()
|
int |
getMaximumCheckExpressionLength()
|
EList |
getParentDeleteDRIRuleType()
|
EList |
getParentUpdateDRIRuleType()
|
boolean |
isClusteredPrimaryKeySupported()
|
boolean |
isClusteredUniqueConstraintSupported()
|
boolean |
isDeferrableConstraintSupported()
|
boolean |
isInformationalConstraintSupported()
|
boolean |
isPrimaryKeyNullable()
|
boolean |
isUniqueKeyNullable()
|
void |
setClusteredPrimaryKeySupported(boolean newClusteredPrimaryKeySupported)
|
void |
setClusteredUniqueConstraintSupported(boolean newClusteredUniqueConstraintSupported)
|
void |
setDeferrableConstraintSupported(boolean newDeferrableConstraintSupported)
|
void |
setInformationalConstraintSupported(boolean newInformationalConstraintSupported)
|
void |
setMaximumCheckExpressionLength(int newMaximumCheckExpressionLength)
|
void |
setPrimaryKeyNullable(boolean newPrimaryKeyNullable)
|
void |
setUniqueKeyNullable(boolean newUniqueKeyNullable)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public boolean isDeferrableConstraintSupported()
isDeferrableConstraintSupported in interface ConstraintDefinitionConstraintDefinition.setDeferrableConstraintSupported(boolean),
DatabaseDefinitionPackage.getConstraintDefinition_DeferrableConstraintSupported()public void setDeferrableConstraintSupported(boolean newDeferrableConstraintSupported)
setDeferrableConstraintSupported in interface ConstraintDefinitionnewDeferrableConstraintSupported - the new value of the 'Deferrable Constraint Supported' attribute.ConstraintDefinition.isDeferrableConstraintSupported()public boolean isInformationalConstraintSupported()
isInformationalConstraintSupported in interface ConstraintDefinitionConstraintDefinition.setInformationalConstraintSupported(boolean),
DatabaseDefinitionPackage.getConstraintDefinition_InformationalConstraintSupported()public void setInformationalConstraintSupported(boolean newInformationalConstraintSupported)
setInformationalConstraintSupported in interface ConstraintDefinitionnewInformationalConstraintSupported - the new value of the 'Informational Constraint Supported' attribute.ConstraintDefinition.isInformationalConstraintSupported()public boolean isClusteredPrimaryKeySupported()
isClusteredPrimaryKeySupported in interface ConstraintDefinitionConstraintDefinition.setClusteredPrimaryKeySupported(boolean),
DatabaseDefinitionPackage.getConstraintDefinition_ClusteredPrimaryKeySupported()public void setClusteredPrimaryKeySupported(boolean newClusteredPrimaryKeySupported)
setClusteredPrimaryKeySupported in interface ConstraintDefinitionnewClusteredPrimaryKeySupported - the new value of the 'Clustered Primary Key Supported' attribute.ConstraintDefinition.isClusteredPrimaryKeySupported()public boolean isClusteredUniqueConstraintSupported()
isClusteredUniqueConstraintSupported in interface ConstraintDefinitionConstraintDefinition.setClusteredUniqueConstraintSupported(boolean),
DatabaseDefinitionPackage.getConstraintDefinition_ClusteredUniqueConstraintSupported()public void setClusteredUniqueConstraintSupported(boolean newClusteredUniqueConstraintSupported)
setClusteredUniqueConstraintSupported in interface ConstraintDefinitionnewClusteredUniqueConstraintSupported - the new value of the 'Clustered Unique Constraint Supported' attribute.ConstraintDefinition.isClusteredUniqueConstraintSupported()public boolean isPrimaryKeyNullable()
isPrimaryKeyNullable in interface ConstraintDefinitionConstraintDefinition.setPrimaryKeyNullable(boolean),
DatabaseDefinitionPackage.getConstraintDefinition_PrimaryKeyNullable()public void setPrimaryKeyNullable(boolean newPrimaryKeyNullable)
setPrimaryKeyNullable in interface ConstraintDefinitionnewPrimaryKeyNullable - the new value of the 'Primary Key Nullable' attribute.ConstraintDefinition.isPrimaryKeyNullable()public boolean isUniqueKeyNullable()
isUniqueKeyNullable in interface ConstraintDefinitionConstraintDefinition.setUniqueKeyNullable(boolean),
DatabaseDefinitionPackage.getConstraintDefinition_UniqueKeyNullable()public void setUniqueKeyNullable(boolean newUniqueKeyNullable)
setUniqueKeyNullable in interface ConstraintDefinitionnewUniqueKeyNullable - the new value of the 'Unique Key Nullable' attribute.ConstraintDefinition.isUniqueKeyNullable()public int getMaximumCheckExpressionLength()
getMaximumCheckExpressionLength in interface ConstraintDefinitionConstraintDefinition.setMaximumCheckExpressionLength(int),
DatabaseDefinitionPackage.getConstraintDefinition_MaximumCheckExpressionLength()public void setMaximumCheckExpressionLength(int newMaximumCheckExpressionLength)
setMaximumCheckExpressionLength in interface ConstraintDefinitionnewMaximumCheckExpressionLength - the new value of the 'Maximum Check Expression Length' attribute.ConstraintDefinition.getMaximumCheckExpressionLength()public EList getParentUpdateDRIRuleType()
getParentUpdateDRIRuleType in interface ConstraintDefinitionParentUpdateDRIRuleType,
DatabaseDefinitionPackage.getConstraintDefinition_ParentUpdateDRIRuleType()public EList getParentDeleteDRIRuleType()
getParentDeleteDRIRuleType in interface ConstraintDefinitionParentDeleteDRIRuleType,
DatabaseDefinitionPackage.getConstraintDefinition_ParentDeleteDRIRuleType()public EList getCheckOption()
getCheckOption in interface ConstraintDefinitionCheckOption,
DatabaseDefinitionPackage.getConstraintDefinition_CheckOption()
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
public void eUnset(EStructuralFeature eFeature)
public boolean eIsSet(EStructuralFeature eFeature)
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||