aboutsummaryrefslogtreecommitdiffstats
path: root/ncomp-sirius-manager-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/controllermodel/impl/ControllerModelImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'ncomp-sirius-manager-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/controllermodel/impl/ControllerModelImpl.java')
-rw-r--r--ncomp-sirius-manager-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/controllermodel/impl/ControllerModelImpl.java400
1 files changed, 400 insertions, 0 deletions
diff --git a/ncomp-sirius-manager-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/controllermodel/impl/ControllerModelImpl.java b/ncomp-sirius-manager-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/controllermodel/impl/ControllerModelImpl.java
new file mode 100644
index 0000000..f948d13
--- /dev/null
+++ b/ncomp-sirius-manager-model/src/main/xcore-gen/org/openecomp/ncomp/sirius/manager/controllermodel/impl/ControllerModelImpl.java
@@ -0,0 +1,400 @@
+
+/*-
+ * ============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.controllermodel.impl;
+
+import org.openecomp.ncomp.sirius.manager.controllermodel.ControllerModel;
+import org.openecomp.ncomp.sirius.manager.controllermodel.ControllermodelPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Controller Model</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.sirius.manager.controllermodel.impl.ControllerModelImpl#getTemplateDirectory <em>Template Directory</em>}</li>
+ * <li>{@link org.openecomp.ncomp.sirius.manager.controllermodel.impl.ControllerModelImpl#getPluginName <em>Plugin Name</em>}</li>
+ * <li>{@link org.openecomp.ncomp.sirius.manager.controllermodel.impl.ControllerModelImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.openecomp.ncomp.sirius.manager.controllermodel.impl.ControllerModelImpl#getTitle <em>Title</em>}</li>
+ * <li>{@link org.openecomp.ncomp.sirius.manager.controllermodel.impl.ControllerModelImpl#getPrefix <em>Prefix</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ControllerModelImpl extends MinimalEObjectImpl.Container implements ControllerModel {
+ /**
+ * The default value of the '{@link #getTemplateDirectory() <em>Template Directory</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTemplateDirectory()
+ * @generated
+ * @ordered
+ */
+ protected static final String TEMPLATE_DIRECTORY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTemplateDirectory() <em>Template Directory</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTemplateDirectory()
+ * @generated
+ * @ordered
+ */
+ protected String templateDirectory = TEMPLATE_DIRECTORY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPluginName() <em>Plugin Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPluginName()
+ * @generated
+ * @ordered
+ */
+ protected static final String PLUGIN_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPluginName() <em>Plugin Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPluginName()
+ * @generated
+ * @ordered
+ */
+ protected String pluginName = PLUGIN_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTitle() <em>Title</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTitle()
+ * @generated
+ * @ordered
+ */
+ protected static final String TITLE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTitle() <em>Title</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTitle()
+ * @generated
+ * @ordered
+ */
+ protected String title = TITLE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPrefix() <em>Prefix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPrefix()
+ * @generated
+ * @ordered
+ */
+ protected static final String PREFIX_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPrefix() <em>Prefix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPrefix()
+ * @generated
+ * @ordered
+ */
+ protected String prefix = PREFIX_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ControllerModelImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ControllermodelPackage.Literals.CONTROLLER_MODEL;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTemplateDirectory() {
+ return templateDirectory;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTemplateDirectory(String newTemplateDirectory) {
+ String oldTemplateDirectory = templateDirectory;
+ templateDirectory = newTemplateDirectory;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ControllermodelPackage.CONTROLLER_MODEL__TEMPLATE_DIRECTORY, oldTemplateDirectory, templateDirectory));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPluginName() {
+ return pluginName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPluginName(String newPluginName) {
+ String oldPluginName = pluginName;
+ pluginName = newPluginName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ControllermodelPackage.CONTROLLER_MODEL__PLUGIN_NAME, oldPluginName, pluginName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ControllermodelPackage.CONTROLLER_MODEL__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTitle() {
+ return title;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTitle(String newTitle) {
+ String oldTitle = title;
+ title = newTitle;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ControllermodelPackage.CONTROLLER_MODEL__TITLE, oldTitle, title));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPrefix() {
+ return prefix;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPrefix(String newPrefix) {
+ String oldPrefix = prefix;
+ prefix = newPrefix;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ControllermodelPackage.CONTROLLER_MODEL__PREFIX, oldPrefix, prefix));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ControllermodelPackage.CONTROLLER_MODEL__TEMPLATE_DIRECTORY:
+ return getTemplateDirectory();
+ case ControllermodelPackage.CONTROLLER_MODEL__PLUGIN_NAME:
+ return getPluginName();
+ case ControllermodelPackage.CONTROLLER_MODEL__NAME:
+ return getName();
+ case ControllermodelPackage.CONTROLLER_MODEL__TITLE:
+ return getTitle();
+ case ControllermodelPackage.CONTROLLER_MODEL__PREFIX:
+ return getPrefix();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ControllermodelPackage.CONTROLLER_MODEL__TEMPLATE_DIRECTORY:
+ setTemplateDirectory((String)newValue);
+ return;
+ case ControllermodelPackage.CONTROLLER_MODEL__PLUGIN_NAME:
+ setPluginName((String)newValue);
+ return;
+ case ControllermodelPackage.CONTROLLER_MODEL__NAME:
+ setName((String)newValue);
+ return;
+ case ControllermodelPackage.CONTROLLER_MODEL__TITLE:
+ setTitle((String)newValue);
+ return;
+ case ControllermodelPackage.CONTROLLER_MODEL__PREFIX:
+ setPrefix((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ControllermodelPackage.CONTROLLER_MODEL__TEMPLATE_DIRECTORY:
+ setTemplateDirectory(TEMPLATE_DIRECTORY_EDEFAULT);
+ return;
+ case ControllermodelPackage.CONTROLLER_MODEL__PLUGIN_NAME:
+ setPluginName(PLUGIN_NAME_EDEFAULT);
+ return;
+ case ControllermodelPackage.CONTROLLER_MODEL__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ControllermodelPackage.CONTROLLER_MODEL__TITLE:
+ setTitle(TITLE_EDEFAULT);
+ return;
+ case ControllermodelPackage.CONTROLLER_MODEL__PREFIX:
+ setPrefix(PREFIX_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ControllermodelPackage.CONTROLLER_MODEL__TEMPLATE_DIRECTORY:
+ return TEMPLATE_DIRECTORY_EDEFAULT == null ? templateDirectory != null : !TEMPLATE_DIRECTORY_EDEFAULT.equals(templateDirectory);
+ case ControllermodelPackage.CONTROLLER_MODEL__PLUGIN_NAME:
+ return PLUGIN_NAME_EDEFAULT == null ? pluginName != null : !PLUGIN_NAME_EDEFAULT.equals(pluginName);
+ case ControllermodelPackage.CONTROLLER_MODEL__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ControllermodelPackage.CONTROLLER_MODEL__TITLE:
+ return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
+ case ControllermodelPackage.CONTROLLER_MODEL__PREFIX:
+ return PREFIX_EDEFAULT == null ? prefix != null : !PREFIX_EDEFAULT.equals(prefix);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (templateDirectory: ");
+ result.append(templateDirectory);
+ result.append(", pluginName: ");
+ result.append(pluginName);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", title: ");
+ result.append(title);
+ result.append(", prefix: ");
+ result.append(prefix);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ControllerModelImpl