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 java.lang.String
entryType
protected java.util.Map<java.lang.String,java.lang.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()
java.util.Collection<java.lang.String>
getAllTypeNamesOf()
java.lang.String
getEntryType()
java.lang.Object
getHandle()
java.lang.Object
getProperty(java.lang.String property)
SimulinkSection
getSection()
java.lang.String
getType()
void
setProperty(java.lang.String property, java.lang.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 java.lang.String entryType
-
properties
protected java.util.Map<java.lang.String,java.lang.Object> properties
-
-
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 java.lang.String getEntryType()
-
getProperty
public java.lang.Object getProperty(java.lang.String property) throws EolRuntimeException
- Specified by:
getProperty
in interfaceISimulinkModelElement
- Throws:
EolRuntimeException
-
setProperty
public void setProperty(java.lang.String property, java.lang.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 java.util.Collection<java.lang.String> getAllTypeNamesOf()
- Specified by:
getAllTypeNamesOf
in interfaceISimulinkModelElement
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceISimulinkModelElement
- Overrides:
getType
in classSimulinkModelElement
-
getHandle
public java.lang.Object getHandle()
- Specified by:
getHandle
in interfaceISimulinkModelElement
-
-