public static class AlterTableQuery.AddConstraintAction extends SqlObject
"... ADD <constraint_clause>.| Modifier and Type | Field and Description |
|---|---|
protected SqlObject |
_constraint |
ALL_SYMBOL, NULL_VALUE, QUESTION_MARK| Constructor and Description |
|---|
AddConstraintAction(Object constraint) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(AppendableExt app)
Appends this object to the given AppendableExt.
|
protected void |
collectSchemaObjects(ValidationContext vContext)
Used during Query.validate() calls to collect the dbschema objects
referenced in a query.
|
protected ConstraintClause |
getConstraint() |
collectSchemaObjects, doValidate, toStringtoString, toStringprotected SqlObject _constraint
public AddConstraintAction(Object constraint)
protected ConstraintClause getConstraint()
protected void collectSchemaObjects(ValidationContext vContext)
SqlObjectcollectSchemaObjects in class SqlObjectvContext - handle to the current validation contextpublic void appendTo(AppendableExt app) throws IOException
AppendeeappendTo in interface AppendeeappendTo in class AppendeeObjectapp - the AppendableExt to which this class should append itselfIOException - if the append failsCopyright © 2006–2021 OpenHMS. All rights reserved.