public class InstantiateModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NORMAL_SOM_NAME |
Constructor and Description |
---|
InstantiateModel(org.eclipse.core.runtime.IProgressMonitor pm) |
InstantiateModel(org.eclipse.core.runtime.IProgressMonitor pm,
AnalysisErrorReporterManager errMgr) |
Modifier and Type | Method and Description |
---|---|
static SystemInstance |
buildInstanceModelFile(SystemImplementation si) |
SystemInstance |
createSystemInstance(SystemImplementation si,
org.eclipse.emf.ecore.resource.Resource aadlResource)
create a system instance into the provided (empty) resource and save it
This is performed as a transactional operation
|
SystemInstance |
createSystemInstanceInt(SystemImplementation si,
org.eclipse.emf.ecore.resource.Resource aadlResource) |
void |
fillSystemInstance(SystemInstance root)
Will in fill instance model under system instance but not save it
|
org.eclipse.emf.common.util.EList<Property> |
getAllUsedPropertyDefinitions(SystemInstance root)
Get all property definitions that are used in the Aadl model.
|
static void |
rebuildAllInstanceModelFiles() |
static SystemInstance |
rebuildInstanceModelFile(org.eclipse.emf.ecore.resource.Resource res) |
public static final java.lang.String NORMAL_SOM_NAME
public InstantiateModel(org.eclipse.core.runtime.IProgressMonitor pm)
public InstantiateModel(org.eclipse.core.runtime.IProgressMonitor pm, AnalysisErrorReporterManager errMgr)
public static SystemInstance buildInstanceModelFile(SystemImplementation si) throws java.lang.Exception
java.lang.Exception
public static SystemInstance rebuildInstanceModelFile(org.eclipse.emf.ecore.resource.Resource res) throws java.lang.Exception
java.lang.Exception
public static void rebuildAllInstanceModelFiles() throws java.lang.Exception
java.lang.Exception
public SystemInstance createSystemInstance(SystemImplementation si, org.eclipse.emf.ecore.resource.Resource aadlResource) throws java.lang.Exception
si
- aadlResource
- org.eclipse.emf.transaction.RollbackException
java.lang.InterruptedException
java.lang.Exception
public SystemInstance createSystemInstanceInt(SystemImplementation si, org.eclipse.emf.ecore.resource.Resource aadlResource)
public void fillSystemInstance(SystemInstance root)
root
- public org.eclipse.emf.common.util.EList<Property> getAllUsedPropertyDefinitions(SystemInstance root)
si
- System Implementation