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

import com.alibaba.druid.sql.ast.SQLReplaceable;
import com.alibaba.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;
   }
}
