Class JsVariableDefinition
java.lang.Object
io.deephaven.web.client.api.console.JsVariableDefinition
@TsInterface
@TsName(namespace="dh.ide",
name="VariableDefinition")
public class JsVariableDefinition
extends Object
A format to describe a variable available to be read from the server. Application fields are optional, and only
populated when a variable is provided by application mode.
APIs which take a VariableDefinition must at least be provided an object with a type and id field.
-
Constructor Summary
ConstructorsConstructorDescriptionJsVariableDefinition
(FieldInfo field) JsVariableDefinition
(String type, String title, String id, String description) -
Method Summary
Modifier and TypeMethodDescriptionOptional description for the variable's contents, typically used to provide more detail that wouldn't be reasonable to put in the titleThe name of the application which provided this variableOptional description for the variable's contents, typically used to provide more detail that wouldn't be reasonable to put in the titlegetId()
An opaque identifier for this variablegetName()
Deprecated.getTitle()
The name of the variable, to be used when rendering it to a user@TsTypeRef(JsVariableType.class) String
getType()
The type of the variable, one of dh.VariableType
-
Constructor Details
-
JsVariableDefinition
-
JsVariableDefinition
-
-
Method Details
-
getType
@JsProperty @TsTypeRef(JsVariableType.class) public @TsTypeRef(JsVariableType.class) String getType()The type of the variable, one of dh.VariableType- Returns:
- dh.VariableType.
-
getName
Deprecated. -
getTitle
The name of the variable, to be used when rendering it to a user- Returns:
- String
-
getId
An opaque identifier for this variable- Returns:
- String
-
getDescription
Optional description for the variable's contents, typically used to provide more detail that wouldn't be reasonable to put in the title- Returns:
- String
-
getApplicationId
Optional description for the variable's contents, typically used to provide more detail that wouldn't be reasonable to put in the title- Returns:
- String
-
getApplicationName
The name of the application which provided this variable- Returns:
- String
-