Package com.comsol.model
Interface ParameterContainer
-
- All Known Subinterfaces:
CoeffFeature,ConstrFeature,MaterialModel,MultiphysicsCoupling,ParameterEntity,PhysicsFeature,PhysicsProp
public interface ParameterContainerInterface for entities containing parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String[]commands()Get commands that this feature supports.booleanhasParam(java.lang.String name)Check if the object has parameters.java.lang.String[]param()Returns an array with all the parameter names.java.lang.String[]params()Deprecated.Useparam()instead.voidrunCommand(java.lang.String command)Executes a special command that the feature supports.
-
-
-
Method Detail
-
commands
java.lang.String[] commands()
Get commands that this feature supports.- Returns:
- List of commands.
-
hasParam
boolean hasParam(java.lang.String name)
Check if the object has parameters.- Parameters:
name- The parameter name.- Returns:
trueif parameters exist.
-
param
java.lang.String[] param()
Returns an array with all the parameter names.- Returns:
- Parameter list.
-
params
@Deprecated java.lang.String[] params()
Deprecated.Useparam()instead.
-
runCommand
void runCommand(java.lang.String command)
Executes a special command that the feature supports. The list of supported commands differs among the feature types.- Parameters:
command- The name of the command.
-
-