org.eclipse.wst.rdb.internal.models.dbdefinition.impl
Class ConstraintDefinitionImpl

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.BasicNotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.BasicEObjectImpl
              |
              +--org.eclipse.emf.ecore.impl.EObjectImpl
                    |
                    +--org.eclipse.wst.rdb.internal.models.dbdefinition.impl.ConstraintDefinitionImpl
All Implemented Interfaces:
ConstraintDefinition, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier

public class ConstraintDefinitionImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements ConstraintDefinition

An implementation of the model object 'Constraint Definition'.

The following features are implemented:


Inner classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Inner classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
          
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
          
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
          
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
          
 org.eclipse.emf.common.util.EList getCheckOption()
          
 int getMaximumCheckExpressionLength()
          
 org.eclipse.emf.common.util.EList getParentDeleteDRIRuleType()
          
 org.eclipse.emf.common.util.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 org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eInverseAdd, eInverseRemove, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

isDeferrableConstraintSupported

public boolean isDeferrableConstraintSupported()
Specified by:
isDeferrableConstraintSupported in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Returns:
the value of the 'Deferrable Constraint Supported' attribute.
See Also:
ConstraintDefinition.setDeferrableConstraintSupported(boolean), DatabaseDefinitionPackage.getConstraintDefinition_DeferrableConstraintSupported()

setDeferrableConstraintSupported

public void setDeferrableConstraintSupported(boolean newDeferrableConstraintSupported)
Specified by:
setDeferrableConstraintSupported in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Parameters:
value - the new value of the 'Deferrable Constraint Supported' attribute.
See Also:
ConstraintDefinition.isDeferrableConstraintSupported()

isInformationalConstraintSupported

public boolean isInformationalConstraintSupported()
Specified by:
isInformationalConstraintSupported in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Returns:
the value of the 'Informational Constraint Supported' attribute.
See Also:
ConstraintDefinition.setInformationalConstraintSupported(boolean), DatabaseDefinitionPackage.getConstraintDefinition_InformationalConstraintSupported()

setInformationalConstraintSupported

public void setInformationalConstraintSupported(boolean newInformationalConstraintSupported)
Specified by:
setInformationalConstraintSupported in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Parameters:
value - the new value of the 'Informational Constraint Supported' attribute.
See Also:
ConstraintDefinition.isInformationalConstraintSupported()

isClusteredPrimaryKeySupported

public boolean isClusteredPrimaryKeySupported()
Specified by:
isClusteredPrimaryKeySupported in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Returns:
the value of the 'Clustered Primary Key Supported' attribute.
See Also:
ConstraintDefinition.setClusteredPrimaryKeySupported(boolean), DatabaseDefinitionPackage.getConstraintDefinition_ClusteredPrimaryKeySupported()

setClusteredPrimaryKeySupported

public void setClusteredPrimaryKeySupported(boolean newClusteredPrimaryKeySupported)
Specified by:
setClusteredPrimaryKeySupported in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Parameters:
value - the new value of the 'Clustered Primary Key Supported' attribute.
See Also:
ConstraintDefinition.isClusteredPrimaryKeySupported()

isClusteredUniqueConstraintSupported

public boolean isClusteredUniqueConstraintSupported()
Specified by:
isClusteredUniqueConstraintSupported in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Returns:
the value of the 'Clustered Unique Constraint Supported' attribute.
See Also:
ConstraintDefinition.setClusteredUniqueConstraintSupported(boolean), DatabaseDefinitionPackage.getConstraintDefinition_ClusteredUniqueConstraintSupported()

setClusteredUniqueConstraintSupported

public void setClusteredUniqueConstraintSupported(boolean newClusteredUniqueConstraintSupported)
Specified by:
setClusteredUniqueConstraintSupported in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Parameters:
value - the new value of the 'Clustered Unique Constraint Supported' attribute.
See Also:
ConstraintDefinition.isClusteredUniqueConstraintSupported()

isPrimaryKeyNullable

public boolean isPrimaryKeyNullable()
Specified by:
isPrimaryKeyNullable in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Returns:
the value of the 'Primary Key Nullable' attribute.
See Also:
ConstraintDefinition.setPrimaryKeyNullable(boolean), DatabaseDefinitionPackage.getConstraintDefinition_PrimaryKeyNullable()

setPrimaryKeyNullable

public void setPrimaryKeyNullable(boolean newPrimaryKeyNullable)
Specified by:
setPrimaryKeyNullable in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Parameters:
value - the new value of the 'Primary Key Nullable' attribute.
See Also:
ConstraintDefinition.isPrimaryKeyNullable()

isUniqueKeyNullable

public boolean isUniqueKeyNullable()
Specified by:
isUniqueKeyNullable in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Returns:
the value of the 'Unique Key Nullable' attribute.
See Also:
ConstraintDefinition.setUniqueKeyNullable(boolean), DatabaseDefinitionPackage.getConstraintDefinition_UniqueKeyNullable()

setUniqueKeyNullable

public void setUniqueKeyNullable(boolean newUniqueKeyNullable)
Specified by:
setUniqueKeyNullable in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Parameters:
value - the new value of the 'Unique Key Nullable' attribute.
See Also:
ConstraintDefinition.isUniqueKeyNullable()

getMaximumCheckExpressionLength

public int getMaximumCheckExpressionLength()
Specified by:
getMaximumCheckExpressionLength in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Returns:
the value of the 'Maximum Check Expression Length' attribute.
See Also:
ConstraintDefinition.setMaximumCheckExpressionLength(int), DatabaseDefinitionPackage.getConstraintDefinition_MaximumCheckExpressionLength()

setMaximumCheckExpressionLength

public void setMaximumCheckExpressionLength(int newMaximumCheckExpressionLength)
Specified by:
setMaximumCheckExpressionLength in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Parameters:
value - the new value of the 'Maximum Check Expression Length' attribute.
See Also:
ConstraintDefinition.getMaximumCheckExpressionLength()

getParentUpdateDRIRuleType

public org.eclipse.emf.common.util.EList getParentUpdateDRIRuleType()
Specified by:
getParentUpdateDRIRuleType in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
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()
Specified by:
getParentDeleteDRIRuleType in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
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()
Specified by:
getCheckOption in interface ConstraintDefinition
Following copied from interface: org.eclipse.wst.rdb.internal.models.dbdefinition.ConstraintDefinition
Returns:
the value of the 'Check Option' attribute list.
See Also:
CheckOption, DatabaseDefinitionPackage.getConstraintDefinition_CheckOption()

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)
Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)
Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()
Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl