|
||||||||||
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 Supported
Informational Constraint Supported
Clustered Primary Key Supported
Clustered Unique Constraint Supported
Primary Key Nullable
Unique Key Nullable
Maximum Check Expression Length
Parent Update DRI Rule Type
Parent Delete DRI Rule Type
Check Option
Maximum Primary Key Identifier Length
Maximum Foreign Key Identifier Length
Maximum 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 ConstraintDefinition
ConstraintDefinition.setDeferrableConstraintSupported(boolean)
,
DatabaseDefinitionPackage.getConstraintDefinition_DeferrableConstraintSupported()
public void setDeferrableConstraintSupported(boolean newDeferrableConstraintSupported)
setDeferrableConstraintSupported
in interface ConstraintDefinition
newDeferrableConstraintSupported
- the new value of the 'Deferrable Constraint Supported' attribute.ConstraintDefinition.isDeferrableConstraintSupported()
public boolean isInformationalConstraintSupported()
isInformationalConstraintSupported
in interface ConstraintDefinition
ConstraintDefinition.setInformationalConstraintSupported(boolean)
,
DatabaseDefinitionPackage.getConstraintDefinition_InformationalConstraintSupported()
public void setInformationalConstraintSupported(boolean newInformationalConstraintSupported)
setInformationalConstraintSupported
in interface ConstraintDefinition
newInformationalConstraintSupported
- the new value of the 'Informational Constraint Supported' attribute.ConstraintDefinition.isInformationalConstraintSupported()
public boolean isClusteredPrimaryKeySupported()
isClusteredPrimaryKeySupported
in interface ConstraintDefinition
ConstraintDefinition.setClusteredPrimaryKeySupported(boolean)
,
DatabaseDefinitionPackage.getConstraintDefinition_ClusteredPrimaryKeySupported()
public void setClusteredPrimaryKeySupported(boolean newClusteredPrimaryKeySupported)
setClusteredPrimaryKeySupported
in interface ConstraintDefinition
newClusteredPrimaryKeySupported
- the new value of the 'Clustered Primary Key Supported' attribute.ConstraintDefinition.isClusteredPrimaryKeySupported()
public boolean isClusteredUniqueConstraintSupported()
isClusteredUniqueConstraintSupported
in interface ConstraintDefinition
ConstraintDefinition.setClusteredUniqueConstraintSupported(boolean)
,
DatabaseDefinitionPackage.getConstraintDefinition_ClusteredUniqueConstraintSupported()
public void setClusteredUniqueConstraintSupported(boolean newClusteredUniqueConstraintSupported)
setClusteredUniqueConstraintSupported
in interface ConstraintDefinition
newClusteredUniqueConstraintSupported
- the new value of the 'Clustered Unique Constraint Supported' attribute.ConstraintDefinition.isClusteredUniqueConstraintSupported()
public boolean isPrimaryKeyNullable()
isPrimaryKeyNullable
in interface ConstraintDefinition
ConstraintDefinition.setPrimaryKeyNullable(boolean)
,
DatabaseDefinitionPackage.getConstraintDefinition_PrimaryKeyNullable()
public void setPrimaryKeyNullable(boolean newPrimaryKeyNullable)
setPrimaryKeyNullable
in interface ConstraintDefinition
newPrimaryKeyNullable
- the new value of the 'Primary Key Nullable' attribute.ConstraintDefinition.isPrimaryKeyNullable()
public boolean isUniqueKeyNullable()
isUniqueKeyNullable
in interface ConstraintDefinition
ConstraintDefinition.setUniqueKeyNullable(boolean)
,
DatabaseDefinitionPackage.getConstraintDefinition_UniqueKeyNullable()
public void setUniqueKeyNullable(boolean newUniqueKeyNullable)
setUniqueKeyNullable
in interface ConstraintDefinition
newUniqueKeyNullable
- the new value of the 'Unique Key Nullable' attribute.ConstraintDefinition.isUniqueKeyNullable()
public int getMaximumCheckExpressionLength()
getMaximumCheckExpressionLength
in interface ConstraintDefinition
ConstraintDefinition.setMaximumCheckExpressionLength(int)
,
DatabaseDefinitionPackage.getConstraintDefinition_MaximumCheckExpressionLength()
public void setMaximumCheckExpressionLength(int newMaximumCheckExpressionLength)
setMaximumCheckExpressionLength
in interface ConstraintDefinition
newMaximumCheckExpressionLength
- the new value of the 'Maximum Check Expression Length' attribute.ConstraintDefinition.getMaximumCheckExpressionLength()
public EList getParentUpdateDRIRuleType()
getParentUpdateDRIRuleType
in interface ConstraintDefinition
ParentUpdateDRIRuleType
,
DatabaseDefinitionPackage.getConstraintDefinition_ParentUpdateDRIRuleType()
public EList getParentDeleteDRIRuleType()
getParentDeleteDRIRuleType
in interface ConstraintDefinition
ParentDeleteDRIRuleType
,
DatabaseDefinitionPackage.getConstraintDefinition_ParentDeleteDRIRuleType()
public EList getCheckOption()
getCheckOption
in interface ConstraintDefinition
CheckOption
,
DatabaseDefinitionPackage.getConstraintDefinition_CheckOption()
public int getMaximumPrimaryKeyIdentifierLength()
getMaximumPrimaryKeyIdentifierLength
in interface ConstraintDefinition
ConstraintDefinition.setMaximumPrimaryKeyIdentifierLength(int)
,
DatabaseDefinitionPackage.getConstraintDefinition_MaximumPrimaryKeyIdentifierLength()
public void setMaximumPrimaryKeyIdentifierLength(int newMaximumPrimaryKeyIdentifierLength)
setMaximumPrimaryKeyIdentifierLength
in interface ConstraintDefinition
newMaximumPrimaryKeyIdentifierLength
- the new value of the 'Maximum Primary Key Identifier Length' attribute.ConstraintDefinition.getMaximumPrimaryKeyIdentifierLength()
public int getMaximumForeignKeyIdentifierLength()
getMaximumForeignKeyIdentifierLength
in interface ConstraintDefinition
ConstraintDefinition.setMaximumForeignKeyIdentifierLength(int)
,
DatabaseDefinitionPackage.getConstraintDefinition_MaximumForeignKeyIdentifierLength()
public void setMaximumForeignKeyIdentifierLength(int newMaximumForeignKeyIdentifierLength)
setMaximumForeignKeyIdentifierLength
in interface ConstraintDefinition
newMaximumForeignKeyIdentifierLength
- the new value of the 'Maximum Foreign Key Identifier Length' attribute.ConstraintDefinition.getMaximumForeignKeyIdentifierLength()
public int getMaximumCheckConstraintIdentifierLength()
getMaximumCheckConstraintIdentifierLength
in interface ConstraintDefinition
ConstraintDefinition.setMaximumCheckConstraintIdentifierLength(int)
,
DatabaseDefinitionPackage.getConstraintDefinition_MaximumCheckConstraintIdentifierLength()
public void setMaximumCheckConstraintIdentifierLength(int newMaximumCheckConstraintIdentifierLength)
setMaximumCheckConstraintIdentifierLength
in interface ConstraintDefinition
newMaximumCheckConstraintIdentifierLength
- 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 |