public class DefaultExpressionBuilder.ParameterBase extends ExpressionBuilder.AbstractValue implements ExpressionBuilder.Parameter
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
protected int |
type |
protected java.lang.Object |
value |
properties| Constructor and Description |
|---|
ParameterBase() |
| Modifier and Type | Method and Description |
|---|---|
ExpressionBuilder.Parameter |
as_constant() |
ExpressionBuilder.Parameter |
as_variable() |
DefaultExpressionBuilder.ParameterBase |
clone()
Creates a copy of the object.
|
boolean |
is_constant() |
boolean |
is_variable() |
java.lang.String |
name() |
ExpressionBuilder.Parameter |
name(java.lang.String name) |
java.lang.String |
toString() |
java.lang.String |
toString(Formatter<ExpressionBuilder.Value> formatter) |
int |
type() |
java.lang.Object |
value() |
ExpressionBuilder.Parameter |
value(java.lang.Object value) |
accept, copyPropertiesFrom, getProperties, getProperty, replace, setPropertyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyPropertiesFrom, replaceacceptgetProperties, getProperty, setPropertycloneQuietly, cloneQuietlyprotected java.lang.String name
protected java.lang.Object value
protected int type
public DefaultExpressionBuilder.ParameterBase 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 ExpressionBuilder.Parameter as_constant()
as_constant in interface ExpressionBuilder.Parameterpublic ExpressionBuilder.Parameter as_variable()
as_variable in interface ExpressionBuilder.Parameterpublic java.lang.String name()
name in interface ExpressionBuilder.Parameterpublic int type()
type in interface ExpressionBuilder.Parameterpublic boolean is_constant()
is_constant in interface ExpressionBuilder.Parameterpublic boolean is_variable()
is_variable in interface ExpressionBuilder.Parameterpublic ExpressionBuilder.Parameter value(java.lang.Object value)
value in interface ExpressionBuilder.Parameterpublic ExpressionBuilder.Parameter name(java.lang.String name)
name in interface ExpressionBuilder.Parameterpublic java.lang.Object value()
value in interface ExpressionBuilder.Parameterpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(Formatter<ExpressionBuilder.Value> formatter)
toString in interface ExpressionBuilder.Value