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

public class IfNode extends AbstractSqlNode implements SpaceStrippingNode
  • Field Details

    • location

      protected final SqlLocation location
    • expression

      protected final String expression
    • text

      protected final String text
  • Constructor Details

  • Method Details

    • getLocation

      public SqlLocation getLocation()
    • getExpression

      public String getExpression()
    • getText

      public String getText()
    • clearChildren

      public void clearChildren()
      Specified by:
      clearChildren in interface SpaceStrippingNode
    • accept

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