Class ModelRepository
java.lang.Object
kieker.analysis.architecture.repository.ModelRepository
public class ModelRepository
extends java.lang.Object
- Since:
- 1.15
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description ModelRepository(java.lang.String name)
Create a new model repository with the given name. -
Method Summary
Modifier and Type Method Description <T extends org.eclipse.emf.ecore.EObject>
TgetModel(org.eclipse.emf.ecore.EClass eClass)
<T extends org.eclipse.emf.ecore.EObject>
ModelDescriptorgetModelDescriptor(org.eclipse.emf.ecore.EClass eClass)
java.util.Map<org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject>
getModels()
java.lang.String
getName()
void
register(ModelDescriptor descriptor, org.eclipse.emf.ecore.EObject value)
-
Constructor Details
-
ModelRepository
public ModelRepository(java.lang.String name)Create a new model repository with the given name.- Parameters:
name
- name of the repository
-
-
Method Details
-
getModels
public java.util.Map<org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject> getModels() -
getModel
public <T extends org.eclipse.emf.ecore.EObject> T getModel(org.eclipse.emf.ecore.EClass eClass) -
getModelDescriptor
public <T extends org.eclipse.emf.ecore.EObject> ModelDescriptor getModelDescriptor(org.eclipse.emf.ecore.EClass eClass) -
register
-
getName
public java.lang.String getName()
-