|
||||||||||
| 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
public class 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 OptionMaximum Primary Key Identifier LengthMaximum Foreign Key Identifier LengthMaximum Check Constraint Identifier Length
| Method Summary | |
|---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
EList |
getCheckOption()
|
int |
getMaximumCheckConstraintIdentifierLength()
|
int |
getMaximumCheckExpressionLength()
|
int |
getMaximumForeignKeyIdentifierLength()
|
int |
getMaximumPrimaryKeyIdentifierLength()
|
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 |
setMaximumCheckConstraintIdentifierLength(int newMaximumCheckConstraintIdentifierLength)
|
void |
setMaximumCheckExpressionLength(int newMaximumCheckExpressionLength)
|
void |
setMaximumForeignKeyIdentifierLength(int newMaximumForeignKeyIdentifierLength)
|
void |
setMaximumPrimaryKeyIdentifierLength(int newMaximumPrimaryKeyIdentifierLength)
|
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 int getMaximumPrimaryKeyIdentifierLength()
getMaximumPrimaryKeyIdentifierLength in interface ConstraintDefinitionConstraintDefinition.setMaximumPrimaryKeyIdentifierLength(int),
DatabaseDefinitionPackage.getConstraintDefinition_MaximumPrimaryKeyIdentifierLength()public void setMaximumPrimaryKeyIdentifierLength(int newMaximumPrimaryKeyIdentifierLength)
setMaximumPrimaryKeyIdentifierLength in interface ConstraintDefinitionnewMaximumPrimaryKeyIdentifierLength - the new value of the 'Maximum Primary Key Identifier Length' attribute.ConstraintDefinition.getMaximumPrimaryKeyIdentifierLength()public int getMaximumForeignKeyIdentifierLength()
getMaximumForeignKeyIdentifierLength in interface ConstraintDefinitionConstraintDefinition.setMaximumForeignKeyIdentifierLength(int),
DatabaseDefinitionPackage.getConstraintDefinition_MaximumForeignKeyIdentifierLength()public void setMaximumForeignKeyIdentifierLength(int newMaximumForeignKeyIdentifierLength)
setMaximumForeignKeyIdentifierLength in interface ConstraintDefinitionnewMaximumForeignKeyIdentifierLength - the new value of the 'Maximum Foreign Key Identifier Length' attribute.ConstraintDefinition.getMaximumForeignKeyIdentifierLength()public int getMaximumCheckConstraintIdentifierLength()
getMaximumCheckConstraintIdentifierLength in interface ConstraintDefinitionConstraintDefinition.setMaximumCheckConstraintIdentifierLength(int),
DatabaseDefinitionPackage.getConstraintDefinition_MaximumCheckConstraintIdentifierLength()public void setMaximumCheckConstraintIdentifierLength(int newMaximumCheckConstraintIdentifierLength)
setMaximumCheckConstraintIdentifierLength in interface ConstraintDefinitionnewMaximumCheckConstraintIdentifierLength - the new value of the 'Maximum Check Constraint Identifier Length' attribute.ConstraintDefinition.getMaximumCheckConstraintIdentifierLength()
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
public void eSet(int featureID,
java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||