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, setProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyPropertiesFrom
getProperties, getProperty, setProperty
cloneQuietly, cloneQuietly
protected java.lang.Object value
protected java.util.List<ExpressionBuilder.Value> values
public ExpressionBuilder.Custom clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in interface ExpressionBuilder.Value
clone
in class ExpressionBuilder.AbstractValue
java.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.Visitable
accept
in class ExpressionBuilder.AbstractValue
public void replace(ExpressionBuilder.Value target, ExpressionBuilder.Value replacement)
replace
in interface ExpressionBuilder.Value
replace
in class ExpressionBuilder.AbstractValue
public java.lang.Object value()
value
in interface ExpressionBuilder.Custom
public ExpressionBuilder.Custom add(ExpressionBuilder.Variable variable)
add
in interface ExpressionBuilder.Custom
public ExpressionBuilder.Custom add(ExpressionBuilder.Parameter parameter)
add
in interface ExpressionBuilder.Custom
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(Formatter<ExpressionBuilder.Value> formatter)
toString
in interface ExpressionBuilder.Value