org.eclipse.wst.rdb.internal.models.dbdefinition
Interface ConstraintDefinition

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
ConstraintDefinitionImpl

public interface ConstraintDefinition
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Constraint Definition'.

The following features are supported:

See Also:
DatabaseDefinitionPackage.getConstraintDefinition()

Method Summary
 org.eclipse.emf.common.util.EList getCheckOption()
          Returns the value of the 'Check Option' attribute list.
 int getMaximumCheckExpressionLength()
          Returns the value of the 'Maximum Check Expression Length' attribute.
 org.eclipse.emf.common.util.EList getParentDeleteDRIRuleType()
          Returns the value of the 'Parent Delete DRI Rule Type' attribute list.
 org.eclipse.emf.common.util.EList getParentUpdateDRIRuleType()
          Returns the value of the 'Parent Update DRI Rule Type' attribute list.
 boolean isClusteredPrimaryKeySupported()
          Returns the value of the 'Clustered Primary Key Supported' attribute.
 boolean isClusteredUniqueConstraintSupported()
          Returns the value of the 'Clustered Unique Constraint Supported' attribute.
 boolean isDeferrableConstraintSupported()
          Returns the value of the 'Deferrable Constraint Supported' attribute.
 boolean isInformationalConstraintSupported()
          Returns the value of the 'Informational Constraint Supported' attribute.
 boolean isPrimaryKeyNullable()
          Returns the value of the 'Primary Key Nullable' attribute.
 boolean isUniqueKeyNullable()
          Returns the value of the 'Unique Key Nullable' attribute.
 void setClusteredPrimaryKeySupported(boolean value)
          Sets the value of the 'Clustered Primary Key Supported' attribute.
 void setClusteredUniqueConstraintSupported(boolean value)
          Sets the value of the 'Clustered Unique Constraint Supported' attribute.
 void setDeferrableConstraintSupported(boolean value)
          Sets the value of the 'Deferrable Constraint Supported' attribute.
 void setInformationalConstraintSupported(boolean value)
          Sets the value of the 'Informational Constraint Supported' attribute.
 void setMaximumCheckExpressionLength(int value)
          Sets the value of the 'Maximum Check Expression Length' attribute.
 void setPrimaryKeyNullable(boolean value)
          Sets the value of the 'Primary Key Nullable' attribute.
 void setUniqueKeyNullable(boolean value)
          Sets the value of the 'Unique Key Nullable' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isDeferrableConstraintSupported

public boolean isDeferrableConstraintSupported()
Returns the value of the 'Deferrable Constraint Supported' attribute.

If the meaning of the 'Deferrable Constraint Supported' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Deferrable Constraint Supported' attribute.
See Also:
setDeferrableConstraintSupported(boolean), DatabaseDefinitionPackage.getConstraintDefinition_DeferrableConstraintSupported()

setDeferrableConstraintSupported

public void setDeferrableConstraintSupported(boolean value)
Sets the value of the 'Deferrable Constraint Supported' attribute.
Parameters:
value - the new value of the 'Deferrable Constraint Supported' attribute.
See Also:
isDeferrableConstraintSupported()

isInformationalConstraintSupported

public boolean isInformationalConstraintSupported()
Returns the value of the 'Informational Constraint Supported' attribute.

If the meaning of the 'Informational Constraint Supported' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Informational Constraint Supported' attribute.
See Also:
setInformationalConstraintSupported(boolean), DatabaseDefinitionPackage.getConstraintDefinition_InformationalConstraintSupported()

setInformationalConstraintSupported

public void setInformationalConstraintSupported(boolean value)
Sets the value of the 'Informational Constraint Supported' attribute.
Parameters:
value - the new value of the 'Informational Constraint Supported' attribute.
See Also:
isInformationalConstraintSupported()

isClusteredPrimaryKeySupported

public boolean isClusteredPrimaryKeySupported()
Returns the value of the 'Clustered Primary Key Supported' attribute.

If the meaning of the 'Clustered Primary Key Supported' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Clustered Primary Key Supported' attribute.
See Also:
setClusteredPrimaryKeySupported(boolean), DatabaseDefinitionPackage.getConstraintDefinition_ClusteredPrimaryKeySupported()

setClusteredPrimaryKeySupported

public void setClusteredPrimaryKeySupported(boolean value)
Sets the value of the 'Clustered Primary Key Supported' attribute.
Parameters:
value - the new value of the 'Clustered Primary Key Supported' attribute.
See Also:
isClusteredPrimaryKeySupported()

isClusteredUniqueConstraintSupported

public boolean isClusteredUniqueConstraintSupported()
Returns the value of the 'Clustered Unique Constraint Supported' attribute.

If the meaning of the 'Clustered Unique Constraint Supported' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Clustered Unique Constraint Supported' attribute.
See Also:
setClusteredUniqueConstraintSupported(boolean), DatabaseDefinitionPackage.getConstraintDefinition_ClusteredUniqueConstraintSupported()

setClusteredUniqueConstraintSupported

public void setClusteredUniqueConstraintSupported(boolean value)
Sets the value of the 'Clustered Unique Constraint Supported' attribute.
Parameters:
value - the new value of the 'Clustered Unique Constraint Supported' attribute.
See Also:
isClusteredUniqueConstraintSupported()

isPrimaryKeyNullable

public boolean isPrimaryKeyNullable()
Returns the value of the 'Primary Key Nullable' attribute.

If the meaning of the 'Primary Key Nullable' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Primary Key Nullable' attribute.
See Also:
setPrimaryKeyNullable(boolean), DatabaseDefinitionPackage.getConstraintDefinition_PrimaryKeyNullable()

setPrimaryKeyNullable

public void setPrimaryKeyNullable(boolean value)
Sets the value of the 'Primary Key Nullable' attribute.
Parameters:
value - the new value of the 'Primary Key Nullable' attribute.
See Also:
isPrimaryKeyNullable()

isUniqueKeyNullable

public boolean isUniqueKeyNullable()
Returns the value of the 'Unique Key Nullable' attribute.

If the meaning of the 'Unique Key Nullable' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Unique Key Nullable' attribute.
See Also:
setUniqueKeyNullable(boolean), DatabaseDefinitionPackage.getConstraintDefinition_UniqueKeyNullable()

setUniqueKeyNullable

public void setUniqueKeyNullable(boolean value)
Sets the value of the 'Unique Key Nullable' attribute.
Parameters:
value - the new value of the 'Unique Key Nullable' attribute.
See Also:
isUniqueKeyNullable()

getMaximumCheckExpressionLength

public int getMaximumCheckExpressionLength()
Returns the value of the 'Maximum Check Expression Length' attribute.

If the meaning of the 'Maximum Check Expression Length' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Maximum Check Expression Length' attribute.
See Also:
setMaximumCheckExpressionLength(int), DatabaseDefinitionPackage.getConstraintDefinition_MaximumCheckExpressionLength()

setMaximumCheckExpressionLength

public void setMaximumCheckExpressionLength(int value)
Sets the value of the 'Maximum Check Expression Length' attribute.
Parameters:
value - the new value of the 'Maximum Check Expression Length' attribute.
See Also:
getMaximumCheckExpressionLength()

getParentUpdateDRIRuleType

public org.eclipse.emf.common.util.EList getParentUpdateDRIRuleType()
Returns the value of the 'Parent Update DRI Rule Type' attribute list. The list contents are of type ParentUpdateDRIRuleType. The literals are from the enumeration ParentUpdateDRIRuleType.

If the meaning of the 'Parent Update DRI Rule Type' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Parent Update DRI Rule Type' attribute list.
See Also:
ParentUpdateDRIRuleType, DatabaseDefinitionPackage.getConstraintDefinition_ParentUpdateDRIRuleType()

getParentDeleteDRIRuleType

public org.eclipse.emf.common.util.EList getParentDeleteDRIRuleType()
Returns the value of the 'Parent Delete DRI Rule Type' attribute list. The list contents are of type ParentDeleteDRIRuleType. The literals are from the enumeration ParentDeleteDRIRuleType.

If the meaning of the 'Parent Delete DRI Rule Type' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Parent Delete DRI Rule Type' attribute list.
See Also:
ParentDeleteDRIRuleType, DatabaseDefinitionPackage.getConstraintDefinition_ParentDeleteDRIRuleType()

getCheckOption

public org.eclipse.emf.common.util.EList getCheckOption()
Returns the value of the 'Check Option' attribute list. The list contents are of type CheckOption. The literals are from the enumeration CheckOption.

If the meaning of the 'Check Option' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Check Option' attribute list.
See Also:
CheckOption, DatabaseDefinitionPackage.getConstraintDefinition_CheckOption()