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
public class StateflowBlock extends SimulinkModelElement
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
engine, model, superType, type
-
-
Constructor Summary
Constructors Constructor Description StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.Double stateflowId)
FROM IDStateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.Integer stateflowId)
StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.String type)
PARENT-LESS CONSTRUCTORSStateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.String type, java.lang.Double stateflowId)
StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.String type, java.lang.Integer stateflowId)
StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.String type, StateflowBlock parent)
CONSTRUCTORS
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateflowBlock
add(StateflowBlock block)
SimulinkBlock
asSimulink()
boolean
deleteElementInModel()
boolean
equals(java.lang.Object other)
java.util.Collection<java.lang.String>
getAllTypeNamesOf()
StateflowBlockCollection
getChildren()
java.lang.Double
getHandle()
java.lang.Double
getId()
IDENTIFIERISimulinkModelElement
getParent()
java.lang.String
getPath()
java.lang.Object
getProperty(java.lang.String property)
java.lang.String
getType()
StateflowBlock
inspect()
java.lang.Boolean
isCommented()
void
setParent(StateflowBlock parent)
void
setProperty(java.lang.String property, java.lang.Object value)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
getEngine, getOwningModel, getSuperType
-
-
-
-
Constructor Detail
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.String type, StateflowBlock parent) throws MatlabException, EolRuntimeException
CONSTRUCTORS- Throws:
MatlabException
EolRuntimeException
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.String type) throws MatlabException
PARENT-LESS CONSTRUCTORS- Throws:
MatlabException
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.Double stateflowId) throws MatlabException
FROM ID- Throws:
MatlabException
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.Integer stateflowId) throws MatlabException
- Throws:
MatlabException
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.String type, java.lang.Double stateflowId) throws MatlabException
- Throws:
MatlabException
-
StateflowBlock
public StateflowBlock(SimulinkModel model, MatlabEngine engine, java.lang.String type, java.lang.Integer stateflowId) throws MatlabException
- Throws:
MatlabException
-
-
Method Detail
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceISimulinkModelElement
- Overrides:
getType
in classSimulinkModelElement
-
getProperty
public java.lang.Object getProperty(java.lang.String property) throws EolIllegalPropertyException
- Throws:
EolIllegalPropertyException
-
setProperty
public void setProperty(java.lang.String property, java.lang.Object value) throws EolIllegalPropertyException
- Throws:
EolIllegalPropertyException
-
getId
public java.lang.Double getId()
IDENTIFIER
-
getPath
public java.lang.String getPath()
-
getParent
public ISimulinkModelElement getParent() throws EolRuntimeException
- Throws:
EolRuntimeException
-
setParent
public void setParent(StateflowBlock parent) throws EolRuntimeException, MatlabException
- Throws:
EolRuntimeException
MatlabException
-
getChildren
public StateflowBlockCollection getChildren()
-
inspect
public StateflowBlock inspect()
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in interfaceISimulinkModelElement
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getAllTypeNamesOf
public java.util.Collection<java.lang.String> getAllTypeNamesOf()
-
deleteElementInModel
public boolean deleteElementInModel() throws EolRuntimeException
- Throws:
EolRuntimeException
-
add
public StateflowBlock add(StateflowBlock block) throws EolRuntimeException
- Throws:
EolRuntimeException
-
asSimulink
public SimulinkBlock asSimulink() throws EolRuntimeException
- Throws:
EolRuntimeException
-
getHandle
public java.lang.Double getHandle()
-
isCommented
public java.lang.Boolean isCommented() throws EolRuntimeException
- Throws:
EolRuntimeException
-
-