public class GPositiveInteger extends ExecutionResult<java.lang.Integer> implements TextHolder
QUIT, UNDEF, VOID| Constructor and Description |
|---|
GPositiveInteger() |
GPositiveInteger(java.lang.Integer value) |
| Modifier and Type | Method and Description |
|---|---|
GPositiveInteger |
clone() |
java.lang.String |
getText()
Returns the text.
|
ScriptType |
getType()
Returns the type of the result.
|
java.lang.Integer |
getValue()
Returns the internal value.
|
void |
setValue(java.lang.Integer value)
Sets the internal value.
|
equals, getSign, getStringRepresentation, getTypeName, isZero, toStringgetScriptConstantRepresentation, isStopExecutionpublic GPositiveInteger(java.lang.Integer value)
public GPositiveInteger()
public java.lang.Integer getValue()
ExecutionResultgetValue in class ExecutionResult<java.lang.Integer>public void setValue(java.lang.Integer value)
ExecutionResultsetValue in class ExecutionResult<java.lang.Integer>value - the new value.public ScriptType getType()
ExecutionResultgetType in class ExecutionResult<java.lang.Integer>public GPositiveInteger clone()
clone in class ExecutionResult<java.lang.Integer>public java.lang.String getText()
TextHoldergetText in interface TextHolder