Class SimulinkReference
- java.lang.Object
-
- org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
-
- org.eclipse.epsilon.emc.simulink.requirement.model.element.SimulinkReference
-
- All Implemented Interfaces:
ISimulinkModelElement
,ISimulinkRequirementModelElement
,IModelElement
public class SimulinkReference extends SimulinkModelElement implements ISimulinkRequirementModelElement
-
-
Field Summary
Fields Modifier and Type Field Description protected MatlabHandleElement
referenceHandle
-
Fields inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
engine, model, superType, type
-
-
Constructor Summary
Constructors Constructor Description SimulinkReference(SimulinkRequirementModel model, MatlabEngine engine)
SimulinkReference(SimulinkRequirementModel model, MatlabEngine engine, String artifact)
SimulinkReference(SimulinkRequirementModel model, MatlabEngine engine, HandleObject id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deleteElementInModel()
Collection<String>
getAllTypeNamesOf()
MatlabHandleElement
getHandle()
Object
getProperty(String property)
String
getType()
void
setProperty(String property, Object value)
-
Methods inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
getEngine, getOwningModel, getSuperType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.epsilon.eol.models.IModelElement
getOwningModel
-
Methods inherited from interface org.eclipse.epsilon.emc.simulink.model.element.ISimulinkModelElement
equals, getEngine
-
-
-
-
Field Detail
-
referenceHandle
protected MatlabHandleElement referenceHandle
-
-
Constructor Detail
-
SimulinkReference
public SimulinkReference(SimulinkRequirementModel model, MatlabEngine engine)
-
SimulinkReference
public SimulinkReference(SimulinkRequirementModel model, MatlabEngine engine, String artifact)
-
SimulinkReference
public SimulinkReference(SimulinkRequirementModel model, MatlabEngine engine, HandleObject id)
-
-
Method Detail
-
getProperty
public Object getProperty(String property) throws EolRuntimeException
- Specified by:
getProperty
in interfaceISimulinkModelElement
- Throws:
EolRuntimeException
-
setProperty
public void setProperty(String property, Object value) throws EolRuntimeException
- Specified by:
setProperty
in interfaceISimulinkModelElement
- Throws:
EolRuntimeException
-
getAllTypeNamesOf
public Collection<String> getAllTypeNamesOf()
- Specified by:
getAllTypeNamesOf
in interfaceISimulinkModelElement
-
deleteElementInModel
public boolean deleteElementInModel() throws EolRuntimeException
- Specified by:
deleteElementInModel
in interfaceISimulinkModelElement
- Throws:
EolRuntimeException
-
getHandle
public MatlabHandleElement getHandle()
- Specified by:
getHandle
in interfaceISimulinkModelElement
-
getType
public String getType()
- Specified by:
getType
in interfaceISimulinkModelElement
- Overrides:
getType
in classSimulinkModelElement
-
-