Class SimulinkLink
- java.lang.Object
-
- org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
-
- org.eclipse.epsilon.emc.simulink.requirement.model.element.SimulinkLink
-
- All Implemented Interfaces:
ISimulinkModelElement,ISimulinkRequirementModelElement,IModelElement
public class SimulinkLink extends SimulinkModelElement implements ISimulinkRequirementModelElement
-
-
Field Summary
Fields Modifier and Type Field Description protected MatlabHandleElementlinkHandle-
Fields inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
engine, model, superType, type
-
-
Constructor Summary
Constructors Constructor Description SimulinkLink(SimulinkRequirementModel model, MatlabEngine engine)SimulinkLink(SimulinkRequirementModel model, MatlabEngine engine, ISimulinkModelElement source, ISimulinkModelElement target)SimulinkLink(SimulinkRequirementModel model, MatlabEngine engine, HandleObject id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandeleteElementInModel()java.util.Collection<java.lang.String>getAllTypeNamesOf()java.lang.ObjectgetDestination()MatlabHandleElementgetHandle()java.lang.ObjectgetProperty(java.lang.String property)java.lang.ObjectgetSource()java.lang.StringgetType()java.lang.BooleanisResolved()java.lang.BooleanisResolved(java.lang.String location)java.lang.BooleanisResolvedDestination()java.lang.BooleanisResolvedSource()SimulinkLinksetDestination(java.lang.Object destination)voidsetProperty(java.lang.String property, java.lang.Object value)SimulinkLinksetSource(java.lang.Object source)-
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
-
linkHandle
protected MatlabHandleElement linkHandle
-
-
Constructor Detail
-
SimulinkLink
public SimulinkLink(SimulinkRequirementModel model, MatlabEngine engine, ISimulinkModelElement source, ISimulinkModelElement target) throws EolRuntimeException
- Throws:
EolRuntimeException
-
SimulinkLink
public SimulinkLink(SimulinkRequirementModel model, MatlabEngine engine)
-
SimulinkLink
public SimulinkLink(SimulinkRequirementModel model, MatlabEngine engine, HandleObject id)
-
-
Method Detail
-
getProperty
public java.lang.Object getProperty(java.lang.String property) throws EolRuntimeException- Specified by:
getPropertyin interfaceISimulinkModelElement- Throws:
EolRuntimeException
-
setProperty
public void setProperty(java.lang.String property, java.lang.Object value) throws EolRuntimeException- Specified by:
setPropertyin interfaceISimulinkModelElement- Throws:
EolRuntimeException
-
getAllTypeNamesOf
public java.util.Collection<java.lang.String> getAllTypeNamesOf()
- Specified by:
getAllTypeNamesOfin interfaceISimulinkModelElement
-
deleteElementInModel
public boolean deleteElementInModel() throws EolRuntimeException- Specified by:
deleteElementInModelin interfaceISimulinkModelElement- Throws:
EolRuntimeException
-
getHandle
public MatlabHandleElement getHandle()
- Specified by:
getHandlein interfaceISimulinkModelElement
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceISimulinkModelElement- Overrides:
getTypein classSimulinkModelElement
-
isResolved
public java.lang.Boolean isResolved() throws EolRuntimeException- Throws:
EolRuntimeException
-
isResolvedSource
public java.lang.Boolean isResolvedSource() throws EolRuntimeException- Throws:
EolRuntimeException
-
isResolvedDestination
public java.lang.Boolean isResolvedDestination() throws EolRuntimeException- Throws:
EolRuntimeException
-
isResolved
public java.lang.Boolean isResolved(java.lang.String location) throws EolRuntimeException- Throws:
EolRuntimeException
-
setSource
public SimulinkLink setSource(java.lang.Object source) throws EolRuntimeException
- Throws:
EolRuntimeException
-
getSource
public java.lang.Object getSource() throws EolRuntimeException- Throws:
EolRuntimeException
-
setDestination
public SimulinkLink setDestination(java.lang.Object destination) throws EolRuntimeException
- Throws:
EolRuntimeException
-
getDestination
public java.lang.Object getDestination() throws EolRuntimeException- Throws:
EolRuntimeException
-
-