public class SimulinkRequirementModel extends AbstractSimulinkModel implements ISimulinkRequirementModelElement, IOperationContributorProvider
| Modifier and Type | Field and Description |
|---|---|
protected RequirementModelOperationContributor |
reqOperationContributor |
protected MatlabHandleElement |
reqSetHandle |
closeOnDispose, enableTryCatch, engine, engineJarPath, enginePoolSize, ENV_ENGINE_JAR_PATH, ENV_LIBRARY_PATH, ENV_MATLAB_PATH, file, libraryPath, matlabPath, openOnLoad, paths, PROPERTY_CLOSE_ON_DISPOSE, PROPERTY_CURRENT_SIMULINK_PROJECT, PROPERTY_ENABLE_TRY_CATCH, PROPERTY_ENGINE_JAR_PATH, PROPERTY_ENGINE_POOL_SIZE, PROPERTY_FILE, PROPERTY_LIBRARY_PATH, PROPERTY_MATLAB_PATH, PROPERTY_OPEN_ON_LOAD, PROPERTY_PATHS, PROPERTY_SIMULINK_PROJECT, PROPERTY_WORKING_DIR, simulinkProject, useCurrentProject, workingDirallContentsCache, kindCache, PROPERTY_CACHED, PROPERTY_CONCURRENT, typeCachealiases, ENV_PREFIX, name, PROPERTY_ALIASES, PROPERTY_NAME, PROPERTY_READONLOAD, PROPERTY_READONLY, PROPERTY_STOREONDISPOSAL, propertyGetter, propertySetter, readOnLoad, storeOnDisposal| Constructor and Description |
|---|
SimulinkRequirementModel() |
addPath, addPath, disposeModel, getAllTypeNamesOf, getCacheKeyForType, getEngine, getEngineJarPath, getEnumerationValue, getFile, getLibraryPath, getMatlabPath, getPaths, getProject, getWorkingDir, getWorkspaceVariable, isCloseOnDispose, isEnableTryCatch, isLoaded, isOpenOnLoad, isUseCurrentProject, parseMatlabEngineVariable, resolvePaths, setCloseOnDispose, setEnableTryCatch, setEngine, setEngineJarPath, setFile, setLibraryPath, setMatlabPath, setOpenOnLoad, setProject, setProject, setUseCurrentProject, setWorkingDir, statement, statementWithResultaddToCache, allContents, clearCache, createInstance, deleteElement, dispose, getAllOfKind, getAllOfKindOrType, getAllOfType, initCaches, isCachingEnabled, isConcurrent, load, removeFromCache, setCachingEnabled, setConcurrent, wrapallInstances, getAliases, getFullyQualifiedTypeNameOf, getMetamodel, getName, getPropertyGetter, getPropertySetter, getTransactionSupport, getTypeOf, isModelElement, isOfKind, isOfType, isPropertySet, isReadOnLoad, isStoredOnDisposal, knowsAboutProperty, load, load, setName, setReadOnLoad, setStoredOnDisposalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, getEngineallContents, close, createInstance, deleteElement, dispose, getAliases, getAllOfKind, getAllOfType, getFullyQualifiedTypeNameOf, getMetamodel, getName, getPropertyGetter, getPropertySetter, getTransactionSupport, getTypeOf, isModelElement, isOfKind, isOfType, isPropertySet, isReadOnLoad, isStoredOnDisposal, knowsAboutProperty, load, load, load, setName, setReadOnLoad, setStoredOnDisposalprotected MatlabHandleElement reqSetHandle
protected RequirementModelOperationContributor reqOperationContributor
public void load(StringProperties properties, IRelativePathResolver resolver) throws EolModelLoadingException
load in interface IModelload in class AbstractSimulinkModelEolModelLoadingExceptionprotected void loadModel()
throws EolModelLoadingException
loadModel in class AbstractSimulinkModelEolModelLoadingExceptionpublic Object getProperty(String property) throws EolRuntimeException
getProperty in interface ISimulinkModelElementEolRuntimeExceptionpublic void setProperty(String property, Object value) throws EolRuntimeException
setProperty in interface ISimulinkModelElementEolRuntimeExceptionpublic Collection<String> getAllTypeNamesOf()
getAllTypeNamesOf in interface ISimulinkModelElementpublic boolean deleteElementInModel()
throws EolRuntimeException
deleteElementInModel in interface ISimulinkModelElementEolRuntimeExceptionpublic String getType()
getType in interface ISimulinkModelElementpublic MatlabHandleElement getHandle()
getHandle in interface ISimulinkModelElementpublic IModel getOwningModel()
getOwningModel in interface IModelElementpublic String getTypeNameOf(Object instance)
IModelgetTypeNameOf in interface IModelinstance - The model object whose type is to be determined.public Object getElementById(String id)
getElementById in interface IModelpublic String getElementId(Object instance)
getElementId in interface IModelpublic OperationContributor getOperationContributor()
getOperationContributor in interface IOperationContributorProviderpublic void setElementId(Object instance, String newId)
setElementId in interface IModelpublic boolean owns(Object instance)
IModelowns in interface IModelowns in class AbstractSimulinkModelinstance - the Java object to test.public boolean isInstantiable(String type)
isInstantiable in interface IModelisInstantiable in class AbstractSimulinkModelprotected void closeMatlabModel()
closeMatlabModel in class AbstractSimulinkModelprotected Collection<ISimulinkModelElement> allContentsFromModel()
allContentsFromModel in class CachedModel<ISimulinkModelElement>protected Collection<ISimulinkModelElement> getAllOfTypeFromModel(String type) throws EolModelElementTypeNotFoundException
getAllOfTypeFromModel in class CachedModel<ISimulinkModelElement>EolModelElementTypeNotFoundExceptionprotected Collection<ISimulinkModelElement> getAllOfKindFromModel(String kind) throws EolModelElementTypeNotFoundException
getAllOfKindFromModel in class CachedModel<ISimulinkModelElement>EolModelElementTypeNotFoundExceptionprotected ISimulinkModelElement createInstanceInModel(String type) throws EolModelElementTypeNotFoundException, EolNotInstantiableModelElementTypeException
createInstanceInModel in class AbstractSimulinkModelEolModelElementTypeNotFoundExceptionEolNotInstantiableModelElementTypeExceptionpublic Object createInstance(String type, Collection<Object> parameters) throws EolModelElementTypeNotFoundException, EolNotInstantiableModelElementTypeException
createInstance in interface IModelcreateInstance in class ModelEolModelElementTypeNotFoundExceptionEolNotInstantiableModelElementTypeExceptionprotected boolean deleteElementInModel(Object instance) throws EolRuntimeException
CachedModeldeleteElementInModel in class CachedModel<ISimulinkModelElement>EolRuntimeExceptionCopyright © 2020. All rights reserved.