package net.sf.jsqlparser.expression.operators.arithmetic;
import net.sf.jsqlparser.expression.BinaryExpression;
import net.sf.jsqlparser.expression.ExpressionVisitor;
public class Concat extends BinaryExpression {
private String comment;
@Override
public void accept(ExpressionVisitor expressionVisitor) {
expressionVisitor.visit(this);
}
@Override
public String getStringExpression() {
return (getComment() != null ? getComment() + " " : "") + "||";
}
/**
* @return the comment
*/
public String getComment() {
return comment;
}
/**
* @param comment the comment to set
*/
public void setComment(String comment) {
this.comment = comment;
}
}