public class Variable extends JSONBase
| Modifier and Type | Method and Description |
|---|---|
static Variable |
create(String name,
String value,
Integer variablesReference) |
boolean |
equals(Object obj) |
String |
getEvaluateName()
Optional evaluatable name of this variable which can be passed to the 'EvaluateRequest' to
fetch the variable's value.
|
Integer |
getIndexedVariables()
The number of indexed child variables.
|
String |
getMemoryReference()
Optional memory reference for the variable if the variable represents executable code, such
as a function pointer.
|
String |
getName()
The variable's name.
|
Integer |
getNamedVariables()
The number of named child variables.
|
VariablePresentationHint |
getPresentationHint()
Properties of a variable that can be used to determine how to render the variable in the UI.
|
String |
getType()
The type of the variable's value.
|
String |
getValue()
The variable's value.
|
int |
getVariablesReference()
If variablesReference is > 0, the variable is structured and its children can be retrieved by
passing variablesReference to the VariablesRequest.
|
int |
hashCode() |
Variable |
setEvaluateName(String evaluateName) |
Variable |
setIndexedVariables(Integer indexedVariables) |
Variable |
setMemoryReference(String memoryReference) |
Variable |
setName(String name) |
Variable |
setNamedVariables(Integer namedVariables) |
Variable |
setPresentationHint(VariablePresentationHint presentationHint) |
Variable |
setType(String type) |
Variable |
setValue(String value) |
Variable |
setVariablesReference(int variablesReference) |
public String getName()
public String getValue()
public String getType()
public VariablePresentationHint getPresentationHint()
public Variable setPresentationHint(VariablePresentationHint presentationHint)
public String getEvaluateName()
public int getVariablesReference()
public Variable setVariablesReference(int variablesReference)
public Integer getNamedVariables()
public Integer getIndexedVariables()
public String getMemoryReference()