java.lang.Object
org.seasar.doma.internal.jdbc.sql.node.AbstractSqlNode
org.seasar.doma.internal.jdbc.sql.node.CommentNode
All Implemented Interfaces:
AppendableSqlNode, SqlNode

public class CommentNode extends AbstractSqlNode
  • Field Details

    • comment

      protected final String comment
    • commentType

      protected final CommentType commentType
  • Constructor Details

  • Method Details

    • getComment

      public String getComment()
    • getCommentType

      public CommentType getCommentType()
    • appendNode

      public void appendNode(SqlNode child)
      Specified by:
      appendNode in interface AppendableSqlNode
      Overrides:
      appendNode in class AbstractSqlNode
    • accept

      public <R, P> R accept(SqlNodeVisitor<R,P> visitor, P p)
      Description copied from interface: SqlNode
      Accepts the visitor.
      Type Parameters:
      R - the result type
      P - the parameter type
      Parameters:
      visitor - the visitor
      p - the parameter for the visitor
      Returns:
      the result