Package com.exedio.dsmf
Class CheckConstraint
- java.lang.Object
-
- com.exedio.dsmf.Node
-
- com.exedio.dsmf.Constraint
-
- com.exedio.dsmf.CheckConstraint
-
public final class CheckConstraint extends Constraint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.exedio.dsmf.Constraint
Constraint.Type
-
Nested classes/interfaces inherited from class com.exedio.dsmf.Node
Node.Color
-
-
Constructor Summary
Constructors Constructor Description CheckConstraint(Column column, String name, String condition)
Deprecated.UseColumn.newCheck(String,String)
insteadCheckConstraint(Table table, String name, String condition)
Deprecated.UseTable.newCheck(String,String)
instead
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
checkL()
boolean
isSupported()
-
Methods inherited from class com.exedio.dsmf.Constraint
check, create, create, drop, drop, getColumn, getName, getRequiredCondition, getTable, getType, toString
-
Methods inherited from class com.exedio.dsmf.Node
exists, getCumulativeColor, getError, getParticularColor, required
-
-
-
-
Constructor Detail
-
CheckConstraint
@Deprecated public CheckConstraint(Column column, String name, String condition)
Deprecated.UseColumn.newCheck(String,String)
instead
-
CheckConstraint
@Deprecated public CheckConstraint(Table table, String name, String condition)
Deprecated.UseTable.newCheck(String,String)
instead
-
-
Method Detail
-
isSupported
public boolean isSupported()
- Overrides:
isSupported
in classConstraint
-
checkL
public long checkL()
- Overrides:
checkL
in classConstraint
-
-