public class DefaultExpressionBuilder.ConstantBase extends ExpressionBuilder.AbstractValue implements ExpressionBuilder.Constant
Modifier and Type | Field and Description |
---|---|
protected ExpressionBuilder |
builder |
protected java.lang.Object |
value |
properties
Constructor and Description |
---|
ConstantBase(ExpressionBuilder builder,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
ExpressionBuilder |
builder() |
ExpressionBuilder.Constant |
clone()
Creates a copy of the object.
|
java.lang.String |
toString() |
java.lang.String |
toString(Formatter<ExpressionBuilder.Value> formatter) |
java.lang.Object |
value() |
accept, copyPropertiesFrom, getProperties, getProperty, replace, setProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyPropertiesFrom, replace
accept
getProperties, getProperty, setProperty
cloneQuietly, cloneQuietly
protected java.lang.Object value
protected ExpressionBuilder builder
public ConstantBase(ExpressionBuilder builder, java.lang.Object value)
public ExpressionBuilder.Constant 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 java.lang.Object value()
value
in interface ExpressionBuilder.Constant
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
public ExpressionBuilder builder()