public class GObject extends ExecutionResult<java.lang.Object> implements TextHolder
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
value |
QUIT, UNDEF, VOID
Constructor and Description |
---|
GObject() |
GObject(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
GObject |
clone() |
java.lang.String |
getText()
Returns the text.
|
ScriptType |
getType()
Returns the type of the result.
|
java.lang.String |
getTypeName()
Returns the name of the type.
|
java.lang.Object |
getValue()
Returns the internal value.
|
void |
setValue(java.lang.Object value)
Sets the internal value.
|
java.lang.String |
toString() |
equals, getSign, getStringRepresentation, isZero, valueToString
getScriptConstantRepresentation, isStopExecution
public ScriptType getType()
ExecutionResult
getType
in class ExecutionResult<java.lang.Object>
public java.lang.String getTypeName()
ExecutionResult
getTypeName
in class ExecutionResult<java.lang.Object>
public java.lang.Object getValue()
ExecutionResult
getValue
in class ExecutionResult<java.lang.Object>
public void setValue(java.lang.Object value)
ExecutionResult
setValue
in class ExecutionResult<java.lang.Object>
value
- the new value.public java.lang.String toString()
toString
in class ExecutionResult<java.lang.Object>
public GObject clone()
clone
in class ExecutionResult<java.lang.Object>
public java.lang.String getText()
TextHolder
getText
in interface TextHolder