public abstract class SimulinkElement extends SimulinkModelElement implements ISimulinkElement
Modifier and Type | Field and Description |
---|---|
protected static String |
ADD_BLOCK_MAKE_NAME_UNIQUE_ON |
protected static String |
GET_FULL_NAME |
protected static String |
GET_SIMULINK_KIND |
protected static String |
GET_SIMULINK_TYPE |
protected Double |
handle |
protected static String |
HANDLE |
engine, model, superType, type
Constructor and Description |
---|
SimulinkElement(SimulinkModel model,
MatlabEngine engine) |
SimulinkElement(SimulinkModel model,
MatlabEngine engine,
Double handle) |
SimulinkElement(SimulinkModel model,
MatlabEngine engine,
String type) |
SimulinkElement(String path,
SimulinkModel model,
MatlabEngine engine) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Collection<String> |
getAllTypeNamesOf() |
Double |
getHandle() |
String |
getPath() |
Object |
getProperty(String property) |
void |
setProperty(String property,
Object value) |
String |
toString() |
getEngine, getOwningModel, getSuperType, getType
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
deleteElementInModel, getEngine, getType
getOwningModel
protected static final String ADD_BLOCK_MAKE_NAME_UNIQUE_ON
protected static final String HANDLE
protected static final String GET_SIMULINK_KIND
protected static final String GET_SIMULINK_TYPE
protected static final String GET_FULL_NAME
protected Double handle
public SimulinkElement(SimulinkModel model, MatlabEngine engine, String type) throws MatlabRuntimeException
MatlabRuntimeException
public SimulinkElement(SimulinkModel model, MatlabEngine engine, Double handle) throws MatlabRuntimeException
MatlabRuntimeException
public SimulinkElement(String path, SimulinkModel model, MatlabEngine engine) throws MatlabRuntimeException
MatlabRuntimeException
public SimulinkElement(SimulinkModel model, MatlabEngine engine)
public Object getProperty(String property) throws EolIllegalPropertyException
getProperty
in interface ISimulinkModelElement
EolIllegalPropertyException
public void setProperty(String property, Object value) throws EolIllegalPropertyException
setProperty
in interface ISimulinkModelElement
EolIllegalPropertyException
public Double getHandle()
getHandle
in interface ISimulinkElement
public String getPath()
getPath
in interface ISimulinkModelElement
public boolean equals(Object other)
equals
in interface ISimulinkModelElement
equals
in class Object
public Collection<String> getAllTypeNamesOf()
getAllTypeNamesOf
in interface ISimulinkModelElement
Copyright © 2018. All rights reserved.