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, setProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyPropertiesFrom, replace
accept
getProperties, getProperty, setProperty
cloneQuietly, cloneQuietly
protected java.lang.String name
protected java.lang.Object value
protected int type
public DefaultExpressionBuilder.ParameterBase 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 ExpressionBuilder.Parameter as_constant()
as_constant
in interface ExpressionBuilder.Parameter
public ExpressionBuilder.Parameter as_variable()
as_variable
in interface ExpressionBuilder.Parameter
public java.lang.String name()
name
in interface ExpressionBuilder.Parameter
public int type()
type
in interface ExpressionBuilder.Parameter
public boolean is_constant()
is_constant
in interface ExpressionBuilder.Parameter
public boolean is_variable()
is_variable
in interface ExpressionBuilder.Parameter
public ExpressionBuilder.Parameter value(java.lang.Object value)
value
in interface ExpressionBuilder.Parameter
public ExpressionBuilder.Parameter name(java.lang.String name)
name
in interface ExpressionBuilder.Parameter
public java.lang.Object value()
value
in interface ExpressionBuilder.Parameter
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