public class Symbol
extends java.lang.Object
Symbol to manage external symbols that can be directly referenced in dynamic scripts and expressions.| Constructor and Description |
|---|
Symbol(java.lang.String uid,
java.lang.String name,
java.lang.String type)
Same as:
new Symbol(uid, name, type, false, null)
Symbol(String, String, String, boolean, Object) |
Symbol(java.lang.String uid,
java.lang.String name,
java.lang.String type,
boolean readOnly,
java.lang.Object initialValue)
Create a
Symbol that can be directly referenced in a dynamic expression or script. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getInitialValue() |
java.lang.String |
getName() |
java.lang.String |
getType() |
java.lang.String |
getUid() |
java.lang.Object |
getValue() |
boolean |
isReadOnly() |
void |
setValue(java.lang.Object value) |
public Symbol(java.lang.String uid,
java.lang.String name,
java.lang.String type,
boolean readOnly,
java.lang.Object initialValue)
Symbol that can be directly referenced in a dynamic expression or script. Use with
Highjump.evaluate(Options).uid - Qualifies the name to uniquely identify this symbol. uid must strictly follow Java
identifier naming rules (alphanumeric and underscore chars). Can be the empty string if no further
qualification is necessary.name - The name of the symbol that will be directly referenced in the script or expression. name must
strictly follow Java identifier naming rules (alphanumeric and underscore chars).type - The fully qualified name of the symbol's type, such as: java.lang.String,
java.math.BigDecimal[], and java.util.List<java.lang.String>. Note the type must be
non-primitive.readOnly - If true, indicates the symbol is read-only and the initialValue is constant.initialValue - The initial value of the symbol, may be {@code null).public Symbol(java.lang.String uid,
java.lang.String name,
java.lang.String type)
new Symbol(uid, name, type, false, null)
Symbol(String, String, String, boolean, Object)public java.lang.String getUid()
public java.lang.String getName()
public java.lang.String getType()
public boolean isReadOnly()
public java.lang.Object getInitialValue()
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
Copyright © 2022. All rights reserved.