Class SQLAlterTableAddConstraint

java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLAlterTableAddConstraint
All Implemented Interfaces:
SQLObject, SQLAlterTableItem

public class SQLAlterTableAddConstraint extends SQLObjectImpl implements SQLAlterTableItem
  • Constructor Details

    • SQLAlterTableAddConstraint

      public SQLAlterTableAddConstraint()
    • SQLAlterTableAddConstraint

      public SQLAlterTableAddConstraint(SQLConstraint constraint)
  • Method Details

    • accept0

      protected void accept0(SQLASTVisitor visitor)
      Specified by:
      accept0 in class SQLObjectImpl
    • getConstraint

      public SQLConstraint getConstraint()
    • setConstraint

      public void setConstraint(SQLConstraint constraint)
    • isWithNoCheck

      public boolean isWithNoCheck()
    • setWithNoCheck

      public void setWithNoCheck(boolean withNoCheck)
    • isNoInherit

      public boolean isNoInherit()
    • setNoInherit

      public void setNoInherit(boolean noInherit)
    • isNotValid

      public boolean isNotValid()
    • setNotValid

      public void setNotValid(boolean notValid)