public class DefaultExpressionBuilder.CustomBase extends ExpressionBuilder.AbstractValue implements ExpressionBuilder.Custom
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
value |
protected java.util.List<ExpressionBuilder.Value> |
values |
properties| Constructor and Description |
|---|
CustomBase(java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExpressionBuilder.Visitor visitor,
ExpressionBuilder.VisitorFilter filter) |
ExpressionBuilder.Custom |
add(ExpressionBuilder.Parameter parameter) |
ExpressionBuilder.Custom |
add(ExpressionBuilder.Variable variable) |
ExpressionBuilder.Custom |
clone()
Creates a copy of the object.
|
void |
replace(ExpressionBuilder.Value target,
ExpressionBuilder.Value replacement) |
java.lang.String |
toString() |
java.lang.String |
toString(Formatter<ExpressionBuilder.Value> formatter) |
java.lang.Object |
value() |
copyPropertiesFrom, getProperties, getProperty, setPropertyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyPropertiesFromgetProperties, getProperty, setPropertycloneQuietly, cloneQuietlyprotected java.lang.Object value
protected java.util.List<ExpressionBuilder.Value> values
public ExpressionBuilder.Custom clone() throws java.lang.CloneNotSupportedException
Cloneableclone in interface ExpressionBuilder.Valueclone in class ExpressionBuilder.AbstractValuejava.lang.CloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.public void accept(ExpressionBuilder.Visitor visitor, ExpressionBuilder.VisitorFilter filter)
accept in interface ExpressionBuilder.Visitableaccept in class ExpressionBuilder.AbstractValuepublic void replace(ExpressionBuilder.Value target, ExpressionBuilder.Value replacement)
replace in interface ExpressionBuilder.Valuereplace in class ExpressionBuilder.AbstractValuepublic java.lang.Object value()
value in interface ExpressionBuilder.Custompublic ExpressionBuilder.Custom add(ExpressionBuilder.Variable variable)
add in interface ExpressionBuilder.Custompublic ExpressionBuilder.Custom add(ExpressionBuilder.Parameter parameter)
add in interface ExpressionBuilder.Custompublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(Formatter<ExpressionBuilder.Value> formatter)
toString in interface ExpressionBuilder.Value