Class SimulinkEntry
- java.lang.Object
-
- org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
-
- org.eclipse.epsilon.emc.simulink.dictionary.model.element.SimulinkEntry
-
- All Implemented Interfaces:
ISimulinkDictionaryModelElement
,ISimulinkModelElement
,IModelElement
public class SimulinkEntry extends SimulinkModelElement implements ISimulinkDictionaryModelElement
-
-
Field Summary
Fields Modifier and Type Field Description protected MatlabHandleElement
entry
protected String
entryType
protected Map<String,Object>
properties
protected SimulinkSection
section
-
Fields inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
engine, model, superType, type
-
-
Constructor Summary
Constructors Constructor Description SimulinkEntry(SimulinkDictionaryModel model, MatlabEngine engine, SectionEnum sectionType)
SimulinkEntry(SimulinkDictionaryModel model, MatlabEngine engine, SimulinkSection section)
SimulinkEntry(SimulinkDictionaryModel model, MatlabEngine engine, HandleObject entryHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deleteElementInModel()
Collection<String>
getAllTypeNamesOf()
String
getEntryType()
Object
getHandle()
Object
getProperty(String property)
SimulinkSection
getSection()
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
-
entry
protected MatlabHandleElement entry
-
section
protected SimulinkSection section
-
entryType
protected String entryType
-
-
Constructor Detail
-
SimulinkEntry
public SimulinkEntry(SimulinkDictionaryModel model, MatlabEngine engine, SectionEnum sectionType)
-
SimulinkEntry
public SimulinkEntry(SimulinkDictionaryModel model, MatlabEngine engine, SimulinkSection section)
-
SimulinkEntry
public SimulinkEntry(SimulinkDictionaryModel model, MatlabEngine engine, HandleObject entryHandle)
-
-
Method Detail
-
getSection
public SimulinkSection getSection()
-
getEntryType
public String getEntryType()
-
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
-
deleteElementInModel
public boolean deleteElementInModel() throws EolRuntimeException
- Specified by:
deleteElementInModel
in interfaceISimulinkModelElement
- Throws:
EolRuntimeException
-
getAllTypeNamesOf
public Collection<String> getAllTypeNamesOf()
- Specified by:
getAllTypeNamesOf
in interfaceISimulinkModelElement
-
getType
public String getType()
- Specified by:
getType
in interfaceISimulinkModelElement
- Overrides:
getType
in classSimulinkModelElement
-
getHandle
public Object getHandle()
- Specified by:
getHandle
in interfaceISimulinkModelElement
-
-