kieker.model.analysismodel.assembly.impl.AssemblyFactoryImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kieker Show documentation
Show all versions of kieker Show documentation
Kieker: Application Performance Monitoring and Dynamic Software Analysis
The newest version!
/**
*/
package kieker.model.analysismodel.assembly.impl;
import java.util.Map;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
import kieker.model.analysismodel.assembly.AssemblyComponent;
import kieker.model.analysismodel.assembly.AssemblyFactory;
import kieker.model.analysismodel.assembly.AssemblyModel;
import kieker.model.analysismodel.assembly.AssemblyOperation;
import kieker.model.analysismodel.assembly.AssemblyPackage;
import kieker.model.analysismodel.assembly.AssemblyProvidedInterface;
import kieker.model.analysismodel.assembly.AssemblyRequiredInterface;
import kieker.model.analysismodel.assembly.AssemblyStorage;
/**
*
* An implementation of the model Factory.
*
*
* @generated
*/
public class AssemblyFactoryImpl extends EFactoryImpl implements AssemblyFactory {
/**
* Creates the default factory implementation.
*
*
*
* @generated
*/
public static AssemblyFactory init() {
try {
final AssemblyFactory theAssemblyFactory = (AssemblyFactory) EPackage.Registry.INSTANCE.getEFactory(AssemblyPackage.eNS_URI);
if (theAssemblyFactory != null) {
return theAssemblyFactory;
}
} catch (final Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new AssemblyFactoryImpl();
}
/**
* Creates an instance of the factory.
*
*
*
* @generated
*/
public AssemblyFactoryImpl() {
super();
}
/**
*
*
*
* @generated
*/
@Override
public EObject create(final EClass eClass) {
switch (eClass.getClassifierID()) {
case AssemblyPackage.ASSEMBLY_MODEL:
return this.createAssemblyModel();
case AssemblyPackage.ESTRING_TO_ASSEMBLY_COMPONENT_MAP_ENTRY:
return (EObject) this.createEStringToAssemblyComponentMapEntry();
case AssemblyPackage.ASSEMBLY_COMPONENT:
return this.createAssemblyComponent();
case AssemblyPackage.ESTRING_TO_ASSEMBLY_OPERATION_MAP_ENTRY:
return (EObject) this.createEStringToAssemblyOperationMapEntry();
case AssemblyPackage.ASSEMBLY_OPERATION:
return this.createAssemblyOperation();
case AssemblyPackage.ASSEMBLY_STORAGE:
return this.createAssemblyStorage();
case AssemblyPackage.ESTRING_TO_ASSEMBLY_STORAGE_MAP_ENTRY:
return (EObject) this.createEStringToAssemblyStorageMapEntry();
case AssemblyPackage.ASSEMBLY_PROVIDED_INTERFACE:
return this.createAssemblyProvidedInterface();
case AssemblyPackage.ESTRING_TO_ASSEMBLY_PROVIDED_INTERFACE_MAP_ENTRY:
return (EObject) this.createEStringToAssemblyProvidedInterfaceMapEntry();
case AssemblyPackage.ASSEMBLY_REQUIRED_INTERFACE:
return this.createAssemblyRequiredInterface();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
*
*
*
* @generated
*/
@Override
public AssemblyModel createAssemblyModel() {
final AssemblyModelImpl assemblyModel = new AssemblyModelImpl();
return assemblyModel;
}
/**
*
*
*
* @generated
*/
public Map.Entry createEStringToAssemblyComponentMapEntry() {
final EStringToAssemblyComponentMapEntryImpl eStringToAssemblyComponentMapEntry = new EStringToAssemblyComponentMapEntryImpl();
return eStringToAssemblyComponentMapEntry;
}
/**
*
*
*
* @generated
*/
@Override
public AssemblyComponent createAssemblyComponent() {
final AssemblyComponentImpl assemblyComponent = new AssemblyComponentImpl();
return assemblyComponent;
}
/**
*
*
*
* @generated
*/
public Map.Entry createEStringToAssemblyOperationMapEntry() {
final EStringToAssemblyOperationMapEntryImpl eStringToAssemblyOperationMapEntry = new EStringToAssemblyOperationMapEntryImpl();
return eStringToAssemblyOperationMapEntry;
}
/**
*
*
*
* @generated
*/
@Override
public AssemblyOperation createAssemblyOperation() {
final AssemblyOperationImpl assemblyOperation = new AssemblyOperationImpl();
return assemblyOperation;
}
/**
*
*
*
* @generated
*/
@Override
public AssemblyStorage createAssemblyStorage() {
final AssemblyStorageImpl assemblyStorage = new AssemblyStorageImpl();
return assemblyStorage;
}
/**
*
*
*
* @generated
*/
public Map.Entry createEStringToAssemblyStorageMapEntry() {
final EStringToAssemblyStorageMapEntryImpl eStringToAssemblyStorageMapEntry = new EStringToAssemblyStorageMapEntryImpl();
return eStringToAssemblyStorageMapEntry;
}
/**
*
*
*
* @generated
*/
@Override
public AssemblyProvidedInterface createAssemblyProvidedInterface() {
final AssemblyProvidedInterfaceImpl assemblyProvidedInterface = new AssemblyProvidedInterfaceImpl();
return assemblyProvidedInterface;
}
/**
*
*
*
* @generated
*/
public Map.Entry createEStringToAssemblyProvidedInterfaceMapEntry() {
final EStringToAssemblyProvidedInterfaceMapEntryImpl eStringToAssemblyProvidedInterfaceMapEntry = new EStringToAssemblyProvidedInterfaceMapEntryImpl();
return eStringToAssemblyProvidedInterfaceMapEntry;
}
/**
*
*
*
* @generated
*/
@Override
public AssemblyRequiredInterface createAssemblyRequiredInterface() {
final AssemblyRequiredInterfaceImpl assemblyRequiredInterface = new AssemblyRequiredInterfaceImpl();
return assemblyRequiredInterface;
}
/**
*
*
*
* @generated
*/
@Override
public AssemblyPackage getAssemblyPackage() {
return (AssemblyPackage) this.getEPackage();
}
/**
*
*
*
* @deprecated
* @generated
*/
@Deprecated
public static AssemblyPackage getPackage() {
return AssemblyPackage.eINSTANCE;
}
} // AssemblyFactoryImpl
© 2015 - 2024 Weber Informatics LLC | Privacy Policy