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