org.eclipse.wst.rdb.internal.models.sql.constraints
Interface CheckConstraint

All Superinterfaces:
Constraint, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, SQLObject, TableConstraint
All Known Implementing Classes:
CheckConstraintImpl

public interface CheckConstraint
extends TableConstraint

A representation of the model object 'Check Constraint'. 4.17.2 Table constraints A table constraint is either a unique constraint, a referential constraint or a table check constraint. A table constraint is described by a table constraint descriptor which is either a unique constraint descriptor, a referential constraint descriptor or a table check constraint descriptor. A check constraint is satisfied if and only if the specified is not False for any or a given row of a table depending on how it was declared. A table check constraint is described by a table check constraint descriptor. In addition to the components of every table constraint descriptor, a table check constraint descriptor includes: The .

The following features are supported:

See Also:
SQLConstraintsPackage.getCheckConstraint()

Method Summary
 SearchCondition getSearchCondition()
          Returns the value of the 'Search Condition' containment reference.
 void setSearchCondition(SearchCondition value)
          Sets the value of the 'Search Condition' containment reference.
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.constraints.TableConstraint
getBaseTable, setBaseTable
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.constraints.Constraint
isDeferrable, isEnforced, isInitiallyDeferred, setDeferrable, setEnforced, setInitiallyDeferred
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 
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

getSearchCondition

public SearchCondition getSearchCondition()
Returns the value of the 'Search Condition' containment reference. Section 4.17.2 A check constraint is satisfied if and only if the specified is not False for any row of a table.
Returns:
the value of the 'Search Condition' containment reference.
See Also:
setSearchCondition(SearchCondition), SQLConstraintsPackage.getCheckConstraint_SearchCondition()

setSearchCondition

public void setSearchCondition(SearchCondition value)
Sets the value of the 'Search Condition' containment reference.
Parameters:
value - the new value of the 'Search Condition' containment reference.
See Also:
getSearchCondition()