aboutsummaryrefslogtreecommitdiffstats
path: root/ncomp-sirius-manager-agent-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/agent/monitoring/impl/MonitoringFactoryImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'ncomp-sirius-manager-agent-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/agent/monitoring/impl/MonitoringFactoryImpl.java')
-rw-r--r--ncomp-sirius-manager-agent-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/agent/monitoring/impl/MonitoringFactoryImpl.java116
1 files changed, 116 insertions, 0 deletions
diff --git a/ncomp-sirius-manager-agent-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/agent/monitoring/impl/MonitoringFactoryImpl.java b/ncomp-sirius-manager-agent-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/agent/monitoring/impl/MonitoringFactoryImpl.java
new file mode 100644
index 0000000..089490b
--- /dev/null
+++ b/ncomp-sirius-manager-agent-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/agent/monitoring/impl/MonitoringFactoryImpl.java
@@ -0,0 +1,116 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.ncomp.sirius.manager.agent.monitoring.impl;
+
+import org.openecomp.ncomp.sirius.manager.agent.monitoring.*;
+
+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;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class MonitoringFactoryImpl extends EFactoryImpl implements MonitoringFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static MonitoringFactory init() {
+ try {
+ MonitoringFactory theMonitoringFactory = (MonitoringFactory)EPackage.Registry.INSTANCE.getEFactory(MonitoringPackage.eNS_URI);
+ if (theMonitoringFactory != null) {
+ return theMonitoringFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new MonitoringFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MonitoringFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case MonitoringPackage.SIRIUS_MANAGER_AGENT_SERVER: return createSiriusManagerAgentServer();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SiriusManagerAgentServer createSiriusManagerAgentServer() {
+ SiriusManagerAgentServerImpl siriusManagerAgentServer = new SiriusManagerAgentServerImpl();
+ return siriusManagerAgentServer;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MonitoringPackage getMonitoringPackage() {
+ return (MonitoringPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static MonitoringPackage getPackage() {
+ return MonitoringPackage.eINSTANCE;
+ }
+
+} //MonitoringFactoryImpl