org.eclipse.datatools.modelbase.sql.constraints
Interface CheckConstraint

All Superinterfaces:
Constraint, 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.datatools.modelbase.sql.constraints.TableConstraint
getBaseTable, setBaseTable
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.constraints.Constraint
isDeferrable, isEnforced, isInitiallyDeferred, setDeferrable, setEnforced, setInitiallyDeferred
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 

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()


Copyright © 2006 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.