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, toString
getScriptConstantRepresentation, isStopExecution
public GPositiveInteger(java.lang.Integer value)
public GPositiveInteger()
public java.lang.Integer getValue()
ExecutionResult
getValue
in class ExecutionResult<java.lang.Integer>
public void setValue(java.lang.Integer value)
ExecutionResult
setValue
in class ExecutionResult<java.lang.Integer>
value
- the new value.public ScriptType getType()
ExecutionResult
getType
in class ExecutionResult<java.lang.Integer>
public GPositiveInteger clone()
clone
in class ExecutionResult<java.lang.Integer>
public java.lang.String getText()
TextHolder
getText
in interface TextHolder