public interface ExpressionBase extends ModelEntity
Modifier and Type | Method and Description |
---|---|
ExpressionBase |
clear()
Removes all variables.
|
java.lang.String |
descr(java.lang.String var)
Returns a variable expression.
|
ExpressionBase |
descr(java.lang.String var,
java.lang.String descr)
Returns a variable expression.
|
java.lang.String |
get(java.lang.String var)
Returns a variable expression.
|
ExpressionBase |
remove(java.lang.String var)
Removes a variable.
|
ExpressionBase |
remove(java.lang.String[] vars)
Removes variables.
|
ExpressionBase |
rename(java.lang.String oldName,
java.lang.String newName)
Renames a variable without changing the expression or description.
|
ExpressionBase |
set(java.lang.String var,
double expr)
Sets a variable name and expression.
|
ExpressionBase |
set(java.lang.String var,
double expr,
java.lang.String descr)
Sets a variable name and expression.
|
ExpressionBase |
set(java.lang.String var,
java.lang.String expr)
Sets a variable name and expression.
|
ExpressionBase |
set(java.lang.String var,
java.lang.String expr,
java.lang.String descr)
Sets a variable name and expression.
|
java.lang.String[] |
varnames()
Returns all variable names.
|
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
getContainer, getDisplayString
ExpressionBase clear()
java.lang.String descr(java.lang.String var)
var
- Variable name.ExpressionBase descr(java.lang.String var, java.lang.String descr)
var
- Variable name.descr
- Variable description.java.lang.String get(java.lang.String var)
var
- Variable name.ExpressionBase remove(java.lang.String var)
var
- Variable name.ExpressionBase remove(java.lang.String[] vars)
vars
- Variable names.ExpressionBase rename(java.lang.String oldName, java.lang.String newName)
oldName
- Old variable name.newName
- New variable name.ExpressionBase set(java.lang.String var, java.lang.String expr)
var
- Variable name.expr
- Variable expression.ExpressionBase set(java.lang.String var, double expr)
var
- Variable name.expr
- Variable expression.ExpressionBase set(java.lang.String var, java.lang.String expr, java.lang.String descr)
var
- Variable name.expr
- Variable expression.descr
- Variable description.ExpressionBase set(java.lang.String var, double expr, java.lang.String descr)
var
- Variable name.expr
- Variable expression.descr
- Variable description.java.lang.String[] varnames()