Package com.comsol.model
Interface ExpressionEntity
-
- All Superinterfaces:
ExpressionBase
,ModelEntity
,PrimitiveModelEntity
,SelectionContainer
,SelectionEntity
,StudyContainer
- All Known Subinterfaces:
ElementSet
,Expr
,Init
public interface ExpressionEntity extends SelectionEntity, StudyContainer, ExpressionBase
Expression entity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionEntity
descr(java.lang.String var, java.lang.String descr)
Sets a variable description.ExpressionEntity
remove(java.lang.String var)
Removes a variable.ExpressionEntity
remove(java.lang.String[] vars)
Removes variables.ExpressionEntity
set(java.lang.String var, java.lang.String expr)
Sets a variable name and expression.ExpressionEntity
set(java.lang.String var, java.lang.String expr, java.lang.String descr)
Sets a variable name, expression, and description.-
Methods inherited from interface com.comsol.model.ExpressionBase
clear, descr, get, rename, set, set, varnames
-
Methods inherited from interface com.comsol.model.ModelEntity
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
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
Methods inherited from interface com.comsol.model.SelectionEntity
selection
-
-
-
-
Method Detail
-
descr
ExpressionEntity descr(java.lang.String var, java.lang.String descr)
Sets a variable description.- Specified by:
descr
in interfaceExpressionBase
- Parameters:
var
- Variable name.descr
- Variable description.- Returns:
- Expression entity.
-
remove
ExpressionEntity remove(java.lang.String var)
Removes a variable.- Specified by:
remove
in interfaceExpressionBase
- Parameters:
var
- Variable name.- Returns:
- Expression entity.
-
remove
ExpressionEntity remove(java.lang.String[] vars)
Removes variables.- Specified by:
remove
in interfaceExpressionBase
- Parameters:
vars
- Variable names.- Returns:
- Expression entity.
-
set
ExpressionEntity set(java.lang.String var, java.lang.String expr)
Sets a variable name and expression.- Specified by:
set
in interfaceExpressionBase
- Parameters:
var
- Variable name.expr
- Variable expression.- Returns:
- Expression entity.
-
set
ExpressionEntity set(java.lang.String var, java.lang.String expr, java.lang.String descr)
Sets a variable name, expression, and description.- Specified by:
set
in interfaceExpressionBase
- Parameters:
var
- Variable name.expr
- Variable expression.descr
- Variable description.- Returns:
- Expression entity.
-
-