Class StateflowBlock
java.lang.Object
org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
org.eclipse.epsilon.emc.simulink.model.element.StateflowBlock
- All Implemented Interfaces:
ISimulinkModelElement
,IModelElement
-
Field Summary
Fields inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
engine, model, superType, type
-
Constructor Summary
ConstructorsConstructorDescriptionStateflowBlock
(SimulinkModel model, MatlabEngine engine, Double stateflowId) FROM IDStateflowBlock
(SimulinkModel model, MatlabEngine engine, Integer stateflowId) StateflowBlock
(SimulinkModel model, MatlabEngine engine, String type) PARENT-LESS CONSTRUCTORSStateflowBlock
(SimulinkModel model, MatlabEngine engine, String type, Double stateflowId) StateflowBlock
(SimulinkModel model, MatlabEngine engine, String type, Integer stateflowId) StateflowBlock
(SimulinkModel model, MatlabEngine engine, String type, StateflowBlock parent) CONSTRUCTORS -
Method Summary
Modifier and TypeMethodDescriptionadd
(StateflowBlock block) boolean
boolean
getId()
IDENTIFIERgetPath()
getProperty
(String property) getType()
inspect()
void
setParent
(StateflowBlock parent) void
setProperty
(String property, Object value) toString()
Methods inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
getEngine, getOwningModel, getSuperType
-
Constructor Details
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, String type, StateflowBlock parent) throws MatlabException, EolRuntimeException CONSTRUCTORS- Throws:
MatlabException
EolRuntimeException
-
StateflowBlock
PARENT-LESS CONSTRUCTORS- Throws:
MatlabException
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, Double stateflowId) throws MatlabException FROM ID- Throws:
MatlabException
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, Integer stateflowId) throws MatlabException - Throws:
MatlabException
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, String type, Double stateflowId) throws MatlabException - Throws:
MatlabException
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, String type, Integer stateflowId) throws MatlabException - Throws:
MatlabException
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceISimulinkModelElement
- Overrides:
getType
in classSimulinkModelElement
-
getProperty
- Throws:
EolIllegalPropertyException
-
setProperty
- Throws:
EolIllegalPropertyException
-
getId
IDENTIFIER -
getPath
-
getParent
- Throws:
EolRuntimeException
-
setParent
- Throws:
EolRuntimeException
MatlabException
-
getChildren
-
inspect
-
equals
- Specified by:
equals
in interfaceISimulinkModelElement
- Overrides:
equals
in classObject
-
toString
-
getAllTypeNamesOf
-
deleteElementInModel
- Throws:
EolRuntimeException
-
add
- Throws:
EolRuntimeException
-
asSimulink
- Throws:
EolRuntimeException
-
getHandle
-
isCommented
- Throws:
EolRuntimeException
-