package com.chenyang.druid.sql.ast.statement;

import com.chenyang.druid.sql.ast.SQLReplaceable;
import com.chenyang.druid.sql.visitor.SQLASTVisitor;

public class SQLColumnUniqueKey extends SQLConstraintImpl implements SQLColumnConstraint, SQLReplaceable {
   protected void accept0(SQLASTVisitor visitor) {
      if (visitor.visit(this)) {
         this.acceptChild(visitor, this.getName());
      }

      visitor.endVisit(this);
   }

   public SQLColumnUniqueKey clone() {
      SQLColumnUniqueKey x = new SQLColumnUniqueKey();
      super.cloneTo((SQLConstraintImpl)x);
      return x;
   }
}
