aboutsummaryrefslogtreecommitdiffstats
path: root/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl
diff options
context:
space:
mode:
authorlj1412 <lji@research.att.com>2017-02-14 15:11:24 +0000
committerlj1412 <lji@research.att.com>2017-02-14 15:11:26 +0000
commit9a98a583855c9665c7171ca2e44e311095cdaac1 (patch)
treeb9f784669b9d235bba8d9bf9354cd313ff051171 /ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl
parent0453f7ce05dcb0affc9025c007db125128d0bf95 (diff)
Init ncomp.docker
Change-Id: Ic87bcf77cff63ef6cd3004fbff9a69f11930d684 Signed-off-by: lj1412 <lji@research.att.com>
Diffstat (limited to 'ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl')
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerCpuStatsImpl.java265
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerCpuUsageImpl.java335
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerMemoryStatsImpl.java1696
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerMemoryUsageImpl.java427
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerNetworkStatsImpl.java616
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerOptionsImpl.java521
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerPortBindingsImpl.java293
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerRestartPolicyImpl.java238
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerActorAttributesImpl.java184
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerActorImpl.java265
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerAdaptorImpl.java169
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerContainerImpl.java802
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerContainerStatsImpl.java379
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerCreateRequestImpl.java227
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerEventsImpl.java536
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerFactoryImpl.java380
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerHostImpl.java637
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerImageImpl.java517
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerIpamConfigImpl.java184
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerIpamImpl.java243
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerKeyPairImpl.java238
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerMountImpl.java400
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerNetworkContainerImpl.java400
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerNetworkImpl.java456
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerPackageImpl.java2463
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerPortImpl.java292
-rw-r--r--ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerProcessImpl.java722
27 files changed, 13885 insertions, 0 deletions
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerCpuStatsImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerCpuStatsImpl.java
new file mode 100644
index 0000000..0e377c0
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerCpuStatsImpl.java
@@ -0,0 +1,265 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.ContainerCpuStats;
+import org.openecomp.ncomp.docker.ContainerCpuUsage;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+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>Container Cpu Stats</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerCpuStatsImpl#getCpu_usage <em>Cpu usage</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerCpuStatsImpl#getSystem_cpu_usage <em>System cpu usage</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ContainerCpuStatsImpl extends MinimalEObjectImpl.Container implements ContainerCpuStats {
+ /**
+ * The cached value of the '{@link #getCpu_usage() <em>Cpu usage</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCpu_usage()
+ * @generated
+ * @ordered
+ */
+ protected ContainerCpuUsage cpu_usage;
+
+ /**
+ * The default value of the '{@link #getSystem_cpu_usage() <em>System cpu usage</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSystem_cpu_usage()
+ * @generated
+ * @ordered
+ */
+ protected static final long SYSTEM_CPU_USAGE_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getSystem_cpu_usage() <em>System cpu usage</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSystem_cpu_usage()
+ * @generated
+ * @ordered
+ */
+ protected long system_cpu_usage = SYSTEM_CPU_USAGE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ContainerCpuStatsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.CONTAINER_CPU_STATS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerCpuUsage getCpu_usage() {
+ return cpu_usage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCpu_usage(ContainerCpuUsage newCpu_usage, NotificationChain msgs) {
+ ContainerCpuUsage oldCpu_usage = cpu_usage;
+ cpu_usage = newCpu_usage;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_CPU_STATS__CPU_USAGE, oldCpu_usage, newCpu_usage);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCpu_usage(ContainerCpuUsage newCpu_usage) {
+ if (newCpu_usage != cpu_usage) {
+ NotificationChain msgs = null;
+ if (cpu_usage != null)
+ msgs = ((InternalEObject)cpu_usage).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DockerPackage.CONTAINER_CPU_STATS__CPU_USAGE, null, msgs);
+ if (newCpu_usage != null)
+ msgs = ((InternalEObject)newCpu_usage).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DockerPackage.CONTAINER_CPU_STATS__CPU_USAGE, null, msgs);
+ msgs = basicSetCpu_usage(newCpu_usage, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_CPU_STATS__CPU_USAGE, newCpu_usage, newCpu_usage));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getSystem_cpu_usage() {
+ return system_cpu_usage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSystem_cpu_usage(long newSystem_cpu_usage) {
+ long oldSystem_cpu_usage = system_cpu_usage;
+ system_cpu_usage = newSystem_cpu_usage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_CPU_STATS__SYSTEM_CPU_USAGE, oldSystem_cpu_usage, system_cpu_usage));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_CPU_STATS__CPU_USAGE:
+ return basicSetCpu_usage(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_CPU_STATS__CPU_USAGE:
+ return getCpu_usage();
+ case DockerPackage.CONTAINER_CPU_STATS__SYSTEM_CPU_USAGE:
+ return getSystem_cpu_usage();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_CPU_STATS__CPU_USAGE:
+ setCpu_usage((ContainerCpuUsage)newValue);
+ return;
+ case DockerPackage.CONTAINER_CPU_STATS__SYSTEM_CPU_USAGE:
+ setSystem_cpu_usage((Long)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_CPU_STATS__CPU_USAGE:
+ setCpu_usage((ContainerCpuUsage)null);
+ return;
+ case DockerPackage.CONTAINER_CPU_STATS__SYSTEM_CPU_USAGE:
+ setSystem_cpu_usage(SYSTEM_CPU_USAGE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_CPU_STATS__CPU_USAGE:
+ return cpu_usage != null;
+ case DockerPackage.CONTAINER_CPU_STATS__SYSTEM_CPU_USAGE:
+ return system_cpu_usage != SYSTEM_CPU_USAGE_EDEFAULT;
+ }
+ 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(" (system_cpu_usage: ");
+ result.append(system_cpu_usage);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ContainerCpuStatsImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerCpuUsageImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerCpuUsageImpl.java
new file mode 100644
index 0000000..213843b
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerCpuUsageImpl.java
@@ -0,0 +1,335 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.ContainerCpuUsage;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Container Cpu Usage</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerCpuUsageImpl#getPercpu_usage <em>Percpu usage</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerCpuUsageImpl#getUsage_in_usermode <em>Usage in usermode</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerCpuUsageImpl#getTotal_usage <em>Total usage</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerCpuUsageImpl#getUser_in_kernelmode <em>User in kernelmode</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ContainerCpuUsageImpl extends MinimalEObjectImpl.Container implements ContainerCpuUsage {
+ /**
+ * The cached value of the '{@link #getPercpu_usage() <em>Percpu usage</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPercpu_usage()
+ * @generated
+ * @ordered
+ */
+ protected EList<Long> percpu_usage;
+
+ /**
+ * The default value of the '{@link #getUsage_in_usermode() <em>Usage in usermode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUsage_in_usermode()
+ * @generated
+ * @ordered
+ */
+ protected static final long USAGE_IN_USERMODE_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getUsage_in_usermode() <em>Usage in usermode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUsage_in_usermode()
+ * @generated
+ * @ordered
+ */
+ protected long usage_in_usermode = USAGE_IN_USERMODE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_usage() <em>Total usage</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_usage()
+ * @generated
+ * @ordered
+ */
+ protected static final long TOTAL_USAGE_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getTotal_usage() <em>Total usage</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_usage()
+ * @generated
+ * @ordered
+ */
+ protected long total_usage = TOTAL_USAGE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getUser_in_kernelmode() <em>User in kernelmode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUser_in_kernelmode()
+ * @generated
+ * @ordered
+ */
+ protected static final long USER_IN_KERNELMODE_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getUser_in_kernelmode() <em>User in kernelmode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUser_in_kernelmode()
+ * @generated
+ * @ordered
+ */
+ protected long user_in_kernelmode = USER_IN_KERNELMODE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ContainerCpuUsageImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.CONTAINER_CPU_USAGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Long> getPercpu_usage() {
+ if (percpu_usage == null) {
+ percpu_usage = new EDataTypeEList<Long>(Long.class, this, DockerPackage.CONTAINER_CPU_USAGE__PERCPU_USAGE);
+ }
+ return percpu_usage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getUsage_in_usermode() {
+ return usage_in_usermode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUsage_in_usermode(long newUsage_in_usermode) {
+ long oldUsage_in_usermode = usage_in_usermode;
+ usage_in_usermode = newUsage_in_usermode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_CPU_USAGE__USAGE_IN_USERMODE, oldUsage_in_usermode, usage_in_usermode));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getTotal_usage() {
+ return total_usage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_usage(long newTotal_usage) {
+ long oldTotal_usage = total_usage;
+ total_usage = newTotal_usage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_CPU_USAGE__TOTAL_USAGE, oldTotal_usage, total_usage));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getUser_in_kernelmode() {
+ return user_in_kernelmode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUser_in_kernelmode(long newUser_in_kernelmode) {
+ long oldUser_in_kernelmode = user_in_kernelmode;
+ user_in_kernelmode = newUser_in_kernelmode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_CPU_USAGE__USER_IN_KERNELMODE, oldUser_in_kernelmode, user_in_kernelmode));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_CPU_USAGE__PERCPU_USAGE:
+ return getPercpu_usage();
+ case DockerPackage.CONTAINER_CPU_USAGE__USAGE_IN_USERMODE:
+ return getUsage_in_usermode();
+ case DockerPackage.CONTAINER_CPU_USAGE__TOTAL_USAGE:
+ return getTotal_usage();
+ case DockerPackage.CONTAINER_CPU_USAGE__USER_IN_KERNELMODE:
+ return getUser_in_kernelmode();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_CPU_USAGE__PERCPU_USAGE:
+ getPercpu_usage().clear();
+ getPercpu_usage().addAll((Collection<? extends Long>)newValue);
+ return;
+ case DockerPackage.CONTAINER_CPU_USAGE__USAGE_IN_USERMODE:
+ setUsage_in_usermode((Long)newValue);
+ return;
+ case DockerPackage.CONTAINER_CPU_USAGE__TOTAL_USAGE:
+ setTotal_usage((Long)newValue);
+ return;
+ case DockerPackage.CONTAINER_CPU_USAGE__USER_IN_KERNELMODE:
+ setUser_in_kernelmode((Long)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_CPU_USAGE__PERCPU_USAGE:
+ getPercpu_usage().clear();
+ return;
+ case DockerPackage.CONTAINER_CPU_USAGE__USAGE_IN_USERMODE:
+ setUsage_in_usermode(USAGE_IN_USERMODE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_CPU_USAGE__TOTAL_USAGE:
+ setTotal_usage(TOTAL_USAGE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_CPU_USAGE__USER_IN_KERNELMODE:
+ setUser_in_kernelmode(USER_IN_KERNELMODE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_CPU_USAGE__PERCPU_USAGE:
+ return percpu_usage != null && !percpu_usage.isEmpty();
+ case DockerPackage.CONTAINER_CPU_USAGE__USAGE_IN_USERMODE:
+ return usage_in_usermode != USAGE_IN_USERMODE_EDEFAULT;
+ case DockerPackage.CONTAINER_CPU_USAGE__TOTAL_USAGE:
+ return total_usage != TOTAL_USAGE_EDEFAULT;
+ case DockerPackage.CONTAINER_CPU_USAGE__USER_IN_KERNELMODE:
+ return user_in_kernelmode != USER_IN_KERNELMODE_EDEFAULT;
+ }
+ 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(" (percpu_usage: ");
+ result.append(percpu_usage);
+ result.append(", usage_in_usermode: ");
+ result.append(usage_in_usermode);
+ result.append(", total_usage: ");
+ result.append(total_usage);
+ result.append(", user_in_kernelmode: ");
+ result.append(user_in_kernelmode);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ContainerCpuUsageImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerMemoryStatsImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerMemoryStatsImpl.java
new file mode 100644
index 0000000..022022f
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerMemoryStatsImpl.java
@@ -0,0 +1,1696 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.ContainerMemoryStats;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+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>Container Memory Stats</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_pgmajfault <em>Total pgmajfault</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getCache <em>Cache</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getMapped_file <em>Mapped file</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_inactive_file <em>Total inactive file</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getPgpgout <em>Pgpgout</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getRss <em>Rss</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_mapped_file <em>Total mapped file</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getWriteback <em>Writeback</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getUnevictable <em>Unevictable</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getPgpgin <em>Pgpgin</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_unevictable <em>Total unevictable</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getPgmajfault <em>Pgmajfault</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_rss <em>Total rss</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_rss_huge <em>Total rss huge</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_writeback <em>Total writeback</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_inactive_anon <em>Total inactive anon</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getRss_huge <em>Rss huge</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getHierarchical_memory_limit <em>Hierarchical memory limit</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_pgfault <em>Total pgfault</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_active_file <em>Total active file</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getActive_anon <em>Active anon</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_active_anon <em>Total active anon</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_pgpgout <em>Total pgpgout</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_cache <em>Total cache</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getInactive_anon <em>Inactive anon</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getActive_file <em>Active file</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getPgfault <em>Pgfault</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getInactive_file <em>Inactive file</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryStatsImpl#getTotal_pgpgin <em>Total pgpgin</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ContainerMemoryStatsImpl extends MinimalEObjectImpl.Container implements ContainerMemoryStats {
+ /**
+ * The default value of the '{@link #getTotal_pgmajfault() <em>Total pgmajfault</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_pgmajfault()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_PGMAJFAULT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_pgmajfault() <em>Total pgmajfault</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_pgmajfault()
+ * @generated
+ * @ordered
+ */
+ protected int total_pgmajfault = TOTAL_PGMAJFAULT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCache() <em>Cache</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCache()
+ * @generated
+ * @ordered
+ */
+ protected static final int CACHE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getCache() <em>Cache</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCache()
+ * @generated
+ * @ordered
+ */
+ protected int cache = CACHE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMapped_file() <em>Mapped file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMapped_file()
+ * @generated
+ * @ordered
+ */
+ protected static final int MAPPED_FILE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getMapped_file() <em>Mapped file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMapped_file()
+ * @generated
+ * @ordered
+ */
+ protected int mapped_file = MAPPED_FILE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_inactive_file() <em>Total inactive file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_inactive_file()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_INACTIVE_FILE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_inactive_file() <em>Total inactive file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_inactive_file()
+ * @generated
+ * @ordered
+ */
+ protected int total_inactive_file = TOTAL_INACTIVE_FILE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPgpgout() <em>Pgpgout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPgpgout()
+ * @generated
+ * @ordered
+ */
+ protected static final int PGPGOUT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPgpgout() <em>Pgpgout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPgpgout()
+ * @generated
+ * @ordered
+ */
+ protected int pgpgout = PGPGOUT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRss() <em>Rss</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRss()
+ * @generated
+ * @ordered
+ */
+ protected static final int RSS_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getRss() <em>Rss</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRss()
+ * @generated
+ * @ordered
+ */
+ protected int rss = RSS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_mapped_file() <em>Total mapped file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_mapped_file()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_MAPPED_FILE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_mapped_file() <em>Total mapped file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_mapped_file()
+ * @generated
+ * @ordered
+ */
+ protected int total_mapped_file = TOTAL_MAPPED_FILE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getWriteback() <em>Writeback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWriteback()
+ * @generated
+ * @ordered
+ */
+ protected static final int WRITEBACK_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getWriteback() <em>Writeback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWriteback()
+ * @generated
+ * @ordered
+ */
+ protected int writeback = WRITEBACK_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getUnevictable() <em>Unevictable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUnevictable()
+ * @generated
+ * @ordered
+ */
+ protected static final int UNEVICTABLE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getUnevictable() <em>Unevictable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUnevictable()
+ * @generated
+ * @ordered
+ */
+ protected int unevictable = UNEVICTABLE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPgpgin() <em>Pgpgin</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPgpgin()
+ * @generated
+ * @ordered
+ */
+ protected static final int PGPGIN_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPgpgin() <em>Pgpgin</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPgpgin()
+ * @generated
+ * @ordered
+ */
+ protected int pgpgin = PGPGIN_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_unevictable() <em>Total unevictable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_unevictable()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_UNEVICTABLE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_unevictable() <em>Total unevictable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_unevictable()
+ * @generated
+ * @ordered
+ */
+ protected int total_unevictable = TOTAL_UNEVICTABLE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPgmajfault() <em>Pgmajfault</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPgmajfault()
+ * @generated
+ * @ordered
+ */
+ protected static final int PGMAJFAULT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPgmajfault() <em>Pgmajfault</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPgmajfault()
+ * @generated
+ * @ordered
+ */
+ protected int pgmajfault = PGMAJFAULT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_rss() <em>Total rss</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_rss()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_RSS_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_rss() <em>Total rss</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_rss()
+ * @generated
+ * @ordered
+ */
+ protected int total_rss = TOTAL_RSS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_rss_huge() <em>Total rss huge</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_rss_huge()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_RSS_HUGE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_rss_huge() <em>Total rss huge</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_rss_huge()
+ * @generated
+ * @ordered
+ */
+ protected int total_rss_huge = TOTAL_RSS_HUGE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_writeback() <em>Total writeback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_writeback()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_WRITEBACK_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_writeback() <em>Total writeback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_writeback()
+ * @generated
+ * @ordered
+ */
+ protected int total_writeback = TOTAL_WRITEBACK_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_inactive_anon() <em>Total inactive anon</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_inactive_anon()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_INACTIVE_ANON_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_inactive_anon() <em>Total inactive anon</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_inactive_anon()
+ * @generated
+ * @ordered
+ */
+ protected int total_inactive_anon = TOTAL_INACTIVE_ANON_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRss_huge() <em>Rss huge</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRss_huge()
+ * @generated
+ * @ordered
+ */
+ protected static final int RSS_HUGE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getRss_huge() <em>Rss huge</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRss_huge()
+ * @generated
+ * @ordered
+ */
+ protected int rss_huge = RSS_HUGE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getHierarchical_memory_limit() <em>Hierarchical memory limit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHierarchical_memory_limit()
+ * @generated
+ * @ordered
+ */
+ protected static final int HIERARCHICAL_MEMORY_LIMIT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getHierarchical_memory_limit() <em>Hierarchical memory limit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHierarchical_memory_limit()
+ * @generated
+ * @ordered
+ */
+ protected int hierarchical_memory_limit = HIERARCHICAL_MEMORY_LIMIT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_pgfault() <em>Total pgfault</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_pgfault()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_PGFAULT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_pgfault() <em>Total pgfault</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_pgfault()
+ * @generated
+ * @ordered
+ */
+ protected int total_pgfault = TOTAL_PGFAULT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_active_file() <em>Total active file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_active_file()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_ACTIVE_FILE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_active_file() <em>Total active file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_active_file()
+ * @generated
+ * @ordered
+ */
+ protected int total_active_file = TOTAL_ACTIVE_FILE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getActive_anon() <em>Active anon</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActive_anon()
+ * @generated
+ * @ordered
+ */
+ protected static final int ACTIVE_ANON_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getActive_anon() <em>Active anon</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActive_anon()
+ * @generated
+ * @ordered
+ */
+ protected int active_anon = ACTIVE_ANON_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_active_anon() <em>Total active anon</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_active_anon()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_ACTIVE_ANON_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_active_anon() <em>Total active anon</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_active_anon()
+ * @generated
+ * @ordered
+ */
+ protected int total_active_anon = TOTAL_ACTIVE_ANON_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_pgpgout() <em>Total pgpgout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_pgpgout()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_PGPGOUT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_pgpgout() <em>Total pgpgout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_pgpgout()
+ * @generated
+ * @ordered
+ */
+ protected int total_pgpgout = TOTAL_PGPGOUT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_cache() <em>Total cache</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_cache()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_CACHE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_cache() <em>Total cache</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_cache()
+ * @generated
+ * @ordered
+ */
+ protected int total_cache = TOTAL_CACHE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getInactive_anon() <em>Inactive anon</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInactive_anon()
+ * @generated
+ * @ordered
+ */
+ protected static final int INACTIVE_ANON_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getInactive_anon() <em>Inactive anon</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInactive_anon()
+ * @generated
+ * @ordered
+ */
+ protected int inactive_anon = INACTIVE_ANON_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getActive_file() <em>Active file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActive_file()
+ * @generated
+ * @ordered
+ */
+ protected static final int ACTIVE_FILE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getActive_file() <em>Active file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActive_file()
+ * @generated
+ * @ordered
+ */
+ protected int active_file = ACTIVE_FILE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPgfault() <em>Pgfault</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPgfault()
+ * @generated
+ * @ordered
+ */
+ protected static final int PGFAULT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPgfault() <em>Pgfault</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPgfault()
+ * @generated
+ * @ordered
+ */
+ protected int pgfault = PGFAULT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getInactive_file() <em>Inactive file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInactive_file()
+ * @generated
+ * @ordered
+ */
+ protected static final int INACTIVE_FILE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getInactive_file() <em>Inactive file</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInactive_file()
+ * @generated
+ * @ordered
+ */
+ protected int inactive_file = INACTIVE_FILE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTotal_pgpgin() <em>Total pgpgin</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_pgpgin()
+ * @generated
+ * @ordered
+ */
+ protected static final int TOTAL_PGPGIN_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTotal_pgpgin() <em>Total pgpgin</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTotal_pgpgin()
+ * @generated
+ * @ordered
+ */
+ protected int total_pgpgin = TOTAL_PGPGIN_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ContainerMemoryStatsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.CONTAINER_MEMORY_STATS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_pgmajfault() {
+ return total_pgmajfault;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_pgmajfault(int newTotal_pgmajfault) {
+ int oldTotal_pgmajfault = total_pgmajfault;
+ total_pgmajfault = newTotal_pgmajfault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGMAJFAULT, oldTotal_pgmajfault, total_pgmajfault));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getCache() {
+ return cache;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCache(int newCache) {
+ int oldCache = cache;
+ cache = newCache;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__CACHE, oldCache, cache));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMapped_file() {
+ return mapped_file;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMapped_file(int newMapped_file) {
+ int oldMapped_file = mapped_file;
+ mapped_file = newMapped_file;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__MAPPED_FILE, oldMapped_file, mapped_file));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_inactive_file() {
+ return total_inactive_file;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_inactive_file(int newTotal_inactive_file) {
+ int oldTotal_inactive_file = total_inactive_file;
+ total_inactive_file = newTotal_inactive_file;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_FILE, oldTotal_inactive_file, total_inactive_file));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPgpgout() {
+ return pgpgout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPgpgout(int newPgpgout) {
+ int oldPgpgout = pgpgout;
+ pgpgout = newPgpgout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__PGPGOUT, oldPgpgout, pgpgout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getRss() {
+ return rss;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRss(int newRss) {
+ int oldRss = rss;
+ rss = newRss;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__RSS, oldRss, rss));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_mapped_file() {
+ return total_mapped_file;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_mapped_file(int newTotal_mapped_file) {
+ int oldTotal_mapped_file = total_mapped_file;
+ total_mapped_file = newTotal_mapped_file;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_MAPPED_FILE, oldTotal_mapped_file, total_mapped_file));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getWriteback() {
+ return writeback;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWriteback(int newWriteback) {
+ int oldWriteback = writeback;
+ writeback = newWriteback;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__WRITEBACK, oldWriteback, writeback));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getUnevictable() {
+ return unevictable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUnevictable(int newUnevictable) {
+ int oldUnevictable = unevictable;
+ unevictable = newUnevictable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__UNEVICTABLE, oldUnevictable, unevictable));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPgpgin() {
+ return pgpgin;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPgpgin(int newPgpgin) {
+ int oldPgpgin = pgpgin;
+ pgpgin = newPgpgin;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__PGPGIN, oldPgpgin, pgpgin));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_unevictable() {
+ return total_unevictable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_unevictable(int newTotal_unevictable) {
+ int oldTotal_unevictable = total_unevictable;
+ total_unevictable = newTotal_unevictable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_UNEVICTABLE, oldTotal_unevictable, total_unevictable));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPgmajfault() {
+ return pgmajfault;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPgmajfault(int newPgmajfault) {
+ int oldPgmajfault = pgmajfault;
+ pgmajfault = newPgmajfault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__PGMAJFAULT, oldPgmajfault, pgmajfault));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_rss() {
+ return total_rss;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_rss(int newTotal_rss) {
+ int oldTotal_rss = total_rss;
+ total_rss = newTotal_rss;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS, oldTotal_rss, total_rss));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_rss_huge() {
+ return total_rss_huge;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_rss_huge(int newTotal_rss_huge) {
+ int oldTotal_rss_huge = total_rss_huge;
+ total_rss_huge = newTotal_rss_huge;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS_HUGE, oldTotal_rss_huge, total_rss_huge));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_writeback() {
+ return total_writeback;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_writeback(int newTotal_writeback) {
+ int oldTotal_writeback = total_writeback;
+ total_writeback = newTotal_writeback;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_WRITEBACK, oldTotal_writeback, total_writeback));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_inactive_anon() {
+ return total_inactive_anon;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_inactive_anon(int newTotal_inactive_anon) {
+ int oldTotal_inactive_anon = total_inactive_anon;
+ total_inactive_anon = newTotal_inactive_anon;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_ANON, oldTotal_inactive_anon, total_inactive_anon));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getRss_huge() {
+ return rss_huge;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRss_huge(int newRss_huge) {
+ int oldRss_huge = rss_huge;
+ rss_huge = newRss_huge;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__RSS_HUGE, oldRss_huge, rss_huge));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getHierarchical_memory_limit() {
+ return hierarchical_memory_limit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHierarchical_memory_limit(int newHierarchical_memory_limit) {
+ int oldHierarchical_memory_limit = hierarchical_memory_limit;
+ hierarchical_memory_limit = newHierarchical_memory_limit;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__HIERARCHICAL_MEMORY_LIMIT, oldHierarchical_memory_limit, hierarchical_memory_limit));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_pgfault() {
+ return total_pgfault;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_pgfault(int newTotal_pgfault) {
+ int oldTotal_pgfault = total_pgfault;
+ total_pgfault = newTotal_pgfault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGFAULT, oldTotal_pgfault, total_pgfault));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_active_file() {
+ return total_active_file;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_active_file(int newTotal_active_file) {
+ int oldTotal_active_file = total_active_file;
+ total_active_file = newTotal_active_file;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_FILE, oldTotal_active_file, total_active_file));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getActive_anon() {
+ return active_anon;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActive_anon(int newActive_anon) {
+ int oldActive_anon = active_anon;
+ active_anon = newActive_anon;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_ANON, oldActive_anon, active_anon));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_active_anon() {
+ return total_active_anon;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_active_anon(int newTotal_active_anon) {
+ int oldTotal_active_anon = total_active_anon;
+ total_active_anon = newTotal_active_anon;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_ANON, oldTotal_active_anon, total_active_anon));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_pgpgout() {
+ return total_pgpgout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_pgpgout(int newTotal_pgpgout) {
+ int oldTotal_pgpgout = total_pgpgout;
+ total_pgpgout = newTotal_pgpgout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGOUT, oldTotal_pgpgout, total_pgpgout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_cache() {
+ return total_cache;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_cache(int newTotal_cache) {
+ int oldTotal_cache = total_cache;
+ total_cache = newTotal_cache;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_CACHE, oldTotal_cache, total_cache));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getInactive_anon() {
+ return inactive_anon;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInactive_anon(int newInactive_anon) {
+ int oldInactive_anon = inactive_anon;
+ inactive_anon = newInactive_anon;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_ANON, oldInactive_anon, inactive_anon));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getActive_file() {
+ return active_file;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActive_file(int newActive_file) {
+ int oldActive_file = active_file;
+ active_file = newActive_file;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_FILE, oldActive_file, active_file));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPgfault() {
+ return pgfault;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPgfault(int newPgfault) {
+ int oldPgfault = pgfault;
+ pgfault = newPgfault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__PGFAULT, oldPgfault, pgfault));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getInactive_file() {
+ return inactive_file;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInactive_file(int newInactive_file) {
+ int oldInactive_file = inactive_file;
+ inactive_file = newInactive_file;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_FILE, oldInactive_file, inactive_file));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTotal_pgpgin() {
+ return total_pgpgin;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTotal_pgpgin(int newTotal_pgpgin) {
+ int oldTotal_pgpgin = total_pgpgin;
+ total_pgpgin = newTotal_pgpgin;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGIN, oldTotal_pgpgin, total_pgpgin));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGMAJFAULT:
+ return getTotal_pgmajfault();
+ case DockerPackage.CONTAINER_MEMORY_STATS__CACHE:
+ return getCache();
+ case DockerPackage.CONTAINER_MEMORY_STATS__MAPPED_FILE:
+ return getMapped_file();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_FILE:
+ return getTotal_inactive_file();
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGPGOUT:
+ return getPgpgout();
+ case DockerPackage.CONTAINER_MEMORY_STATS__RSS:
+ return getRss();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_MAPPED_FILE:
+ return getTotal_mapped_file();
+ case DockerPackage.CONTAINER_MEMORY_STATS__WRITEBACK:
+ return getWriteback();
+ case DockerPackage.CONTAINER_MEMORY_STATS__UNEVICTABLE:
+ return getUnevictable();
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGPGIN:
+ return getPgpgin();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_UNEVICTABLE:
+ return getTotal_unevictable();
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGMAJFAULT:
+ return getPgmajfault();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS:
+ return getTotal_rss();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS_HUGE:
+ return getTotal_rss_huge();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_WRITEBACK:
+ return getTotal_writeback();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_ANON:
+ return getTotal_inactive_anon();
+ case DockerPackage.CONTAINER_MEMORY_STATS__RSS_HUGE:
+ return getRss_huge();
+ case DockerPackage.CONTAINER_MEMORY_STATS__HIERARCHICAL_MEMORY_LIMIT:
+ return getHierarchical_memory_limit();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGFAULT:
+ return getTotal_pgfault();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_FILE:
+ return getTotal_active_file();
+ case DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_ANON:
+ return getActive_anon();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_ANON:
+ return getTotal_active_anon();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGOUT:
+ return getTotal_pgpgout();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_CACHE:
+ return getTotal_cache();
+ case DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_ANON:
+ return getInactive_anon();
+ case DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_FILE:
+ return getActive_file();
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGFAULT:
+ return getPgfault();
+ case DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_FILE:
+ return getInactive_file();
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGIN:
+ return getTotal_pgpgin();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGMAJFAULT:
+ setTotal_pgmajfault((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__CACHE:
+ setCache((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__MAPPED_FILE:
+ setMapped_file((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_FILE:
+ setTotal_inactive_file((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGPGOUT:
+ setPgpgout((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__RSS:
+ setRss((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_MAPPED_FILE:
+ setTotal_mapped_file((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__WRITEBACK:
+ setWriteback((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__UNEVICTABLE:
+ setUnevictable((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGPGIN:
+ setPgpgin((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_UNEVICTABLE:
+ setTotal_unevictable((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGMAJFAULT:
+ setPgmajfault((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS:
+ setTotal_rss((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS_HUGE:
+ setTotal_rss_huge((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_WRITEBACK:
+ setTotal_writeback((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_ANON:
+ setTotal_inactive_anon((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__RSS_HUGE:
+ setRss_huge((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__HIERARCHICAL_MEMORY_LIMIT:
+ setHierarchical_memory_limit((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGFAULT:
+ setTotal_pgfault((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_FILE:
+ setTotal_active_file((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_ANON:
+ setActive_anon((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_ANON:
+ setTotal_active_anon((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGOUT:
+ setTotal_pgpgout((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_CACHE:
+ setTotal_cache((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_ANON:
+ setInactive_anon((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_FILE:
+ setActive_file((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGFAULT:
+ setPgfault((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_FILE:
+ setInactive_file((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGIN:
+ setTotal_pgpgin((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGMAJFAULT:
+ setTotal_pgmajfault(TOTAL_PGMAJFAULT_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__CACHE:
+ setCache(CACHE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__MAPPED_FILE:
+ setMapped_file(MAPPED_FILE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_FILE:
+ setTotal_inactive_file(TOTAL_INACTIVE_FILE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGPGOUT:
+ setPgpgout(PGPGOUT_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__RSS:
+ setRss(RSS_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_MAPPED_FILE:
+ setTotal_mapped_file(TOTAL_MAPPED_FILE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__WRITEBACK:
+ setWriteback(WRITEBACK_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__UNEVICTABLE:
+ setUnevictable(UNEVICTABLE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGPGIN:
+ setPgpgin(PGPGIN_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_UNEVICTABLE:
+ setTotal_unevictable(TOTAL_UNEVICTABLE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGMAJFAULT:
+ setPgmajfault(PGMAJFAULT_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS:
+ setTotal_rss(TOTAL_RSS_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS_HUGE:
+ setTotal_rss_huge(TOTAL_RSS_HUGE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_WRITEBACK:
+ setTotal_writeback(TOTAL_WRITEBACK_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_ANON:
+ setTotal_inactive_anon(TOTAL_INACTIVE_ANON_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__RSS_HUGE:
+ setRss_huge(RSS_HUGE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__HIERARCHICAL_MEMORY_LIMIT:
+ setHierarchical_memory_limit(HIERARCHICAL_MEMORY_LIMIT_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGFAULT:
+ setTotal_pgfault(TOTAL_PGFAULT_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_FILE:
+ setTotal_active_file(TOTAL_ACTIVE_FILE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_ANON:
+ setActive_anon(ACTIVE_ANON_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_ANON:
+ setTotal_active_anon(TOTAL_ACTIVE_ANON_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGOUT:
+ setTotal_pgpgout(TOTAL_PGPGOUT_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_CACHE:
+ setTotal_cache(TOTAL_CACHE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_ANON:
+ setInactive_anon(INACTIVE_ANON_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_FILE:
+ setActive_file(ACTIVE_FILE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGFAULT:
+ setPgfault(PGFAULT_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_FILE:
+ setInactive_file(INACTIVE_FILE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGIN:
+ setTotal_pgpgin(TOTAL_PGPGIN_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGMAJFAULT:
+ return total_pgmajfault != TOTAL_PGMAJFAULT_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__CACHE:
+ return cache != CACHE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__MAPPED_FILE:
+ return mapped_file != MAPPED_FILE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_FILE:
+ return total_inactive_file != TOTAL_INACTIVE_FILE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGPGOUT:
+ return pgpgout != PGPGOUT_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__RSS:
+ return rss != RSS_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_MAPPED_FILE:
+ return total_mapped_file != TOTAL_MAPPED_FILE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__WRITEBACK:
+ return writeback != WRITEBACK_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__UNEVICTABLE:
+ return unevictable != UNEVICTABLE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGPGIN:
+ return pgpgin != PGPGIN_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_UNEVICTABLE:
+ return total_unevictable != TOTAL_UNEVICTABLE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGMAJFAULT:
+ return pgmajfault != PGMAJFAULT_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS:
+ return total_rss != TOTAL_RSS_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_RSS_HUGE:
+ return total_rss_huge != TOTAL_RSS_HUGE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_WRITEBACK:
+ return total_writeback != TOTAL_WRITEBACK_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_ANON:
+ return total_inactive_anon != TOTAL_INACTIVE_ANON_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__RSS_HUGE:
+ return rss_huge != RSS_HUGE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__HIERARCHICAL_MEMORY_LIMIT:
+ return hierarchical_memory_limit != HIERARCHICAL_MEMORY_LIMIT_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGFAULT:
+ return total_pgfault != TOTAL_PGFAULT_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_FILE:
+ return total_active_file != TOTAL_ACTIVE_FILE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_ANON:
+ return active_anon != ACTIVE_ANON_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_ANON:
+ return total_active_anon != TOTAL_ACTIVE_ANON_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGOUT:
+ return total_pgpgout != TOTAL_PGPGOUT_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_CACHE:
+ return total_cache != TOTAL_CACHE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_ANON:
+ return inactive_anon != INACTIVE_ANON_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__ACTIVE_FILE:
+ return active_file != ACTIVE_FILE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__PGFAULT:
+ return pgfault != PGFAULT_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__INACTIVE_FILE:
+ return inactive_file != INACTIVE_FILE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_STATS__TOTAL_PGPGIN:
+ return total_pgpgin != TOTAL_PGPGIN_EDEFAULT;
+ }
+ 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(" (total_pgmajfault: ");
+ result.append(total_pgmajfault);
+ result.append(", cache: ");
+ result.append(cache);
+ result.append(", mapped_file: ");
+ result.append(mapped_file);
+ result.append(", total_inactive_file: ");
+ result.append(total_inactive_file);
+ result.append(", pgpgout: ");
+ result.append(pgpgout);
+ result.append(", rss: ");
+ result.append(rss);
+ result.append(", total_mapped_file: ");
+ result.append(total_mapped_file);
+ result.append(", writeback: ");
+ result.append(writeback);
+ result.append(", unevictable: ");
+ result.append(unevictable);
+ result.append(", pgpgin: ");
+ result.append(pgpgin);
+ result.append(", total_unevictable: ");
+ result.append(total_unevictable);
+ result.append(", pgmajfault: ");
+ result.append(pgmajfault);
+ result.append(", total_rss: ");
+ result.append(total_rss);
+ result.append(", total_rss_huge: ");
+ result.append(total_rss_huge);
+ result.append(", total_writeback: ");
+ result.append(total_writeback);
+ result.append(", total_inactive_anon: ");
+ result.append(total_inactive_anon);
+ result.append(", rss_huge: ");
+ result.append(rss_huge);
+ result.append(", hierarchical_memory_limit: ");
+ result.append(hierarchical_memory_limit);
+ result.append(", total_pgfault: ");
+ result.append(total_pgfault);
+ result.append(", total_active_file: ");
+ result.append(total_active_file);
+ result.append(", active_anon: ");
+ result.append(active_anon);
+ result.append(", total_active_anon: ");
+ result.append(total_active_anon);
+ result.append(", total_pgpgout: ");
+ result.append(total_pgpgout);
+ result.append(", total_cache: ");
+ result.append(total_cache);
+ result.append(", inactive_anon: ");
+ result.append(inactive_anon);
+ result.append(", active_file: ");
+ result.append(active_file);
+ result.append(", pgfault: ");
+ result.append(pgfault);
+ result.append(", inactive_file: ");
+ result.append(inactive_file);
+ result.append(", total_pgpgin: ");
+ result.append(total_pgpgin);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ContainerMemoryStatsImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerMemoryUsageImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerMemoryUsageImpl.java
new file mode 100644
index 0000000..37d99af
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerMemoryUsageImpl.java
@@ -0,0 +1,427 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.ContainerMemoryStats;
+import org.openecomp.ncomp.docker.ContainerMemoryUsage;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+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>Container Memory Usage</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryUsageImpl#getMemstats <em>Memstats</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryUsageImpl#getMax_usage <em>Max usage</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryUsageImpl#getUsage <em>Usage</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryUsageImpl#getFailcnt <em>Failcnt</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerMemoryUsageImpl#getLimit <em>Limit</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ContainerMemoryUsageImpl extends MinimalEObjectImpl.Container implements ContainerMemoryUsage {
+ /**
+ * The cached value of the '{@link #getMemstats() <em>Memstats</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMemstats()
+ * @generated
+ * @ordered
+ */
+ protected ContainerMemoryStats memstats;
+
+ /**
+ * The default value of the '{@link #getMax_usage() <em>Max usage</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMax_usage()
+ * @generated
+ * @ordered
+ */
+ protected static final int MAX_USAGE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getMax_usage() <em>Max usage</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMax_usage()
+ * @generated
+ * @ordered
+ */
+ protected int max_usage = MAX_USAGE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getUsage() <em>Usage</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUsage()
+ * @generated
+ * @ordered
+ */
+ protected static final int USAGE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getUsage() <em>Usage</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUsage()
+ * @generated
+ * @ordered
+ */
+ protected int usage = USAGE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getFailcnt() <em>Failcnt</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFailcnt()
+ * @generated
+ * @ordered
+ */
+ protected static final int FAILCNT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getFailcnt() <em>Failcnt</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFailcnt()
+ * @generated
+ * @ordered
+ */
+ protected int failcnt = FAILCNT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getLimit() <em>Limit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLimit()
+ * @generated
+ * @ordered
+ */
+ protected static final int LIMIT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getLimit() <em>Limit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLimit()
+ * @generated
+ * @ordered
+ */
+ protected int limit = LIMIT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ContainerMemoryUsageImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.CONTAINER_MEMORY_USAGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerMemoryStats getMemstats() {
+ return memstats;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMemstats(ContainerMemoryStats newMemstats, NotificationChain msgs) {
+ ContainerMemoryStats oldMemstats = memstats;
+ memstats = newMemstats;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_USAGE__MEMSTATS, oldMemstats, newMemstats);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMemstats(ContainerMemoryStats newMemstats) {
+ if (newMemstats != memstats) {
+ NotificationChain msgs = null;
+ if (memstats != null)
+ msgs = ((InternalEObject)memstats).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DockerPackage.CONTAINER_MEMORY_USAGE__MEMSTATS, null, msgs);
+ if (newMemstats != null)
+ msgs = ((InternalEObject)newMemstats).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DockerPackage.CONTAINER_MEMORY_USAGE__MEMSTATS, null, msgs);
+ msgs = basicSetMemstats(newMemstats, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_USAGE__MEMSTATS, newMemstats, newMemstats));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMax_usage() {
+ return max_usage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMax_usage(int newMax_usage) {
+ int oldMax_usage = max_usage;
+ max_usage = newMax_usage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_USAGE__MAX_USAGE, oldMax_usage, max_usage));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getUsage() {
+ return usage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUsage(int newUsage) {
+ int oldUsage = usage;
+ usage = newUsage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_USAGE__USAGE, oldUsage, usage));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getFailcnt() {
+ return failcnt;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFailcnt(int newFailcnt) {
+ int oldFailcnt = failcnt;
+ failcnt = newFailcnt;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_USAGE__FAILCNT, oldFailcnt, failcnt));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getLimit() {
+ return limit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLimit(int newLimit) {
+ int oldLimit = limit;
+ limit = newLimit;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_MEMORY_USAGE__LIMIT, oldLimit, limit));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_MEMORY_USAGE__MEMSTATS:
+ return basicSetMemstats(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_MEMORY_USAGE__MEMSTATS:
+ return getMemstats();
+ case DockerPackage.CONTAINER_MEMORY_USAGE__MAX_USAGE:
+ return getMax_usage();
+ case DockerPackage.CONTAINER_MEMORY_USAGE__USAGE:
+ return getUsage();
+ case DockerPackage.CONTAINER_MEMORY_USAGE__FAILCNT:
+ return getFailcnt();
+ case DockerPackage.CONTAINER_MEMORY_USAGE__LIMIT:
+ return getLimit();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_MEMORY_USAGE__MEMSTATS:
+ setMemstats((ContainerMemoryStats)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__MAX_USAGE:
+ setMax_usage((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__USAGE:
+ setUsage((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__FAILCNT:
+ setFailcnt((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__LIMIT:
+ setLimit((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_MEMORY_USAGE__MEMSTATS:
+ setMemstats((ContainerMemoryStats)null);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__MAX_USAGE:
+ setMax_usage(MAX_USAGE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__USAGE:
+ setUsage(USAGE_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__FAILCNT:
+ setFailcnt(FAILCNT_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__LIMIT:
+ setLimit(LIMIT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_MEMORY_USAGE__MEMSTATS:
+ return memstats != null;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__MAX_USAGE:
+ return max_usage != MAX_USAGE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__USAGE:
+ return usage != USAGE_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__FAILCNT:
+ return failcnt != FAILCNT_EDEFAULT;
+ case DockerPackage.CONTAINER_MEMORY_USAGE__LIMIT:
+ return limit != LIMIT_EDEFAULT;
+ }
+ 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(" (max_usage: ");
+ result.append(max_usage);
+ result.append(", usage: ");
+ result.append(usage);
+ result.append(", failcnt: ");
+ result.append(failcnt);
+ result.append(", limit: ");
+ result.append(limit);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ContainerMemoryUsageImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerNetworkStatsImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerNetworkStatsImpl.java
new file mode 100644
index 0000000..6d112b7
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerNetworkStatsImpl.java
@@ -0,0 +1,616 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.ContainerNetworkStats;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+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>Container Network Stats</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerNetworkStatsImpl#getIntf <em>Intf</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerNetworkStatsImpl#getRx_bytes <em>Rx bytes</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerNetworkStatsImpl#getRx_dropped <em>Rx dropped</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerNetworkStatsImpl#getRx_errors <em>Rx errors</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerNetworkStatsImpl#getRx_packets <em>Rx packets</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerNetworkStatsImpl#getTx_bytes <em>Tx bytes</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerNetworkStatsImpl#getTx_dropped <em>Tx dropped</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerNetworkStatsImpl#getTx_errors <em>Tx errors</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerNetworkStatsImpl#getTx_packets <em>Tx packets</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ContainerNetworkStatsImpl extends MinimalEObjectImpl.Container implements ContainerNetworkStats {
+ /**
+ * The default value of the '{@link #getIntf() <em>Intf</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIntf()
+ * @generated
+ * @ordered
+ */
+ protected static final String INTF_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getIntf() <em>Intf</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIntf()
+ * @generated
+ * @ordered
+ */
+ protected String intf = INTF_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRx_bytes() <em>Rx bytes</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRx_bytes()
+ * @generated
+ * @ordered
+ */
+ protected static final int RX_BYTES_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getRx_bytes() <em>Rx bytes</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRx_bytes()
+ * @generated
+ * @ordered
+ */
+ protected int rx_bytes = RX_BYTES_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRx_dropped() <em>Rx dropped</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRx_dropped()
+ * @generated
+ * @ordered
+ */
+ protected static final int RX_DROPPED_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getRx_dropped() <em>Rx dropped</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRx_dropped()
+ * @generated
+ * @ordered
+ */
+ protected int rx_dropped = RX_DROPPED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRx_errors() <em>Rx errors</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRx_errors()
+ * @generated
+ * @ordered
+ */
+ protected static final int RX_ERRORS_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getRx_errors() <em>Rx errors</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRx_errors()
+ * @generated
+ * @ordered
+ */
+ protected int rx_errors = RX_ERRORS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRx_packets() <em>Rx packets</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRx_packets()
+ * @generated
+ * @ordered
+ */
+ protected static final int RX_PACKETS_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getRx_packets() <em>Rx packets</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRx_packets()
+ * @generated
+ * @ordered
+ */
+ protected int rx_packets = RX_PACKETS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTx_bytes() <em>Tx bytes</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTx_bytes()
+ * @generated
+ * @ordered
+ */
+ protected static final int TX_BYTES_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTx_bytes() <em>Tx bytes</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTx_bytes()
+ * @generated
+ * @ordered
+ */
+ protected int tx_bytes = TX_BYTES_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTx_dropped() <em>Tx dropped</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTx_dropped()
+ * @generated
+ * @ordered
+ */
+ protected static final int TX_DROPPED_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTx_dropped() <em>Tx dropped</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTx_dropped()
+ * @generated
+ * @ordered
+ */
+ protected int tx_dropped = TX_DROPPED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTx_errors() <em>Tx errors</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTx_errors()
+ * @generated
+ * @ordered
+ */
+ protected static final int TX_ERRORS_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTx_errors() <em>Tx errors</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTx_errors()
+ * @generated
+ * @ordered
+ */
+ protected int tx_errors = TX_ERRORS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTx_packets() <em>Tx packets</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTx_packets()
+ * @generated
+ * @ordered
+ */
+ protected static final int TX_PACKETS_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTx_packets() <em>Tx packets</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTx_packets()
+ * @generated
+ * @ordered
+ */
+ protected int tx_packets = TX_PACKETS_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ContainerNetworkStatsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.CONTAINER_NETWORK_STATS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getIntf() {
+ return intf;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIntf(String newIntf) {
+ String oldIntf = intf;
+ intf = newIntf;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_NETWORK_STATS__INTF, oldIntf, intf));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getRx_bytes() {
+ return rx_bytes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRx_bytes(int newRx_bytes) {
+ int oldRx_bytes = rx_bytes;
+ rx_bytes = newRx_bytes;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_NETWORK_STATS__RX_BYTES, oldRx_bytes, rx_bytes));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getRx_dropped() {
+ return rx_dropped;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRx_dropped(int newRx_dropped) {
+ int oldRx_dropped = rx_dropped;
+ rx_dropped = newRx_dropped;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_NETWORK_STATS__RX_DROPPED, oldRx_dropped, rx_dropped));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getRx_errors() {
+ return rx_errors;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRx_errors(int newRx_errors) {
+ int oldRx_errors = rx_errors;
+ rx_errors = newRx_errors;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_NETWORK_STATS__RX_ERRORS, oldRx_errors, rx_errors));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getRx_packets() {
+ return rx_packets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRx_packets(int newRx_packets) {
+ int oldRx_packets = rx_packets;
+ rx_packets = newRx_packets;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_NETWORK_STATS__RX_PACKETS, oldRx_packets, rx_packets));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTx_bytes() {
+ return tx_bytes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTx_bytes(int newTx_bytes) {
+ int oldTx_bytes = tx_bytes;
+ tx_bytes = newTx_bytes;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_NETWORK_STATS__TX_BYTES, oldTx_bytes, tx_bytes));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTx_dropped() {
+ return tx_dropped;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTx_dropped(int newTx_dropped) {
+ int oldTx_dropped = tx_dropped;
+ tx_dropped = newTx_dropped;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_NETWORK_STATS__TX_DROPPED, oldTx_dropped, tx_dropped));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTx_errors() {
+ return tx_errors;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTx_errors(int newTx_errors) {
+ int oldTx_errors = tx_errors;
+ tx_errors = newTx_errors;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_NETWORK_STATS__TX_ERRORS, oldTx_errors, tx_errors));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTx_packets() {
+ return tx_packets;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTx_packets(int newTx_packets) {
+ int oldTx_packets = tx_packets;
+ tx_packets = newTx_packets;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_NETWORK_STATS__TX_PACKETS, oldTx_packets, tx_packets));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_NETWORK_STATS__INTF:
+ return getIntf();
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_BYTES:
+ return getRx_bytes();
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_DROPPED:
+ return getRx_dropped();
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_ERRORS:
+ return getRx_errors();
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_PACKETS:
+ return getRx_packets();
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_BYTES:
+ return getTx_bytes();
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_DROPPED:
+ return getTx_dropped();
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_ERRORS:
+ return getTx_errors();
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_PACKETS:
+ return getTx_packets();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_NETWORK_STATS__INTF:
+ setIntf((String)newValue);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_BYTES:
+ setRx_bytes((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_DROPPED:
+ setRx_dropped((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_ERRORS:
+ setRx_errors((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_PACKETS:
+ setRx_packets((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_BYTES:
+ setTx_bytes((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_DROPPED:
+ setTx_dropped((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_ERRORS:
+ setTx_errors((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_PACKETS:
+ setTx_packets((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_NETWORK_STATS__INTF:
+ setIntf(INTF_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_BYTES:
+ setRx_bytes(RX_BYTES_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_DROPPED:
+ setRx_dropped(RX_DROPPED_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_ERRORS:
+ setRx_errors(RX_ERRORS_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_PACKETS:
+ setRx_packets(RX_PACKETS_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_BYTES:
+ setTx_bytes(TX_BYTES_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_DROPPED:
+ setTx_dropped(TX_DROPPED_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_ERRORS:
+ setTx_errors(TX_ERRORS_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_PACKETS:
+ setTx_packets(TX_PACKETS_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_NETWORK_STATS__INTF:
+ return INTF_EDEFAULT == null ? intf != null : !INTF_EDEFAULT.equals(intf);
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_BYTES:
+ return rx_bytes != RX_BYTES_EDEFAULT;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_DROPPED:
+ return rx_dropped != RX_DROPPED_EDEFAULT;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_ERRORS:
+ return rx_errors != RX_ERRORS_EDEFAULT;
+ case DockerPackage.CONTAINER_NETWORK_STATS__RX_PACKETS:
+ return rx_packets != RX_PACKETS_EDEFAULT;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_BYTES:
+ return tx_bytes != TX_BYTES_EDEFAULT;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_DROPPED:
+ return tx_dropped != TX_DROPPED_EDEFAULT;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_ERRORS:
+ return tx_errors != TX_ERRORS_EDEFAULT;
+ case DockerPackage.CONTAINER_NETWORK_STATS__TX_PACKETS:
+ return tx_packets != TX_PACKETS_EDEFAULT;
+ }
+ 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(" (intf: ");
+ result.append(intf);
+ result.append(", rx_bytes: ");
+ result.append(rx_bytes);
+ result.append(", rx_dropped: ");
+ result.append(rx_dropped);
+ result.append(", rx_errors: ");
+ result.append(rx_errors);
+ result.append(", rx_packets: ");
+ result.append(rx_packets);
+ result.append(", tx_bytes: ");
+ result.append(tx_bytes);
+ result.append(", tx_dropped: ");
+ result.append(tx_dropped);
+ result.append(", tx_errors: ");
+ result.append(tx_errors);
+ result.append(", tx_packets: ");
+ result.append(tx_packets);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ContainerNetworkStatsImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerOptionsImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerOptionsImpl.java
new file mode 100644
index 0000000..f4cac7f
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerOptionsImpl.java
@@ -0,0 +1,521 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.impl.NamedEntityImpl;
+import org.openecomp.ncomp.docker.ContainerOptions;
+import org.openecomp.ncomp.docker.ContainerPortBindings;
+import org.openecomp.ncomp.docker.ContainerRestartPolicy;
+import org.openecomp.ncomp.docker.DockerPackage;
+import java.util.Collection;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Container Options</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerOptionsImpl#getImageNm <em>Image Nm</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerOptionsImpl#getEnv <em>Env</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerOptionsImpl#getVolumes <em>Volumes</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerOptionsImpl#getLinks <em>Links</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerOptionsImpl#isSetContainerName <em>Set Container Name</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerOptionsImpl#isPublishAllPorts <em>Publish All Ports</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerOptionsImpl#getPortBindings <em>Port Bindings</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerOptionsImpl#getAutoRestart <em>Auto Restart</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ContainerOptionsImpl extends NamedEntityImpl implements ContainerOptions {
+ /**
+ * The default value of the '{@link #getImageNm() <em>Image Nm</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImageNm()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMAGE_NM_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImageNm() <em>Image Nm</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImageNm()
+ * @generated
+ * @ordered
+ */
+ protected String imageNm = IMAGE_NM_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getEnv() <em>Env</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEnv()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> env;
+
+ /**
+ * The cached value of the '{@link #getVolumes() <em>Volumes</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVolumes()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> volumes;
+
+ /**
+ * The cached value of the '{@link #getLinks() <em>Links</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLinks()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> links;
+
+ /**
+ * The default value of the '{@link #isSetContainerName() <em>Set Container Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetContainerName()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean SET_CONTAINER_NAME_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isSetContainerName() <em>Set Container Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetContainerName()
+ * @generated
+ * @ordered
+ */
+ protected boolean setContainerName = SET_CONTAINER_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isPublishAllPorts() <em>Publish All Ports</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isPublishAllPorts()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean PUBLISH_ALL_PORTS_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isPublishAllPorts() <em>Publish All Ports</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isPublishAllPorts()
+ * @generated
+ * @ordered
+ */
+ protected boolean publishAllPorts = PUBLISH_ALL_PORTS_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getPortBindings() <em>Port Bindings</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPortBindings()
+ * @generated
+ * @ordered
+ */
+ protected EList<ContainerPortBindings> portBindings;
+
+ /**
+ * The cached value of the '{@link #getAutoRestart() <em>Auto Restart</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAutoRestart()
+ * @generated
+ * @ordered
+ */
+ protected ContainerRestartPolicy autoRestart;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ContainerOptionsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.CONTAINER_OPTIONS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImageNm() {
+ return imageNm;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImageNm(String newImageNm) {
+ String oldImageNm = imageNm;
+ imageNm = newImageNm;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_OPTIONS__IMAGE_NM, oldImageNm, imageNm));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getEnv() {
+ if (env == null) {
+ env = new EDataTypeEList<String>(String.class, this, DockerPackage.CONTAINER_OPTIONS__ENV);
+ }
+ return env;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getVolumes() {
+ if (volumes == null) {
+ volumes = new EDataTypeEList<String>(String.class, this, DockerPackage.CONTAINER_OPTIONS__VOLUMES);
+ }
+ return volumes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getLinks() {
+ if (links == null) {
+ links = new EDataTypeEList<String>(String.class, this, DockerPackage.CONTAINER_OPTIONS__LINKS);
+ }
+ return links;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetContainerName() {
+ return setContainerName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSetContainerName(boolean newSetContainerName) {
+ boolean oldSetContainerName = setContainerName;
+ setContainerName = newSetContainerName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_OPTIONS__SET_CONTAINER_NAME, oldSetContainerName, setContainerName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isPublishAllPorts() {
+ return publishAllPorts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPublishAllPorts(boolean newPublishAllPorts) {
+ boolean oldPublishAllPorts = publishAllPorts;
+ publishAllPorts = newPublishAllPorts;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_OPTIONS__PUBLISH_ALL_PORTS, oldPublishAllPorts, publishAllPorts));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ContainerPortBindings> getPortBindings() {
+ if (portBindings == null) {
+ portBindings = new EObjectContainmentEList<ContainerPortBindings>(ContainerPortBindings.class, this, DockerPackage.CONTAINER_OPTIONS__PORT_BINDINGS);
+ }
+ return portBindings;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerRestartPolicy getAutoRestart() {
+ return autoRestart;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAutoRestart(ContainerRestartPolicy newAutoRestart, NotificationChain msgs) {
+ ContainerRestartPolicy oldAutoRestart = autoRestart;
+ autoRestart = newAutoRestart;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_OPTIONS__AUTO_RESTART, oldAutoRestart, newAutoRestart);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAutoRestart(ContainerRestartPolicy newAutoRestart) {
+ if (newAutoRestart != autoRestart) {
+ NotificationChain msgs = null;
+ if (autoRestart != null)
+ msgs = ((InternalEObject)autoRestart).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DockerPackage.CONTAINER_OPTIONS__AUTO_RESTART, null, msgs);
+ if (newAutoRestart != null)
+ msgs = ((InternalEObject)newAutoRestart).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DockerPackage.CONTAINER_OPTIONS__AUTO_RESTART, null, msgs);
+ msgs = basicSetAutoRestart(newAutoRestart, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_OPTIONS__AUTO_RESTART, newAutoRestart, newAutoRestart));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_OPTIONS__PORT_BINDINGS:
+ return ((InternalEList<?>)getPortBindings()).basicRemove(otherEnd, msgs);
+ case DockerPackage.CONTAINER_OPTIONS__AUTO_RESTART:
+ return basicSetAutoRestart(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_OPTIONS__IMAGE_NM:
+ return getImageNm();
+ case DockerPackage.CONTAINER_OPTIONS__ENV:
+ return getEnv();
+ case DockerPackage.CONTAINER_OPTIONS__VOLUMES:
+ return getVolumes();
+ case DockerPackage.CONTAINER_OPTIONS__LINKS:
+ return getLinks();
+ case DockerPackage.CONTAINER_OPTIONS__SET_CONTAINER_NAME:
+ return isSetContainerName();
+ case DockerPackage.CONTAINER_OPTIONS__PUBLISH_ALL_PORTS:
+ return isPublishAllPorts();
+ case DockerPackage.CONTAINER_OPTIONS__PORT_BINDINGS:
+ return getPortBindings();
+ case DockerPackage.CONTAINER_OPTIONS__AUTO_RESTART:
+ return getAutoRestart();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_OPTIONS__IMAGE_NM:
+ setImageNm((String)newValue);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__ENV:
+ getEnv().clear();
+ getEnv().addAll((Collection<? extends String>)newValue);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__VOLUMES:
+ getVolumes().clear();
+ getVolumes().addAll((Collection<? extends String>)newValue);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__LINKS:
+ getLinks().clear();
+ getLinks().addAll((Collection<? extends String>)newValue);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__SET_CONTAINER_NAME:
+ setSetContainerName((Boolean)newValue);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__PUBLISH_ALL_PORTS:
+ setPublishAllPorts((Boolean)newValue);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__PORT_BINDINGS:
+ getPortBindings().clear();
+ getPortBindings().addAll((Collection<? extends ContainerPortBindings>)newValue);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__AUTO_RESTART:
+ setAutoRestart((ContainerRestartPolicy)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_OPTIONS__IMAGE_NM:
+ setImageNm(IMAGE_NM_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__ENV:
+ getEnv().clear();
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__VOLUMES:
+ getVolumes().clear();
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__LINKS:
+ getLinks().clear();
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__SET_CONTAINER_NAME:
+ setSetContainerName(SET_CONTAINER_NAME_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__PUBLISH_ALL_PORTS:
+ setPublishAllPorts(PUBLISH_ALL_PORTS_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__PORT_BINDINGS:
+ getPortBindings().clear();
+ return;
+ case DockerPackage.CONTAINER_OPTIONS__AUTO_RESTART:
+ setAutoRestart((ContainerRestartPolicy)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_OPTIONS__IMAGE_NM:
+ return IMAGE_NM_EDEFAULT == null ? imageNm != null : !IMAGE_NM_EDEFAULT.equals(imageNm);
+ case DockerPackage.CONTAINER_OPTIONS__ENV:
+ return env != null && !env.isEmpty();
+ case DockerPackage.CONTAINER_OPTIONS__VOLUMES:
+ return volumes != null && !volumes.isEmpty();
+ case DockerPackage.CONTAINER_OPTIONS__LINKS:
+ return links != null && !links.isEmpty();
+ case DockerPackage.CONTAINER_OPTIONS__SET_CONTAINER_NAME:
+ return setContainerName != SET_CONTAINER_NAME_EDEFAULT;
+ case DockerPackage.CONTAINER_OPTIONS__PUBLISH_ALL_PORTS:
+ return publishAllPorts != PUBLISH_ALL_PORTS_EDEFAULT;
+ case DockerPackage.CONTAINER_OPTIONS__PORT_BINDINGS:
+ return portBindings != null && !portBindings.isEmpty();
+ case DockerPackage.CONTAINER_OPTIONS__AUTO_RESTART:
+ return autoRestart != null;
+ }
+ 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(" (imageNm: ");
+ result.append(imageNm);
+ result.append(", env: ");
+ result.append(env);
+ result.append(", volumes: ");
+ result.append(volumes);
+ result.append(", links: ");
+ result.append(links);
+ result.append(", setContainerName: ");
+ result.append(setContainerName);
+ result.append(", publishAllPorts: ");
+ result.append(publishAllPorts);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ContainerOptionsImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerPortBindingsImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerPortBindingsImpl.java
new file mode 100644
index 0000000..5e47609
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerPortBindingsImpl.java
@@ -0,0 +1,293 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.impl.NamedEntityImpl;
+
+import org.openecomp.ncomp.docker.ContainerPortBindings;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Container Port Bindings</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerPortBindingsImpl#getContainerPort <em>Container Port</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerPortBindingsImpl#getProtocol <em>Protocol</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerPortBindingsImpl#getVmPort <em>Vm Port</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ContainerPortBindingsImpl extends NamedEntityImpl implements ContainerPortBindings {
+ /**
+ * The default value of the '{@link #getContainerPort() <em>Container Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerPort()
+ * @generated
+ * @ordered
+ */
+ protected static final int CONTAINER_PORT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getContainerPort() <em>Container Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerPort()
+ * @generated
+ * @ordered
+ */
+ protected int containerPort = CONTAINER_PORT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getProtocol() <em>Protocol</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProtocol()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROTOCOL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getProtocol() <em>Protocol</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProtocol()
+ * @generated
+ * @ordered
+ */
+ protected String protocol = PROTOCOL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getVmPort() <em>Vm Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVmPort()
+ * @generated
+ * @ordered
+ */
+ protected static final int VM_PORT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getVmPort() <em>Vm Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVmPort()
+ * @generated
+ * @ordered
+ */
+ protected int vmPort = VM_PORT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ContainerPortBindingsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.CONTAINER_PORT_BINDINGS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getContainerPort() {
+ return containerPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setContainerPort(int newContainerPort) {
+ int oldContainerPort = containerPort;
+ containerPort = newContainerPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_PORT_BINDINGS__CONTAINER_PORT, oldContainerPort, containerPort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getProtocol() {
+ return protocol;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProtocol(String newProtocol) {
+ String oldProtocol = protocol;
+ protocol = newProtocol;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_PORT_BINDINGS__PROTOCOL, oldProtocol, protocol));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getVmPort() {
+ return vmPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setVmPort(int newVmPort) {
+ int oldVmPort = vmPort;
+ vmPort = newVmPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_PORT_BINDINGS__VM_PORT, oldVmPort, vmPort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_PORT_BINDINGS__CONTAINER_PORT:
+ return getContainerPort();
+ case DockerPackage.CONTAINER_PORT_BINDINGS__PROTOCOL:
+ return getProtocol();
+ case DockerPackage.CONTAINER_PORT_BINDINGS__VM_PORT:
+ return getVmPort();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_PORT_BINDINGS__CONTAINER_PORT:
+ setContainerPort((Integer)newValue);
+ return;
+ case DockerPackage.CONTAINER_PORT_BINDINGS__PROTOCOL:
+ setProtocol((String)newValue);
+ return;
+ case DockerPackage.CONTAINER_PORT_BINDINGS__VM_PORT:
+ setVmPort((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_PORT_BINDINGS__CONTAINER_PORT:
+ setContainerPort(CONTAINER_PORT_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_PORT_BINDINGS__PROTOCOL:
+ setProtocol(PROTOCOL_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_PORT_BINDINGS__VM_PORT:
+ setVmPort(VM_PORT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_PORT_BINDINGS__CONTAINER_PORT:
+ return containerPort != CONTAINER_PORT_EDEFAULT;
+ case DockerPackage.CONTAINER_PORT_BINDINGS__PROTOCOL:
+ return PROTOCOL_EDEFAULT == null ? protocol != null : !PROTOCOL_EDEFAULT.equals(protocol);
+ case DockerPackage.CONTAINER_PORT_BINDINGS__VM_PORT:
+ return vmPort != VM_PORT_EDEFAULT;
+ }
+ 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(" (containerPort: ");
+ result.append(containerPort);
+ result.append(", protocol: ");
+ result.append(protocol);
+ result.append(", vmPort: ");
+ result.append(vmPort);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ContainerPortBindingsImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerRestartPolicyImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerRestartPolicyImpl.java
new file mode 100644
index 0000000..b52bd31
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/ContainerRestartPolicyImpl.java
@@ -0,0 +1,238 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.ContainerRestartPolicy;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+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>Container Restart Policy</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerRestartPolicyImpl#getNm <em>Nm</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.ContainerRestartPolicyImpl#getMaxRetryCnt <em>Max Retry Cnt</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ContainerRestartPolicyImpl extends MinimalEObjectImpl.Container implements ContainerRestartPolicy {
+ /**
+ * The default value of the '{@link #getNm() <em>Nm</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNm()
+ * @generated
+ * @ordered
+ */
+ protected static final String NM_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getNm() <em>Nm</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNm()
+ * @generated
+ * @ordered
+ */
+ protected String nm = NM_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMaxRetryCnt() <em>Max Retry Cnt</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMaxRetryCnt()
+ * @generated
+ * @ordered
+ */
+ protected static final int MAX_RETRY_CNT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getMaxRetryCnt() <em>Max Retry Cnt</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMaxRetryCnt()
+ * @generated
+ * @ordered
+ */
+ protected int maxRetryCnt = MAX_RETRY_CNT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ContainerRestartPolicyImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.CONTAINER_RESTART_POLICY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getNm() {
+ return nm;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNm(String newNm) {
+ String oldNm = nm;
+ nm = newNm;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_RESTART_POLICY__NM, oldNm, nm));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMaxRetryCnt() {
+ return maxRetryCnt;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMaxRetryCnt(int newMaxRetryCnt) {
+ int oldMaxRetryCnt = maxRetryCnt;
+ maxRetryCnt = newMaxRetryCnt;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.CONTAINER_RESTART_POLICY__MAX_RETRY_CNT, oldMaxRetryCnt, maxRetryCnt));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_RESTART_POLICY__NM:
+ return getNm();
+ case DockerPackage.CONTAINER_RESTART_POLICY__MAX_RETRY_CNT:
+ return getMaxRetryCnt();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_RESTART_POLICY__NM:
+ setNm((String)newValue);
+ return;
+ case DockerPackage.CONTAINER_RESTART_POLICY__MAX_RETRY_CNT:
+ setMaxRetryCnt((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_RESTART_POLICY__NM:
+ setNm(NM_EDEFAULT);
+ return;
+ case DockerPackage.CONTAINER_RESTART_POLICY__MAX_RETRY_CNT:
+ setMaxRetryCnt(MAX_RETRY_CNT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.CONTAINER_RESTART_POLICY__NM:
+ return NM_EDEFAULT == null ? nm != null : !NM_EDEFAULT.equals(nm);
+ case DockerPackage.CONTAINER_RESTART_POLICY__MAX_RETRY_CNT:
+ return maxRetryCnt != MAX_RETRY_CNT_EDEFAULT;
+ }
+ 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(" (nm: ");
+ result.append(nm);
+ result.append(", maxRetryCnt: ");
+ result.append(maxRetryCnt);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ContainerRestartPolicyImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerActorAttributesImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerActorAttributesImpl.java
new file mode 100644
index 0000000..57cbae1
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerActorAttributesImpl.java
@@ -0,0 +1,184 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerActorAttributes;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+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>Actor Attributes</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerActorAttributesImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerActorAttributesImpl extends MinimalEObjectImpl.Container implements DockerActorAttributes {
+ /**
+ * 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;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerActorAttributesImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_ACTOR_ATTRIBUTES;
+ }
+
+ /**
+ * <!-- 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, DockerPackage.DOCKER_ACTOR_ATTRIBUTES__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ACTOR_ATTRIBUTES__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ACTOR_ATTRIBUTES__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ACTOR_ATTRIBUTES__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ACTOR_ATTRIBUTES__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerActorAttributesImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerActorImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerActorImpl.java
new file mode 100644
index 0000000..92f702d
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerActorImpl.java
@@ -0,0 +1,265 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerActor;
+import org.openecomp.ncomp.docker.DockerActorAttributes;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+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>Actor</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerActorImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerActorImpl#getAttributes <em>Attributes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerActorImpl extends MinimalEObjectImpl.Container implements DockerActor {
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getAttributes() <em>Attributes</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttributes()
+ * @generated
+ * @ordered
+ */
+ protected DockerActorAttributes attributes;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerActorImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_ACTOR;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_ACTOR__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerActorAttributes getAttributes() {
+ return attributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAttributes(DockerActorAttributes newAttributes, NotificationChain msgs) {
+ DockerActorAttributes oldAttributes = attributes;
+ attributes = newAttributes;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_ACTOR__ATTRIBUTES, oldAttributes, newAttributes);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttributes(DockerActorAttributes newAttributes) {
+ if (newAttributes != attributes) {
+ NotificationChain msgs = null;
+ if (attributes != null)
+ msgs = ((InternalEObject)attributes).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_ACTOR__ATTRIBUTES, null, msgs);
+ if (newAttributes != null)
+ msgs = ((InternalEObject)newAttributes).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_ACTOR__ATTRIBUTES, null, msgs);
+ msgs = basicSetAttributes(newAttributes, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_ACTOR__ATTRIBUTES, newAttributes, newAttributes));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ACTOR__ATTRIBUTES:
+ return basicSetAttributes(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ACTOR__ID:
+ return getId();
+ case DockerPackage.DOCKER_ACTOR__ATTRIBUTES:
+ return getAttributes();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ACTOR__ID:
+ setId((String)newValue);
+ return;
+ case DockerPackage.DOCKER_ACTOR__ATTRIBUTES:
+ setAttributes((DockerActorAttributes)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ACTOR__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_ACTOR__ATTRIBUTES:
+ setAttributes((DockerActorAttributes)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ACTOR__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case DockerPackage.DOCKER_ACTOR__ATTRIBUTES:
+ return attributes != null;
+ }
+ 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(" (id: ");
+ result.append(id);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerActorImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerAdaptorImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerAdaptorImpl.java
new file mode 100644
index 0000000..4ec07ae
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerAdaptorImpl.java
@@ -0,0 +1,169 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerAdaptor;
+import org.openecomp.ncomp.docker.DockerHost;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import java.util.Collection;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Adaptor</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerAdaptorImpl#getDockerHosts <em>Docker Hosts</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerAdaptorImpl extends MinimalEObjectImpl.Container implements DockerAdaptor {
+ /**
+ * The cached value of the '{@link #getDockerHosts() <em>Docker Hosts</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDockerHosts()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerHost> dockerHosts;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerAdaptorImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_ADAPTOR;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerHost> getDockerHosts() {
+ if (dockerHosts == null) {
+ dockerHosts = new EObjectContainmentEList<DockerHost>(DockerHost.class, this, DockerPackage.DOCKER_ADAPTOR__DOCKER_HOSTS);
+ }
+ return dockerHosts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ADAPTOR__DOCKER_HOSTS:
+ return ((InternalEList<?>)getDockerHosts()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ADAPTOR__DOCKER_HOSTS:
+ return getDockerHosts();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ADAPTOR__DOCKER_HOSTS:
+ getDockerHosts().clear();
+ getDockerHosts().addAll((Collection<? extends DockerHost>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ADAPTOR__DOCKER_HOSTS:
+ getDockerHosts().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_ADAPTOR__DOCKER_HOSTS:
+ return dockerHosts != null && !dockerHosts.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //DockerAdaptorImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerContainerImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerContainerImpl.java
new file mode 100644
index 0000000..e053bfc
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerContainerImpl.java
@@ -0,0 +1,802 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.impl.NamedEntityImpl;
+
+import org.openecomp.ncomp.docker.DockerContainer;
+import org.openecomp.ncomp.docker.DockerContainerStats;
+import org.openecomp.ncomp.docker.DockerEvents;
+import org.openecomp.ncomp.docker.DockerKeyPair;
+import org.openecomp.ncomp.docker.DockerMount;
+import org.openecomp.ncomp.docker.DockerPackage;
+import org.openecomp.ncomp.docker.DockerPort;
+import org.openecomp.ncomp.docker.DockerProcess;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Container</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getNames <em>Names</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getImage <em>Image</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getImageID <em>Image ID</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getCommand <em>Command</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getDockerCreated <em>Docker Created</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getPorts <em>Ports</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getLabels <em>Labels</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getStatus <em>Status</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getHostConfig <em>Host Config</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getProcesses <em>Processes</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getMounts <em>Mounts</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getStats <em>Stats</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerImpl#getEvents <em>Events</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerContainerImpl extends NamedEntityImpl implements DockerContainer {
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getNames() <em>Names</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNames()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> names;
+
+ /**
+ * The default value of the '{@link #getImage() <em>Image</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImage()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMAGE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImage() <em>Image</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImage()
+ * @generated
+ * @ordered
+ */
+ protected String image = IMAGE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getImageID() <em>Image ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImageID()
+ * @generated
+ * @ordered
+ */
+ protected static final String IMAGE_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getImageID() <em>Image ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImageID()
+ * @generated
+ * @ordered
+ */
+ protected String imageID = IMAGE_ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCommand() <em>Command</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCommand()
+ * @generated
+ * @ordered
+ */
+ protected static final String COMMAND_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCommand() <em>Command</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCommand()
+ * @generated
+ * @ordered
+ */
+ protected String command = COMMAND_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDockerCreated() <em>Docker Created</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDockerCreated()
+ * @generated
+ * @ordered
+ */
+ protected static final String DOCKER_CREATED_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDockerCreated() <em>Docker Created</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDockerCreated()
+ * @generated
+ * @ordered
+ */
+ protected String dockerCreated = DOCKER_CREATED_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getPorts() <em>Ports</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPorts()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerPort> ports;
+
+ /**
+ * The cached value of the '{@link #getLabels() <em>Labels</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLabels()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerKeyPair> labels;
+
+ /**
+ * The default value of the '{@link #getStatus() <em>Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStatus()
+ * @generated
+ * @ordered
+ */
+ protected static final String STATUS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getStatus() <em>Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStatus()
+ * @generated
+ * @ordered
+ */
+ protected String status = STATUS_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getHostConfig() <em>Host Config</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHostConfig()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerKeyPair> hostConfig;
+
+ /**
+ * The cached value of the '{@link #getProcesses() <em>Processes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProcesses()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerProcess> processes;
+
+ /**
+ * The cached value of the '{@link #getMounts() <em>Mounts</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMounts()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerMount> mounts;
+
+ /**
+ * The cached value of the '{@link #getStats() <em>Stats</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStats()
+ * @generated
+ * @ordered
+ */
+ protected DockerContainerStats stats;
+
+ /**
+ * The cached value of the '{@link #getEvents() <em>Events</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEvents()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerEvents> events;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerContainerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_CONTAINER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getNames() {
+ if (names == null) {
+ names = new EDataTypeEList<String>(String.class, this, DockerPackage.DOCKER_CONTAINER__NAMES);
+ }
+ return names;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImage() {
+ return image;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImage(String newImage) {
+ String oldImage = image;
+ image = newImage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER__IMAGE, oldImage, image));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getImageID() {
+ return imageID;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImageID(String newImageID) {
+ String oldImageID = imageID;
+ imageID = newImageID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER__IMAGE_ID, oldImageID, imageID));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCommand() {
+ return command;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCommand(String newCommand) {
+ String oldCommand = command;
+ command = newCommand;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER__COMMAND, oldCommand, command));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDockerCreated() {
+ return dockerCreated;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDockerCreated(String newDockerCreated) {
+ String oldDockerCreated = dockerCreated;
+ dockerCreated = newDockerCreated;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER__DOCKER_CREATED, oldDockerCreated, dockerCreated));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerPort> getPorts() {
+ if (ports == null) {
+ ports = new EObjectContainmentEList<DockerPort>(DockerPort.class, this, DockerPackage.DOCKER_CONTAINER__PORTS);
+ }
+ return ports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerKeyPair> getLabels() {
+ if (labels == null) {
+ labels = new EObjectContainmentEList<DockerKeyPair>(DockerKeyPair.class, this, DockerPackage.DOCKER_CONTAINER__LABELS);
+ }
+ return labels;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getStatus() {
+ return status;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStatus(String newStatus) {
+ String oldStatus = status;
+ status = newStatus;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER__STATUS, oldStatus, status));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerKeyPair> getHostConfig() {
+ if (hostConfig == null) {
+ hostConfig = new EObjectContainmentEList<DockerKeyPair>(DockerKeyPair.class, this, DockerPackage.DOCKER_CONTAINER__HOST_CONFIG);
+ }
+ return hostConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerProcess> getProcesses() {
+ if (processes == null) {
+ processes = new EObjectContainmentEList<DockerProcess>(DockerProcess.class, this, DockerPackage.DOCKER_CONTAINER__PROCESSES);
+ }
+ return processes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerMount> getMounts() {
+ if (mounts == null) {
+ mounts = new EObjectContainmentEList<DockerMount>(DockerMount.class, this, DockerPackage.DOCKER_CONTAINER__MOUNTS);
+ }
+ return mounts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerContainerStats getStats() {
+ return stats;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetStats(DockerContainerStats newStats, NotificationChain msgs) {
+ DockerContainerStats oldStats = stats;
+ stats = newStats;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER__STATS, oldStats, newStats);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStats(DockerContainerStats newStats) {
+ if (newStats != stats) {
+ NotificationChain msgs = null;
+ if (stats != null)
+ msgs = ((InternalEObject)stats).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_CONTAINER__STATS, null, msgs);
+ if (newStats != null)
+ msgs = ((InternalEObject)newStats).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_CONTAINER__STATS, null, msgs);
+ msgs = basicSetStats(newStats, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER__STATS, newStats, newStats));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerEvents> getEvents() {
+ if (events == null) {
+ events = new EObjectContainmentEList<DockerEvents>(DockerEvents.class, this, DockerPackage.DOCKER_CONTAINER__EVENTS);
+ }
+ return events;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER__PORTS:
+ return ((InternalEList<?>)getPorts()).basicRemove(otherEnd, msgs);
+ case DockerPackage.DOCKER_CONTAINER__LABELS:
+ return ((InternalEList<?>)getLabels()).basicRemove(otherEnd, msgs);
+ case DockerPackage.DOCKER_CONTAINER__HOST_CONFIG:
+ return ((InternalEList<?>)getHostConfig()).basicRemove(otherEnd, msgs);
+ case DockerPackage.DOCKER_CONTAINER__PROCESSES:
+ return ((InternalEList<?>)getProcesses()).basicRemove(otherEnd, msgs);
+ case DockerPackage.DOCKER_CONTAINER__MOUNTS:
+ return ((InternalEList<?>)getMounts()).basicRemove(otherEnd, msgs);
+ case DockerPackage.DOCKER_CONTAINER__STATS:
+ return basicSetStats(null, msgs);
+ case DockerPackage.DOCKER_CONTAINER__EVENTS:
+ return ((InternalEList<?>)getEvents()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER__ID:
+ return getId();
+ case DockerPackage.DOCKER_CONTAINER__NAMES:
+ return getNames();
+ case DockerPackage.DOCKER_CONTAINER__IMAGE:
+ return getImage();
+ case DockerPackage.DOCKER_CONTAINER__IMAGE_ID:
+ return getImageID();
+ case DockerPackage.DOCKER_CONTAINER__COMMAND:
+ return getCommand();
+ case DockerPackage.DOCKER_CONTAINER__DOCKER_CREATED:
+ return getDockerCreated();
+ case DockerPackage.DOCKER_CONTAINER__PORTS:
+ return getPorts();
+ case DockerPackage.DOCKER_CONTAINER__LABELS:
+ return getLabels();
+ case DockerPackage.DOCKER_CONTAINER__STATUS:
+ return getStatus();
+ case DockerPackage.DOCKER_CONTAINER__HOST_CONFIG:
+ return getHostConfig();
+ case DockerPackage.DOCKER_CONTAINER__PROCESSES:
+ return getProcesses();
+ case DockerPackage.DOCKER_CONTAINER__MOUNTS:
+ return getMounts();
+ case DockerPackage.DOCKER_CONTAINER__STATS:
+ return getStats();
+ case DockerPackage.DOCKER_CONTAINER__EVENTS:
+ return getEvents();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER__ID:
+ setId((String)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__NAMES:
+ getNames().clear();
+ getNames().addAll((Collection<? extends String>)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__IMAGE:
+ setImage((String)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__IMAGE_ID:
+ setImageID((String)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__COMMAND:
+ setCommand((String)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__DOCKER_CREATED:
+ setDockerCreated((String)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__PORTS:
+ getPorts().clear();
+ getPorts().addAll((Collection<? extends DockerPort>)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__LABELS:
+ getLabels().clear();
+ getLabels().addAll((Collection<? extends DockerKeyPair>)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__STATUS:
+ setStatus((String)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__HOST_CONFIG:
+ getHostConfig().clear();
+ getHostConfig().addAll((Collection<? extends DockerKeyPair>)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__PROCESSES:
+ getProcesses().clear();
+ getProcesses().addAll((Collection<? extends DockerProcess>)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__MOUNTS:
+ getMounts().clear();
+ getMounts().addAll((Collection<? extends DockerMount>)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__STATS:
+ setStats((DockerContainerStats)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__EVENTS:
+ getEvents().clear();
+ getEvents().addAll((Collection<? extends DockerEvents>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__NAMES:
+ getNames().clear();
+ return;
+ case DockerPackage.DOCKER_CONTAINER__IMAGE:
+ setImage(IMAGE_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__IMAGE_ID:
+ setImageID(IMAGE_ID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__COMMAND:
+ setCommand(COMMAND_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__DOCKER_CREATED:
+ setDockerCreated(DOCKER_CREATED_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__PORTS:
+ getPorts().clear();
+ return;
+ case DockerPackage.DOCKER_CONTAINER__LABELS:
+ getLabels().clear();
+ return;
+ case DockerPackage.DOCKER_CONTAINER__STATUS:
+ setStatus(STATUS_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__HOST_CONFIG:
+ getHostConfig().clear();
+ return;
+ case DockerPackage.DOCKER_CONTAINER__PROCESSES:
+ getProcesses().clear();
+ return;
+ case DockerPackage.DOCKER_CONTAINER__MOUNTS:
+ getMounts().clear();
+ return;
+ case DockerPackage.DOCKER_CONTAINER__STATS:
+ setStats((DockerContainerStats)null);
+ return;
+ case DockerPackage.DOCKER_CONTAINER__EVENTS:
+ getEvents().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case DockerPackage.DOCKER_CONTAINER__NAMES:
+ return names != null && !names.isEmpty();
+ case DockerPackage.DOCKER_CONTAINER__IMAGE:
+ return IMAGE_EDEFAULT == null ? image != null : !IMAGE_EDEFAULT.equals(image);
+ case DockerPackage.DOCKER_CONTAINER__IMAGE_ID:
+ return IMAGE_ID_EDEFAULT == null ? imageID != null : !IMAGE_ID_EDEFAULT.equals(imageID);
+ case DockerPackage.DOCKER_CONTAINER__COMMAND:
+ return COMMAND_EDEFAULT == null ? command != null : !COMMAND_EDEFAULT.equals(command);
+ case DockerPackage.DOCKER_CONTAINER__DOCKER_CREATED:
+ return DOCKER_CREATED_EDEFAULT == null ? dockerCreated != null : !DOCKER_CREATED_EDEFAULT.equals(dockerCreated);
+ case DockerPackage.DOCKER_CONTAINER__PORTS:
+ return ports != null && !ports.isEmpty();
+ case DockerPackage.DOCKER_CONTAINER__LABELS:
+ return labels != null && !labels.isEmpty();
+ case DockerPackage.DOCKER_CONTAINER__STATUS:
+ return STATUS_EDEFAULT == null ? status != null : !STATUS_EDEFAULT.equals(status);
+ case DockerPackage.DOCKER_CONTAINER__HOST_CONFIG:
+ return hostConfig != null && !hostConfig.isEmpty();
+ case DockerPackage.DOCKER_CONTAINER__PROCESSES:
+ return processes != null && !processes.isEmpty();
+ case DockerPackage.DOCKER_CONTAINER__MOUNTS:
+ return mounts != null && !mounts.isEmpty();
+ case DockerPackage.DOCKER_CONTAINER__STATS:
+ return stats != null;
+ case DockerPackage.DOCKER_CONTAINER__EVENTS:
+ return events != null && !events.isEmpty();
+ }
+ 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(" (id: ");
+ result.append(id);
+ result.append(", names: ");
+ result.append(names);
+ result.append(", image: ");
+ result.append(image);
+ result.append(", imageID: ");
+ result.append(imageID);
+ result.append(", command: ");
+ result.append(command);
+ result.append(", dockerCreated: ");
+ result.append(dockerCreated);
+ result.append(", status: ");
+ result.append(status);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerContainerImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerContainerStatsImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerContainerStatsImpl.java
new file mode 100644
index 0000000..2b67dee
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerContainerStatsImpl.java
@@ -0,0 +1,379 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.impl.NamedEntityImpl;
+
+import org.openecomp.ncomp.docker.ContainerCpuStats;
+import org.openecomp.ncomp.docker.ContainerMemoryUsage;
+import org.openecomp.ncomp.docker.ContainerNetworkStats;
+import org.openecomp.ncomp.docker.DockerContainerStats;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import java.util.Collection;
+
+import java.util.Date;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Container Stats</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerStatsImpl#getNetworks <em>Networks</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerStatsImpl#getMemory <em>Memory</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerStatsImpl#getCpu <em>Cpu</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerContainerStatsImpl#getLastRead <em>Last Read</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerContainerStatsImpl extends NamedEntityImpl implements DockerContainerStats {
+ /**
+ * The cached value of the '{@link #getNetworks() <em>Networks</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNetworks()
+ * @generated
+ * @ordered
+ */
+ protected EList<ContainerNetworkStats> networks;
+
+ /**
+ * The cached value of the '{@link #getMemory() <em>Memory</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMemory()
+ * @generated
+ * @ordered
+ */
+ protected ContainerMemoryUsage memory;
+
+ /**
+ * The cached value of the '{@link #getCpu() <em>Cpu</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCpu()
+ * @generated
+ * @ordered
+ */
+ protected ContainerCpuStats cpu;
+
+ /**
+ * The default value of the '{@link #getLastRead() <em>Last Read</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLastRead()
+ * @generated
+ * @ordered
+ */
+ protected static final Date LAST_READ_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getLastRead() <em>Last Read</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLastRead()
+ * @generated
+ * @ordered
+ */
+ protected Date lastRead = LAST_READ_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerContainerStatsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_CONTAINER_STATS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ContainerNetworkStats> getNetworks() {
+ if (networks == null) {
+ networks = new EObjectContainmentEList<ContainerNetworkStats>(ContainerNetworkStats.class, this, DockerPackage.DOCKER_CONTAINER_STATS__NETWORKS);
+ }
+ return networks;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerMemoryUsage getMemory() {
+ return memory;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMemory(ContainerMemoryUsage newMemory, NotificationChain msgs) {
+ ContainerMemoryUsage oldMemory = memory;
+ memory = newMemory;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER_STATS__MEMORY, oldMemory, newMemory);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMemory(ContainerMemoryUsage newMemory) {
+ if (newMemory != memory) {
+ NotificationChain msgs = null;
+ if (memory != null)
+ msgs = ((InternalEObject)memory).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_CONTAINER_STATS__MEMORY, null, msgs);
+ if (newMemory != null)
+ msgs = ((InternalEObject)newMemory).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_CONTAINER_STATS__MEMORY, null, msgs);
+ msgs = basicSetMemory(newMemory, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER_STATS__MEMORY, newMemory, newMemory));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerCpuStats getCpu() {
+ return cpu;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCpu(ContainerCpuStats newCpu, NotificationChain msgs) {
+ ContainerCpuStats oldCpu = cpu;
+ cpu = newCpu;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER_STATS__CPU, oldCpu, newCpu);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCpu(ContainerCpuStats newCpu) {
+ if (newCpu != cpu) {
+ NotificationChain msgs = null;
+ if (cpu != null)
+ msgs = ((InternalEObject)cpu).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_CONTAINER_STATS__CPU, null, msgs);
+ if (newCpu != null)
+ msgs = ((InternalEObject)newCpu).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_CONTAINER_STATS__CPU, null, msgs);
+ msgs = basicSetCpu(newCpu, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER_STATS__CPU, newCpu, newCpu));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Date getLastRead() {
+ return lastRead;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLastRead(Date newLastRead) {
+ Date oldLastRead = lastRead;
+ lastRead = newLastRead;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CONTAINER_STATS__LAST_READ, oldLastRead, lastRead));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER_STATS__NETWORKS:
+ return ((InternalEList<?>)getNetworks()).basicRemove(otherEnd, msgs);
+ case DockerPackage.DOCKER_CONTAINER_STATS__MEMORY:
+ return basicSetMemory(null, msgs);
+ case DockerPackage.DOCKER_CONTAINER_STATS__CPU:
+ return basicSetCpu(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER_STATS__NETWORKS:
+ return getNetworks();
+ case DockerPackage.DOCKER_CONTAINER_STATS__MEMORY:
+ return getMemory();
+ case DockerPackage.DOCKER_CONTAINER_STATS__CPU:
+ return getCpu();
+ case DockerPackage.DOCKER_CONTAINER_STATS__LAST_READ:
+ return getLastRead();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER_STATS__NETWORKS:
+ getNetworks().clear();
+ getNetworks().addAll((Collection<? extends ContainerNetworkStats>)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER_STATS__MEMORY:
+ setMemory((ContainerMemoryUsage)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER_STATS__CPU:
+ setCpu((ContainerCpuStats)newValue);
+ return;
+ case DockerPackage.DOCKER_CONTAINER_STATS__LAST_READ:
+ setLastRead((Date)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER_STATS__NETWORKS:
+ getNetworks().clear();
+ return;
+ case DockerPackage.DOCKER_CONTAINER_STATS__MEMORY:
+ setMemory((ContainerMemoryUsage)null);
+ return;
+ case DockerPackage.DOCKER_CONTAINER_STATS__CPU:
+ setCpu((ContainerCpuStats)null);
+ return;
+ case DockerPackage.DOCKER_CONTAINER_STATS__LAST_READ:
+ setLastRead(LAST_READ_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CONTAINER_STATS__NETWORKS:
+ return networks != null && !networks.isEmpty();
+ case DockerPackage.DOCKER_CONTAINER_STATS__MEMORY:
+ return memory != null;
+ case DockerPackage.DOCKER_CONTAINER_STATS__CPU:
+ return cpu != null;
+ case DockerPackage.DOCKER_CONTAINER_STATS__LAST_READ:
+ return LAST_READ_EDEFAULT == null ? lastRead != null : !LAST_READ_EDEFAULT.equals(lastRead);
+ }
+ 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(" (lastRead: ");
+ result.append(lastRead);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerContainerStatsImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerCreateRequestImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerCreateRequestImpl.java
new file mode 100644
index 0000000..32a7ce7
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerCreateRequestImpl.java
@@ -0,0 +1,227 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerCreateRequest;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Create Request</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerCreateRequestImpl#getHostname <em>Hostname</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerCreateRequestImpl#getCmd <em>Cmd</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerCreateRequestImpl extends MinimalEObjectImpl.Container implements DockerCreateRequest {
+ /**
+ * The default value of the '{@link #getHostname() <em>Hostname</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHostname()
+ * @generated
+ * @ordered
+ */
+ protected static final String HOSTNAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getHostname() <em>Hostname</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHostname()
+ * @generated
+ * @ordered
+ */
+ protected String hostname = HOSTNAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getCmd() <em>Cmd</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmd()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> cmd;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerCreateRequestImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_CREATE_REQUEST;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getHostname() {
+ return hostname;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHostname(String newHostname) {
+ String oldHostname = hostname;
+ hostname = newHostname;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_CREATE_REQUEST__HOSTNAME, oldHostname, hostname));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getCmd() {
+ if (cmd == null) {
+ cmd = new EDataTypeEList<String>(String.class, this, DockerPackage.DOCKER_CREATE_REQUEST__CMD);
+ }
+ return cmd;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CREATE_REQUEST__HOSTNAME:
+ return getHostname();
+ case DockerPackage.DOCKER_CREATE_REQUEST__CMD:
+ return getCmd();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CREATE_REQUEST__HOSTNAME:
+ setHostname((String)newValue);
+ return;
+ case DockerPackage.DOCKER_CREATE_REQUEST__CMD:
+ getCmd().clear();
+ getCmd().addAll((Collection<? extends String>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CREATE_REQUEST__HOSTNAME:
+ setHostname(HOSTNAME_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_CREATE_REQUEST__CMD:
+ getCmd().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_CREATE_REQUEST__HOSTNAME:
+ return HOSTNAME_EDEFAULT == null ? hostname != null : !HOSTNAME_EDEFAULT.equals(hostname);
+ case DockerPackage.DOCKER_CREATE_REQUEST__CMD:
+ return cmd != null && !cmd.isEmpty();
+ }
+ 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(" (hostname: ");
+ result.append(hostname);
+ result.append(", cmd: ");
+ result.append(cmd);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerCreateRequestImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerEventsImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerEventsImpl.java
new file mode 100644
index 0000000..6b4047b
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerEventsImpl.java
@@ -0,0 +1,536 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.impl.NamedEntityImpl;
+
+import org.openecomp.ncomp.docker.DockerActor;
+import org.openecomp.ncomp.docker.DockerEvents;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Events</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerEventsImpl#getStatus <em>Status</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerEventsImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerEventsImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerEventsImpl#getAction <em>Action</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerEventsImpl#getActor <em>Actor</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerEventsImpl#getTime <em>Time</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerEventsImpl#getTimenano <em>Timenano</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerEventsImpl extends NamedEntityImpl implements DockerEvents {
+ /**
+ * The default value of the '{@link #getStatus() <em>Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStatus()
+ * @generated
+ * @ordered
+ */
+ protected static final String STATUS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getStatus() <em>Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStatus()
+ * @generated
+ * @ordered
+ */
+ protected String status = STATUS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getAction() <em>Action</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAction()
+ * @generated
+ * @ordered
+ */
+ protected static final String ACTION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAction() <em>Action</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAction()
+ * @generated
+ * @ordered
+ */
+ protected String action = ACTION_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getActor() <em>Actor</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActor()
+ * @generated
+ * @ordered
+ */
+ protected DockerActor actor;
+
+ /**
+ * The default value of the '{@link #getTime() <em>Time</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTime()
+ * @generated
+ * @ordered
+ */
+ protected static final int TIME_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getTime() <em>Time</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTime()
+ * @generated
+ * @ordered
+ */
+ protected int time = TIME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTimenano() <em>Timenano</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTimenano()
+ * @generated
+ * @ordered
+ */
+ protected static final long TIMENANO_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getTimenano() <em>Timenano</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTimenano()
+ * @generated
+ * @ordered
+ */
+ protected long timenano = TIMENANO_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerEventsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_EVENTS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getStatus() {
+ return status;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStatus(String newStatus) {
+ String oldStatus = status;
+ status = newStatus;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_EVENTS__STATUS, oldStatus, status));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_EVENTS__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(String newType) {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_EVENTS__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getAction() {
+ return action;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAction(String newAction) {
+ String oldAction = action;
+ action = newAction;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_EVENTS__ACTION, oldAction, action));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerActor getActor() {
+ return actor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetActor(DockerActor newActor, NotificationChain msgs) {
+ DockerActor oldActor = actor;
+ actor = newActor;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_EVENTS__ACTOR, oldActor, newActor);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActor(DockerActor newActor) {
+ if (newActor != actor) {
+ NotificationChain msgs = null;
+ if (actor != null)
+ msgs = ((InternalEObject)actor).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_EVENTS__ACTOR, null, msgs);
+ if (newActor != null)
+ msgs = ((InternalEObject)newActor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_EVENTS__ACTOR, null, msgs);
+ msgs = basicSetActor(newActor, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_EVENTS__ACTOR, newActor, newActor));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTime() {
+ return time;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTime(int newTime) {
+ int oldTime = time;
+ time = newTime;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_EVENTS__TIME, oldTime, time));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getTimenano() {
+ return timenano;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimenano(long newTimenano) {
+ long oldTimenano = timenano;
+ timenano = newTimenano;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_EVENTS__TIMENANO, oldTimenano, timenano));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_EVENTS__ACTOR:
+ return basicSetActor(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_EVENTS__STATUS:
+ return getStatus();
+ case DockerPackage.DOCKER_EVENTS__ID:
+ return getId();
+ case DockerPackage.DOCKER_EVENTS__TYPE:
+ return getType();
+ case DockerPackage.DOCKER_EVENTS__ACTION:
+ return getAction();
+ case DockerPackage.DOCKER_EVENTS__ACTOR:
+ return getActor();
+ case DockerPackage.DOCKER_EVENTS__TIME:
+ return getTime();
+ case DockerPackage.DOCKER_EVENTS__TIMENANO:
+ return getTimenano();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_EVENTS__STATUS:
+ setStatus((String)newValue);
+ return;
+ case DockerPackage.DOCKER_EVENTS__ID:
+ setId((String)newValue);
+ return;
+ case DockerPackage.DOCKER_EVENTS__TYPE:
+ setType((String)newValue);
+ return;
+ case DockerPackage.DOCKER_EVENTS__ACTION:
+ setAction((String)newValue);
+ return;
+ case DockerPackage.DOCKER_EVENTS__ACTOR:
+ setActor((DockerActor)newValue);
+ return;
+ case DockerPackage.DOCKER_EVENTS__TIME:
+ setTime((Integer)newValue);
+ return;
+ case DockerPackage.DOCKER_EVENTS__TIMENANO:
+ setTimenano((Long)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_EVENTS__STATUS:
+ setStatus(STATUS_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_EVENTS__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_EVENTS__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_EVENTS__ACTION:
+ setAction(ACTION_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_EVENTS__ACTOR:
+ setActor((DockerActor)null);
+ return;
+ case DockerPackage.DOCKER_EVENTS__TIME:
+ setTime(TIME_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_EVENTS__TIMENANO:
+ setTimenano(TIMENANO_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_EVENTS__STATUS:
+ return STATUS_EDEFAULT == null ? status != null : !STATUS_EDEFAULT.equals(status);
+ case DockerPackage.DOCKER_EVENTS__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case DockerPackage.DOCKER_EVENTS__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case DockerPackage.DOCKER_EVENTS__ACTION:
+ return ACTION_EDEFAULT == null ? action != null : !ACTION_EDEFAULT.equals(action);
+ case DockerPackage.DOCKER_EVENTS__ACTOR:
+ return actor != null;
+ case DockerPackage.DOCKER_EVENTS__TIME:
+ return time != TIME_EDEFAULT;
+ case DockerPackage.DOCKER_EVENTS__TIMENANO:
+ return timenano != TIMENANO_EDEFAULT;
+ }
+ 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(" (status: ");
+ result.append(status);
+ result.append(", id: ");
+ result.append(id);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", action: ");
+ result.append(action);
+ result.append(", time: ");
+ result.append(time);
+ result.append(", timenano: ");
+ result.append(timenano);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerEventsImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerFactoryImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerFactoryImpl.java
new file mode 100644
index 0000000..ac207a6
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerFactoryImpl.java
@@ -0,0 +1,380 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.*;
+
+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 DockerFactoryImpl extends EFactoryImpl implements DockerFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static DockerFactory init() {
+ try {
+ DockerFactory theDockerFactory = (DockerFactory)EPackage.Registry.INSTANCE.getEFactory(DockerPackage.eNS_URI);
+ if (theDockerFactory != null) {
+ return theDockerFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new DockerFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case DockerPackage.DOCKER_ADAPTOR: return createDockerAdaptor();
+ case DockerPackage.DOCKER_HOST: return createDockerHost();
+ case DockerPackage.DOCKER_IMAGE: return createDockerImage();
+ case DockerPackage.DOCKER_CONTAINER: return createDockerContainer();
+ case DockerPackage.DOCKER_PORT: return createDockerPort();
+ case DockerPackage.DOCKER_KEY_PAIR: return createDockerKeyPair();
+ case DockerPackage.DOCKER_MOUNT: return createDockerMount();
+ case DockerPackage.CONTAINER_OPTIONS: return createContainerOptions();
+ case DockerPackage.CONTAINER_RESTART_POLICY: return createContainerRestartPolicy();
+ case DockerPackage.CONTAINER_PORT_BINDINGS: return createContainerPortBindings();
+ case DockerPackage.DOCKER_NETWORK: return createDockerNetwork();
+ case DockerPackage.DOCKER_IPAM: return createDockerIpam();
+ case DockerPackage.DOCKER_IPAM_CONFIG: return createDockerIpamConfig();
+ case DockerPackage.DOCKER_NETWORK_CONTAINER: return createDockerNetworkContainer();
+ case DockerPackage.DOCKER_EVENTS: return createDockerEvents();
+ case DockerPackage.DOCKER_ACTOR: return createDockerActor();
+ case DockerPackage.DOCKER_ACTOR_ATTRIBUTES: return createDockerActorAttributes();
+ case DockerPackage.DOCKER_CREATE_REQUEST: return createDockerCreateRequest();
+ case DockerPackage.DOCKER_PROCESS: return createDockerProcess();
+ case DockerPackage.DOCKER_CONTAINER_STATS: return createDockerContainerStats();
+ case DockerPackage.CONTAINER_NETWORK_STATS: return createContainerNetworkStats();
+ case DockerPackage.CONTAINER_MEMORY_STATS: return createContainerMemoryStats();
+ case DockerPackage.CONTAINER_MEMORY_USAGE: return createContainerMemoryUsage();
+ case DockerPackage.CONTAINER_CPU_USAGE: return createContainerCpuUsage();
+ case DockerPackage.CONTAINER_CPU_STATS: return createContainerCpuStats();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerAdaptor createDockerAdaptor() {
+ DockerAdaptorImpl dockerAdaptor = new DockerAdaptorImpl();
+ return dockerAdaptor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerHost createDockerHost() {
+ DockerHostImpl dockerHost = new DockerHostImpl();
+ return dockerHost;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerImage createDockerImage() {
+ DockerImageImpl dockerImage = new DockerImageImpl();
+ return dockerImage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerContainer createDockerContainer() {
+ DockerContainerImpl dockerContainer = new DockerContainerImpl();
+ return dockerContainer;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerPort createDockerPort() {
+ DockerPortImpl dockerPort = new DockerPortImpl();
+ return dockerPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerKeyPair createDockerKeyPair() {
+ DockerKeyPairImpl dockerKeyPair = new DockerKeyPairImpl();
+ return dockerKeyPair;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerMount createDockerMount() {
+ DockerMountImpl dockerMount = new DockerMountImpl();
+ return dockerMount;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerOptions createContainerOptions() {
+ ContainerOptionsImpl containerOptions = new ContainerOptionsImpl();
+ return containerOptions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerRestartPolicy createContainerRestartPolicy() {
+ ContainerRestartPolicyImpl containerRestartPolicy = new ContainerRestartPolicyImpl();
+ return containerRestartPolicy;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerPortBindings createContainerPortBindings() {
+ ContainerPortBindingsImpl containerPortBindings = new ContainerPortBindingsImpl();
+ return containerPortBindings;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerNetwork createDockerNetwork() {
+ DockerNetworkImpl dockerNetwork = new DockerNetworkImpl();
+ return dockerNetwork;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerIpam createDockerIpam() {
+ DockerIpamImpl dockerIpam = new DockerIpamImpl();
+ return dockerIpam;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerIpamConfig createDockerIpamConfig() {
+ DockerIpamConfigImpl dockerIpamConfig = new DockerIpamConfigImpl();
+ return dockerIpamConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerNetworkContainer createDockerNetworkContainer() {
+ DockerNetworkContainerImpl dockerNetworkContainer = new DockerNetworkContainerImpl();
+ return dockerNetworkContainer;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerEvents createDockerEvents() {
+ DockerEventsImpl dockerEvents = new DockerEventsImpl();
+ return dockerEvents;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerActor createDockerActor() {
+ DockerActorImpl dockerActor = new DockerActorImpl();
+ return dockerActor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerActorAttributes createDockerActorAttributes() {
+ DockerActorAttributesImpl dockerActorAttributes = new DockerActorAttributesImpl();
+ return dockerActorAttributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerCreateRequest createDockerCreateRequest() {
+ DockerCreateRequestImpl dockerCreateRequest = new DockerCreateRequestImpl();
+ return dockerCreateRequest;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerProcess createDockerProcess() {
+ DockerProcessImpl dockerProcess = new DockerProcessImpl();
+ return dockerProcess;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerContainerStats createDockerContainerStats() {
+ DockerContainerStatsImpl dockerContainerStats = new DockerContainerStatsImpl();
+ return dockerContainerStats;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerNetworkStats createContainerNetworkStats() {
+ ContainerNetworkStatsImpl containerNetworkStats = new ContainerNetworkStatsImpl();
+ return containerNetworkStats;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerMemoryStats createContainerMemoryStats() {
+ ContainerMemoryStatsImpl containerMemoryStats = new ContainerMemoryStatsImpl();
+ return containerMemoryStats;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerMemoryUsage createContainerMemoryUsage() {
+ ContainerMemoryUsageImpl containerMemoryUsage = new ContainerMemoryUsageImpl();
+ return containerMemoryUsage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerCpuUsage createContainerCpuUsage() {
+ ContainerCpuUsageImpl containerCpuUsage = new ContainerCpuUsageImpl();
+ return containerCpuUsage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ContainerCpuStats createContainerCpuStats() {
+ ContainerCpuStatsImpl containerCpuStats = new ContainerCpuStatsImpl();
+ return containerCpuStats;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerPackage getDockerPackage() {
+ return (DockerPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static DockerPackage getPackage() {
+ return DockerPackage.eINSTANCE;
+ }
+
+} //DockerFactoryImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerHostImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerHostImpl.java
new file mode 100644
index 0000000..7b787ef
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerHostImpl.java
@@ -0,0 +1,637 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.impl.NamedEntityImpl;
+
+import org.openecomp.ncomp.docker.ContainerOptions;
+import org.openecomp.ncomp.docker.DockerContainer;
+import org.openecomp.ncomp.docker.DockerHost;
+import org.openecomp.ncomp.docker.DockerImage;
+import org.openecomp.ncomp.docker.DockerNetwork;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import java.lang.reflect.InvocationTargetException;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Host</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerHostImpl#getUrl <em>Url</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerHostImpl#getPollingFrequency <em>Polling Frequency</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerHostImpl#isRemote <em>Remote</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerHostImpl#getImages <em>Images</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerHostImpl#getContainers <em>Containers</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerHostImpl#getNetworks <em>Networks</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerHostImpl extends NamedEntityImpl implements DockerHost {
+ /**
+ * The default value of the '{@link #getUrl() <em>Url</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUrl()
+ * @generated
+ * @ordered
+ */
+ protected static final String URL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUrl() <em>Url</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUrl()
+ * @generated
+ * @ordered
+ */
+ protected String url = URL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPollingFrequency() <em>Polling Frequency</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPollingFrequency()
+ * @generated
+ * @ordered
+ */
+ protected static final long POLLING_FREQUENCY_EDEFAULT = 30000L;
+
+ /**
+ * The cached value of the '{@link #getPollingFrequency() <em>Polling Frequency</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPollingFrequency()
+ * @generated
+ * @ordered
+ */
+ protected long pollingFrequency = POLLING_FREQUENCY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isRemote() <em>Remote</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRemote()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean REMOTE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isRemote() <em>Remote</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRemote()
+ * @generated
+ * @ordered
+ */
+ protected boolean remote = REMOTE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getImages() <em>Images</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getImages()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerImage> images;
+
+ /**
+ * The cached value of the '{@link #getContainers() <em>Containers</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainers()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerContainer> containers;
+
+ /**
+ * The cached value of the '{@link #getNetworks() <em>Networks</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNetworks()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerNetwork> networks;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerHostImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_HOST;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUrl() {
+ return url;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUrl(String newUrl) {
+ String oldUrl = url;
+ url = newUrl;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_HOST__URL, oldUrl, url));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getPollingFrequency() {
+ return pollingFrequency;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPollingFrequency(long newPollingFrequency) {
+ long oldPollingFrequency = pollingFrequency;
+ pollingFrequency = newPollingFrequency;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_HOST__POLLING_FREQUENCY, oldPollingFrequency, pollingFrequency));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isRemote() {
+ return remote;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRemote(boolean newRemote) {
+ boolean oldRemote = remote;
+ remote = newRemote;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_HOST__REMOTE, oldRemote, remote));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerImage> getImages() {
+ if (images == null) {
+ images = new EObjectContainmentEList<DockerImage>(DockerImage.class, this, DockerPackage.DOCKER_HOST__IMAGES);
+ }
+ return images;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerContainer> getContainers() {
+ if (containers == null) {
+ containers = new EObjectContainmentEList<DockerContainer>(DockerContainer.class, this, DockerPackage.DOCKER_HOST__CONTAINERS);
+ }
+ return containers;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerNetwork> getNetworks() {
+ if (networks == null) {
+ networks = new EObjectContainmentEList<DockerNetwork>(DockerNetwork.class, this, DockerPackage.DOCKER_HOST__NETWORKS);
+ }
+ return networks;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void poll() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void startContainer(String name) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void stopContainer(String name, int seconds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void restartContainer(String name, int seconds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void pauseContainer(String name) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unpauseContainer(String name) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeContainer(String name, boolean remove, boolean force) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void inspectContainer(String name) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void killContainer(String name, String sigint) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void dockerRun(String image) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void dockerRunWithName(String image, String name) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void dockerRunWithOptions(String image, ContainerOptions opts) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void containerStats(String name, boolean stream) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void containerProcesses(String name) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_HOST__IMAGES:
+ return ((InternalEList<?>)getImages()).basicRemove(otherEnd, msgs);
+ case DockerPackage.DOCKER_HOST__CONTAINERS:
+ return ((InternalEList<?>)getContainers()).basicRemove(otherEnd, msgs);
+ case DockerPackage.DOCKER_HOST__NETWORKS:
+ return ((InternalEList<?>)getNetworks()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_HOST__URL:
+ return getUrl();
+ case DockerPackage.DOCKER_HOST__POLLING_FREQUENCY:
+ return getPollingFrequency();
+ case DockerPackage.DOCKER_HOST__REMOTE:
+ return isRemote();
+ case DockerPackage.DOCKER_HOST__IMAGES:
+ return getImages();
+ case DockerPackage.DOCKER_HOST__CONTAINERS:
+ return getContainers();
+ case DockerPackage.DOCKER_HOST__NETWORKS:
+ return getNetworks();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_HOST__URL:
+ setUrl((String)newValue);
+ return;
+ case DockerPackage.DOCKER_HOST__POLLING_FREQUENCY:
+ setPollingFrequency((Long)newValue);
+ return;
+ case DockerPackage.DOCKER_HOST__REMOTE:
+ setRemote((Boolean)newValue);
+ return;
+ case DockerPackage.DOCKER_HOST__IMAGES:
+ getImages().clear();
+ getImages().addAll((Collection<? extends DockerImage>)newValue);
+ return;
+ case DockerPackage.DOCKER_HOST__CONTAINERS:
+ getContainers().clear();
+ getContainers().addAll((Collection<? extends DockerContainer>)newValue);
+ return;
+ case DockerPackage.DOCKER_HOST__NETWORKS:
+ getNetworks().clear();
+ getNetworks().addAll((Collection<? extends DockerNetwork>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_HOST__URL:
+ setUrl(URL_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_HOST__POLLING_FREQUENCY:
+ setPollingFrequency(POLLING_FREQUENCY_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_HOST__REMOTE:
+ setRemote(REMOTE_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_HOST__IMAGES:
+ getImages().clear();
+ return;
+ case DockerPackage.DOCKER_HOST__CONTAINERS:
+ getContainers().clear();
+ return;
+ case DockerPackage.DOCKER_HOST__NETWORKS:
+ getNetworks().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_HOST__URL:
+ return URL_EDEFAULT == null ? url != null : !URL_EDEFAULT.equals(url);
+ case DockerPackage.DOCKER_HOST__POLLING_FREQUENCY:
+ return pollingFrequency != POLLING_FREQUENCY_EDEFAULT;
+ case DockerPackage.DOCKER_HOST__REMOTE:
+ return remote != REMOTE_EDEFAULT;
+ case DockerPackage.DOCKER_HOST__IMAGES:
+ return images != null && !images.isEmpty();
+ case DockerPackage.DOCKER_HOST__CONTAINERS:
+ return containers != null && !containers.isEmpty();
+ case DockerPackage.DOCKER_HOST__NETWORKS:
+ return networks != null && !networks.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
+ switch (operationID) {
+ case DockerPackage.DOCKER_HOST___POLL:
+ poll();
+ return null;
+ case DockerPackage.DOCKER_HOST___START_CONTAINER__STRING:
+ startContainer((String)arguments.get(0));
+ return null;
+ case DockerPackage.DOCKER_HOST___STOP_CONTAINER__STRING_INT:
+ stopContainer((String)arguments.get(0), (Integer)arguments.get(1));
+ return null;
+ case DockerPackage.DOCKER_HOST___RESTART_CONTAINER__STRING_INT:
+ restartContainer((String)arguments.get(0), (Integer)arguments.get(1));
+ return null;
+ case DockerPackage.DOCKER_HOST___PAUSE_CONTAINER__STRING:
+ pauseContainer((String)arguments.get(0));
+ return null;
+ case DockerPackage.DOCKER_HOST___UNPAUSE_CONTAINER__STRING:
+ unpauseContainer((String)arguments.get(0));
+ return null;
+ case DockerPackage.DOCKER_HOST___REMOVE_CONTAINER__STRING_BOOLEAN_BOOLEAN:
+ removeContainer((String)arguments.get(0), (Boolean)arguments.get(1), (Boolean)arguments.get(2));
+ return null;
+ case DockerPackage.DOCKER_HOST___INSPECT_CONTAINER__STRING:
+ inspectContainer((String)arguments.get(0));
+ return null;
+ case DockerPackage.DOCKER_HOST___KILL_CONTAINER__STRING_STRING:
+ killContainer((String)arguments.get(0), (String)arguments.get(1));
+ return null;
+ case DockerPackage.DOCKER_HOST___DOCKER_RUN__STRING:
+ dockerRun((String)arguments.get(0));
+ return null;
+ case DockerPackage.DOCKER_HOST___DOCKER_RUN_WITH_NAME__STRING_STRING:
+ dockerRunWithName((String)arguments.get(0), (String)arguments.get(1));
+ return null;
+ case DockerPackage.DOCKER_HOST___DOCKER_RUN_WITH_OPTIONS__STRING_CONTAINEROPTIONS:
+ dockerRunWithOptions((String)arguments.get(0), (ContainerOptions)arguments.get(1));
+ return null;
+ case DockerPackage.DOCKER_HOST___CONTAINER_STATS__STRING_BOOLEAN:
+ containerStats((String)arguments.get(0), (Boolean)arguments.get(1));
+ return null;
+ case DockerPackage.DOCKER_HOST___CONTAINER_PROCESSES__STRING:
+ containerProcesses((String)arguments.get(0));
+ return null;
+ }
+ return super.eInvoke(operationID, arguments);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (url: ");
+ result.append(url);
+ result.append(", pollingFrequency: ");
+ result.append(pollingFrequency);
+ result.append(", remote: ");
+ result.append(remote);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerHostImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerImageImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerImageImpl.java
new file mode 100644
index 0000000..ad91660
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerImageImpl.java
@@ -0,0 +1,517 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.impl.NamedEntityImpl;
+
+import org.openecomp.ncomp.docker.DockerImage;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import java.util.Collection;
+import java.util.Date;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Image</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerImageImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerImageImpl#getParentId <em>Parent Id</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerImageImpl#getRepoTags <em>Repo Tags</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerImageImpl#getRepoDigests <em>Repo Digests</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerImageImpl#getDockerCreated <em>Docker Created</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerImageImpl#getSize <em>Size</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerImageImpl#getVirtualSize <em>Virtual Size</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerImageImpl#getLabels <em>Labels</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerImageImpl extends NamedEntityImpl implements DockerImage {
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getParentId() <em>Parent Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParentId()
+ * @generated
+ * @ordered
+ */
+ protected static final String PARENT_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getParentId() <em>Parent Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParentId()
+ * @generated
+ * @ordered
+ */
+ protected String parentId = PARENT_ID_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getRepoTags() <em>Repo Tags</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRepoTags()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> repoTags;
+
+ /**
+ * The cached value of the '{@link #getRepoDigests() <em>Repo Digests</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRepoDigests()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> repoDigests;
+
+ /**
+ * The default value of the '{@link #getDockerCreated() <em>Docker Created</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDockerCreated()
+ * @generated
+ * @ordered
+ */
+ protected static final Date DOCKER_CREATED_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDockerCreated() <em>Docker Created</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDockerCreated()
+ * @generated
+ * @ordered
+ */
+ protected Date dockerCreated = DOCKER_CREATED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSize() <em>Size</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSize()
+ * @generated
+ * @ordered
+ */
+ protected static final Long SIZE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSize() <em>Size</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSize()
+ * @generated
+ * @ordered
+ */
+ protected Long size = SIZE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getVirtualSize() <em>Virtual Size</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVirtualSize()
+ * @generated
+ * @ordered
+ */
+ protected static final Long VIRTUAL_SIZE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getVirtualSize() <em>Virtual Size</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVirtualSize()
+ * @generated
+ * @ordered
+ */
+ protected Long virtualSize = VIRTUAL_SIZE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getLabels() <em>Labels</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLabels()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> labels;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerImageImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_IMAGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_IMAGE__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getParentId() {
+ return parentId;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParentId(String newParentId) {
+ String oldParentId = parentId;
+ parentId = newParentId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_IMAGE__PARENT_ID, oldParentId, parentId));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getRepoTags() {
+ if (repoTags == null) {
+ repoTags = new EDataTypeEList<String>(String.class, this, DockerPackage.DOCKER_IMAGE__REPO_TAGS);
+ }
+ return repoTags;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getRepoDigests() {
+ if (repoDigests == null) {
+ repoDigests = new EDataTypeEList<String>(String.class, this, DockerPackage.DOCKER_IMAGE__REPO_DIGESTS);
+ }
+ return repoDigests;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Date getDockerCreated() {
+ return dockerCreated;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDockerCreated(Date newDockerCreated) {
+ Date oldDockerCreated = dockerCreated;
+ dockerCreated = newDockerCreated;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_IMAGE__DOCKER_CREATED, oldDockerCreated, dockerCreated));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Long getSize() {
+ return size;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSize(Long newSize) {
+ Long oldSize = size;
+ size = newSize;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_IMAGE__SIZE, oldSize, size));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Long getVirtualSize() {
+ return virtualSize;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setVirtualSize(Long newVirtualSize) {
+ Long oldVirtualSize = virtualSize;
+ virtualSize = newVirtualSize;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_IMAGE__VIRTUAL_SIZE, oldVirtualSize, virtualSize));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getLabels() {
+ if (labels == null) {
+ labels = new EDataTypeEList<String>(String.class, this, DockerPackage.DOCKER_IMAGE__LABELS);
+ }
+ return labels;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IMAGE__ID:
+ return getId();
+ case DockerPackage.DOCKER_IMAGE__PARENT_ID:
+ return getParentId();
+ case DockerPackage.DOCKER_IMAGE__REPO_TAGS:
+ return getRepoTags();
+ case DockerPackage.DOCKER_IMAGE__REPO_DIGESTS:
+ return getRepoDigests();
+ case DockerPackage.DOCKER_IMAGE__DOCKER_CREATED:
+ return getDockerCreated();
+ case DockerPackage.DOCKER_IMAGE__SIZE:
+ return getSize();
+ case DockerPackage.DOCKER_IMAGE__VIRTUAL_SIZE:
+ return getVirtualSize();
+ case DockerPackage.DOCKER_IMAGE__LABELS:
+ return getLabels();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IMAGE__ID:
+ setId((String)newValue);
+ return;
+ case DockerPackage.DOCKER_IMAGE__PARENT_ID:
+ setParentId((String)newValue);
+ return;
+ case DockerPackage.DOCKER_IMAGE__REPO_TAGS:
+ getRepoTags().clear();
+ getRepoTags().addAll((Collection<? extends String>)newValue);
+ return;
+ case DockerPackage.DOCKER_IMAGE__REPO_DIGESTS:
+ getRepoDigests().clear();
+ getRepoDigests().addAll((Collection<? extends String>)newValue);
+ return;
+ case DockerPackage.DOCKER_IMAGE__DOCKER_CREATED:
+ setDockerCreated((Date)newValue);
+ return;
+ case DockerPackage.DOCKER_IMAGE__SIZE:
+ setSize((Long)newValue);
+ return;
+ case DockerPackage.DOCKER_IMAGE__VIRTUAL_SIZE:
+ setVirtualSize((Long)newValue);
+ return;
+ case DockerPackage.DOCKER_IMAGE__LABELS:
+ getLabels().clear();
+ getLabels().addAll((Collection<? extends String>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IMAGE__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_IMAGE__PARENT_ID:
+ setParentId(PARENT_ID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_IMAGE__REPO_TAGS:
+ getRepoTags().clear();
+ return;
+ case DockerPackage.DOCKER_IMAGE__REPO_DIGESTS:
+ getRepoDigests().clear();
+ return;
+ case DockerPackage.DOCKER_IMAGE__DOCKER_CREATED:
+ setDockerCreated(DOCKER_CREATED_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_IMAGE__SIZE:
+ setSize(SIZE_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_IMAGE__VIRTUAL_SIZE:
+ setVirtualSize(VIRTUAL_SIZE_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_IMAGE__LABELS:
+ getLabels().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IMAGE__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case DockerPackage.DOCKER_IMAGE__PARENT_ID:
+ return PARENT_ID_EDEFAULT == null ? parentId != null : !PARENT_ID_EDEFAULT.equals(parentId);
+ case DockerPackage.DOCKER_IMAGE__REPO_TAGS:
+ return repoTags != null && !repoTags.isEmpty();
+ case DockerPackage.DOCKER_IMAGE__REPO_DIGESTS:
+ return repoDigests != null && !repoDigests.isEmpty();
+ case DockerPackage.DOCKER_IMAGE__DOCKER_CREATED:
+ return DOCKER_CREATED_EDEFAULT == null ? dockerCreated != null : !DOCKER_CREATED_EDEFAULT.equals(dockerCreated);
+ case DockerPackage.DOCKER_IMAGE__SIZE:
+ return SIZE_EDEFAULT == null ? size != null : !SIZE_EDEFAULT.equals(size);
+ case DockerPackage.DOCKER_IMAGE__VIRTUAL_SIZE:
+ return VIRTUAL_SIZE_EDEFAULT == null ? virtualSize != null : !VIRTUAL_SIZE_EDEFAULT.equals(virtualSize);
+ case DockerPackage.DOCKER_IMAGE__LABELS:
+ return labels != null && !labels.isEmpty();
+ }
+ 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(" (id: ");
+ result.append(id);
+ result.append(", parentId: ");
+ result.append(parentId);
+ result.append(", repoTags: ");
+ result.append(repoTags);
+ result.append(", repoDigests: ");
+ result.append(repoDigests);
+ result.append(", dockerCreated: ");
+ result.append(dockerCreated);
+ result.append(", size: ");
+ result.append(size);
+ result.append(", virtualSize: ");
+ result.append(virtualSize);
+ result.append(", labels: ");
+ result.append(labels);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerImageImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerIpamConfigImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerIpamConfigImpl.java
new file mode 100644
index 0000000..532b803
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerIpamConfigImpl.java
@@ -0,0 +1,184 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerIpamConfig;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+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>Ipam Config</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerIpamConfigImpl#getSubnet <em>Subnet</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerIpamConfigImpl extends MinimalEObjectImpl.Container implements DockerIpamConfig {
+ /**
+ * The default value of the '{@link #getSubnet() <em>Subnet</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubnet()
+ * @generated
+ * @ordered
+ */
+ protected static final String SUBNET_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSubnet() <em>Subnet</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubnet()
+ * @generated
+ * @ordered
+ */
+ protected String subnet = SUBNET_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerIpamConfigImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_IPAM_CONFIG;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSubnet() {
+ return subnet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSubnet(String newSubnet) {
+ String oldSubnet = subnet;
+ subnet = newSubnet;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_IPAM_CONFIG__SUBNET, oldSubnet, subnet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IPAM_CONFIG__SUBNET:
+ return getSubnet();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IPAM_CONFIG__SUBNET:
+ setSubnet((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IPAM_CONFIG__SUBNET:
+ setSubnet(SUBNET_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IPAM_CONFIG__SUBNET:
+ return SUBNET_EDEFAULT == null ? subnet != null : !SUBNET_EDEFAULT.equals(subnet);
+ }
+ 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(" (subnet: ");
+ result.append(subnet);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerIpamConfigImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerIpamImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerIpamImpl.java
new file mode 100644
index 0000000..fb93731
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerIpamImpl.java
@@ -0,0 +1,243 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerIpam;
+import org.openecomp.ncomp.docker.DockerIpamConfig;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Ipam</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerIpamImpl#getDriver <em>Driver</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerIpamImpl#getConfig <em>Config</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerIpamImpl extends MinimalEObjectImpl.Container implements DockerIpam {
+ /**
+ * The default value of the '{@link #getDriver() <em>Driver</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDriver()
+ * @generated
+ * @ordered
+ */
+ protected static final String DRIVER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDriver() <em>Driver</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDriver()
+ * @generated
+ * @ordered
+ */
+ protected String driver = DRIVER_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getConfig() <em>Config</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConfig()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerIpamConfig> config;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerIpamImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_IPAM;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDriver() {
+ return driver;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDriver(String newDriver) {
+ String oldDriver = driver;
+ driver = newDriver;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_IPAM__DRIVER, oldDriver, driver));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerIpamConfig> getConfig() {
+ if (config == null) {
+ config = new EObjectContainmentEList<DockerIpamConfig>(DockerIpamConfig.class, this, DockerPackage.DOCKER_IPAM__CONFIG);
+ }
+ return config;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IPAM__CONFIG:
+ return ((InternalEList<?>)getConfig()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IPAM__DRIVER:
+ return getDriver();
+ case DockerPackage.DOCKER_IPAM__CONFIG:
+ return getConfig();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IPAM__DRIVER:
+ setDriver((String)newValue);
+ return;
+ case DockerPackage.DOCKER_IPAM__CONFIG:
+ getConfig().clear();
+ getConfig().addAll((Collection<? extends DockerIpamConfig>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IPAM__DRIVER:
+ setDriver(DRIVER_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_IPAM__CONFIG:
+ getConfig().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_IPAM__DRIVER:
+ return DRIVER_EDEFAULT == null ? driver != null : !DRIVER_EDEFAULT.equals(driver);
+ case DockerPackage.DOCKER_IPAM__CONFIG:
+ return config != null && !config.isEmpty();
+ }
+ 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(" (driver: ");
+ result.append(driver);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerIpamImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerKeyPairImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerKeyPairImpl.java
new file mode 100644
index 0000000..83d62ea
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerKeyPairImpl.java
@@ -0,0 +1,238 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerKeyPair;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+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>Key Pair</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerKeyPairImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerKeyPairImpl#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerKeyPairImpl extends MinimalEObjectImpl.Container implements DockerKeyPair {
+ /**
+ * 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 #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerKeyPairImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_KEY_PAIR;
+ }
+
+ /**
+ * <!-- 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, DockerPackage.DOCKER_KEY_PAIR__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_KEY_PAIR__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_KEY_PAIR__NAME:
+ return getName();
+ case DockerPackage.DOCKER_KEY_PAIR__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_KEY_PAIR__NAME:
+ setName((String)newValue);
+ return;
+ case DockerPackage.DOCKER_KEY_PAIR__VALUE:
+ setValue((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_KEY_PAIR__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_KEY_PAIR__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_KEY_PAIR__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case DockerPackage.DOCKER_KEY_PAIR__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(", value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerKeyPairImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerMountImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerMountImpl.java
new file mode 100644
index 0000000..69c4d0e
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerMountImpl.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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerMount;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+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>Mount</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerMountImpl#getSource <em>Source</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerMountImpl#getDestination <em>Destination</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerMountImpl#getMode <em>Mode</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerMountImpl#getRW <em>RW</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerMountImpl#getPropagation <em>Propagation</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerMountImpl extends MinimalEObjectImpl.Container implements DockerMount {
+ /**
+ * The default value of the '{@link #getSource() <em>Source</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSource()
+ * @generated
+ * @ordered
+ */
+ protected static final String SOURCE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSource() <em>Source</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSource()
+ * @generated
+ * @ordered
+ */
+ protected String source = SOURCE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDestination() <em>Destination</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDestination()
+ * @generated
+ * @ordered
+ */
+ protected static final String DESTINATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDestination() <em>Destination</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDestination()
+ * @generated
+ * @ordered
+ */
+ protected String destination = DESTINATION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMode() <em>Mode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMode()
+ * @generated
+ * @ordered
+ */
+ protected static final String MODE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getMode() <em>Mode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMode()
+ * @generated
+ * @ordered
+ */
+ protected String mode = MODE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRW() <em>RW</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRW()
+ * @generated
+ * @ordered
+ */
+ protected static final Boolean RW_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getRW() <em>RW</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRW()
+ * @generated
+ * @ordered
+ */
+ protected Boolean rW = RW_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPropagation() <em>Propagation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPropagation()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROPAGATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPropagation() <em>Propagation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPropagation()
+ * @generated
+ * @ordered
+ */
+ protected String propagation = PROPAGATION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerMountImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_MOUNT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSource(String newSource) {
+ String oldSource = source;
+ source = newSource;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_MOUNT__SOURCE, oldSource, source));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDestination() {
+ return destination;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDestination(String newDestination) {
+ String oldDestination = destination;
+ destination = newDestination;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_MOUNT__DESTINATION, oldDestination, destination));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getMode() {
+ return mode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMode(String newMode) {
+ String oldMode = mode;
+ mode = newMode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_MOUNT__MODE, oldMode, mode));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Boolean getRW() {
+ return rW;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRW(Boolean newRW) {
+ Boolean oldRW = rW;
+ rW = newRW;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_MOUNT__RW, oldRW, rW));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPropagation() {
+ return propagation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPropagation(String newPropagation) {
+ String oldPropagation = propagation;
+ propagation = newPropagation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_MOUNT__PROPAGATION, oldPropagation, propagation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_MOUNT__SOURCE:
+ return getSource();
+ case DockerPackage.DOCKER_MOUNT__DESTINATION:
+ return getDestination();
+ case DockerPackage.DOCKER_MOUNT__MODE:
+ return getMode();
+ case DockerPackage.DOCKER_MOUNT__RW:
+ return getRW();
+ case DockerPackage.DOCKER_MOUNT__PROPAGATION:
+ return getPropagation();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_MOUNT__SOURCE:
+ setSource((String)newValue);
+ return;
+ case DockerPackage.DOCKER_MOUNT__DESTINATION:
+ setDestination((String)newValue);
+ return;
+ case DockerPackage.DOCKER_MOUNT__MODE:
+ setMode((String)newValue);
+ return;
+ case DockerPackage.DOCKER_MOUNT__RW:
+ setRW((Boolean)newValue);
+ return;
+ case DockerPackage.DOCKER_MOUNT__PROPAGATION:
+ setPropagation((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_MOUNT__SOURCE:
+ setSource(SOURCE_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_MOUNT__DESTINATION:
+ setDestination(DESTINATION_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_MOUNT__MODE:
+ setMode(MODE_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_MOUNT__RW:
+ setRW(RW_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_MOUNT__PROPAGATION:
+ setPropagation(PROPAGATION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_MOUNT__SOURCE:
+ return SOURCE_EDEFAULT == null ? source != null : !SOURCE_EDEFAULT.equals(source);
+ case DockerPackage.DOCKER_MOUNT__DESTINATION:
+ return DESTINATION_EDEFAULT == null ? destination != null : !DESTINATION_EDEFAULT.equals(destination);
+ case DockerPackage.DOCKER_MOUNT__MODE:
+ return MODE_EDEFAULT == null ? mode != null : !MODE_EDEFAULT.equals(mode);
+ case DockerPackage.DOCKER_MOUNT__RW:
+ return RW_EDEFAULT == null ? rW != null : !RW_EDEFAULT.equals(rW);
+ case DockerPackage.DOCKER_MOUNT__PROPAGATION:
+ return PROPAGATION_EDEFAULT == null ? propagation != null : !PROPAGATION_EDEFAULT.equals(propagation);
+ }
+ 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(" (source: ");
+ result.append(source);
+ result.append(", destination: ");
+ result.append(destination);
+ result.append(", mode: ");
+ result.append(mode);
+ result.append(", rW: ");
+ result.append(rW);
+ result.append(", propagation: ");
+ result.append(propagation);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerMountImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerNetworkContainerImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerNetworkContainerImpl.java
new file mode 100644
index 0000000..f9c110e
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerNetworkContainerImpl.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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerNetworkContainer;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+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>Network Container</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkContainerImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkContainerImpl#getIPv4Address <em>IPv4 Address</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkContainerImpl#getIPv6Address <em>IPv6 Address</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkContainerImpl#getEndpointID <em>Endpoint ID</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkContainerImpl#getMacAddress <em>Mac Address</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerNetworkContainerImpl extends MinimalEObjectImpl.Container implements DockerNetworkContainer {
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getIPv4Address() <em>IPv4 Address</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIPv4Address()
+ * @generated
+ * @ordered
+ */
+ protected static final String IPV4_ADDRESS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getIPv4Address() <em>IPv4 Address</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIPv4Address()
+ * @generated
+ * @ordered
+ */
+ protected String iPv4Address = IPV4_ADDRESS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getIPv6Address() <em>IPv6 Address</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIPv6Address()
+ * @generated
+ * @ordered
+ */
+ protected static final String IPV6_ADDRESS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getIPv6Address() <em>IPv6 Address</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIPv6Address()
+ * @generated
+ * @ordered
+ */
+ protected String iPv6Address = IPV6_ADDRESS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getEndpointID() <em>Endpoint ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEndpointID()
+ * @generated
+ * @ordered
+ */
+ protected static final String ENDPOINT_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getEndpointID() <em>Endpoint ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEndpointID()
+ * @generated
+ * @ordered
+ */
+ protected String endpointID = ENDPOINT_ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMacAddress() <em>Mac Address</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMacAddress()
+ * @generated
+ * @ordered
+ */
+ protected static final String MAC_ADDRESS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getMacAddress() <em>Mac Address</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMacAddress()
+ * @generated
+ * @ordered
+ */
+ protected String macAddress = MAC_ADDRESS_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerNetworkContainerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_NETWORK_CONTAINER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK_CONTAINER__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getIPv4Address() {
+ return iPv4Address;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIPv4Address(String newIPv4Address) {
+ String oldIPv4Address = iPv4Address;
+ iPv4Address = newIPv4Address;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK_CONTAINER__IPV4_ADDRESS, oldIPv4Address, iPv4Address));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getIPv6Address() {
+ return iPv6Address;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIPv6Address(String newIPv6Address) {
+ String oldIPv6Address = iPv6Address;
+ iPv6Address = newIPv6Address;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK_CONTAINER__IPV6_ADDRESS, oldIPv6Address, iPv6Address));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEndpointID() {
+ return endpointID;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEndpointID(String newEndpointID) {
+ String oldEndpointID = endpointID;
+ endpointID = newEndpointID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK_CONTAINER__ENDPOINT_ID, oldEndpointID, endpointID));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getMacAddress() {
+ return macAddress;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMacAddress(String newMacAddress) {
+ String oldMacAddress = macAddress;
+ macAddress = newMacAddress;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK_CONTAINER__MAC_ADDRESS, oldMacAddress, macAddress));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__ID:
+ return getId();
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__IPV4_ADDRESS:
+ return getIPv4Address();
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__IPV6_ADDRESS:
+ return getIPv6Address();
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__ENDPOINT_ID:
+ return getEndpointID();
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__MAC_ADDRESS:
+ return getMacAddress();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__ID:
+ setId((String)newValue);
+ return;
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__IPV4_ADDRESS:
+ setIPv4Address((String)newValue);
+ return;
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__IPV6_ADDRESS:
+ setIPv6Address((String)newValue);
+ return;
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__ENDPOINT_ID:
+ setEndpointID((String)newValue);
+ return;
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__MAC_ADDRESS:
+ setMacAddress((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__IPV4_ADDRESS:
+ setIPv4Address(IPV4_ADDRESS_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__IPV6_ADDRESS:
+ setIPv6Address(IPV6_ADDRESS_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__ENDPOINT_ID:
+ setEndpointID(ENDPOINT_ID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__MAC_ADDRESS:
+ setMacAddress(MAC_ADDRESS_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__IPV4_ADDRESS:
+ return IPV4_ADDRESS_EDEFAULT == null ? iPv4Address != null : !IPV4_ADDRESS_EDEFAULT.equals(iPv4Address);
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__IPV6_ADDRESS:
+ return IPV6_ADDRESS_EDEFAULT == null ? iPv6Address != null : !IPV6_ADDRESS_EDEFAULT.equals(iPv6Address);
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__ENDPOINT_ID:
+ return ENDPOINT_ID_EDEFAULT == null ? endpointID != null : !ENDPOINT_ID_EDEFAULT.equals(endpointID);
+ case DockerPackage.DOCKER_NETWORK_CONTAINER__MAC_ADDRESS:
+ return MAC_ADDRESS_EDEFAULT == null ? macAddress != null : !MAC_ADDRESS_EDEFAULT.equals(macAddress);
+ }
+ 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(" (id: ");
+ result.append(id);
+ result.append(", iPv4Address: ");
+ result.append(iPv4Address);
+ result.append(", iPv6Address: ");
+ result.append(iPv6Address);
+ result.append(", endpointID: ");
+ result.append(endpointID);
+ result.append(", macAddress: ");
+ result.append(macAddress);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerNetworkContainerImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerNetworkImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerNetworkImpl.java
new file mode 100644
index 0000000..4f1be74
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerNetworkImpl.java
@@ -0,0 +1,456 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.impl.NamedEntityImpl;
+
+import org.openecomp.ncomp.docker.DockerIpam;
+import org.openecomp.ncomp.docker.DockerKeyPair;
+import org.openecomp.ncomp.docker.DockerNetwork;
+import org.openecomp.ncomp.docker.DockerNetworkContainer;
+import org.openecomp.ncomp.docker.DockerPackage;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Network</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkImpl#getScope <em>Scope</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkImpl#getDriver <em>Driver</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkImpl#getIPAM <em>IPAM</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkImpl#getContainers <em>Containers</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerNetworkImpl#getOptions <em>Options</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerNetworkImpl extends NamedEntityImpl implements DockerNetwork {
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getScope() <em>Scope</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScope()
+ * @generated
+ * @ordered
+ */
+ protected static final String SCOPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getScope() <em>Scope</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScope()
+ * @generated
+ * @ordered
+ */
+ protected String scope = SCOPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDriver() <em>Driver</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDriver()
+ * @generated
+ * @ordered
+ */
+ protected static final String DRIVER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDriver() <em>Driver</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDriver()
+ * @generated
+ * @ordered
+ */
+ protected String driver = DRIVER_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getIPAM() <em>IPAM</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIPAM()
+ * @generated
+ * @ordered
+ */
+ protected DockerIpam iPAM;
+
+ /**
+ * The cached value of the '{@link #getContainers() <em>Containers</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainers()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerNetworkContainer> containers;
+
+ /**
+ * The cached value of the '{@link #getOptions() <em>Options</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOptions()
+ * @generated
+ * @ordered
+ */
+ protected EList<DockerKeyPair> options;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerNetworkImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_NETWORK;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getScope() {
+ return scope;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScope(String newScope) {
+ String oldScope = scope;
+ scope = newScope;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK__SCOPE, oldScope, scope));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDriver() {
+ return driver;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDriver(String newDriver) {
+ String oldDriver = driver;
+ driver = newDriver;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK__DRIVER, oldDriver, driver));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerIpam getIPAM() {
+ return iPAM;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetIPAM(DockerIpam newIPAM, NotificationChain msgs) {
+ DockerIpam oldIPAM = iPAM;
+ iPAM = newIPAM;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK__IPAM, oldIPAM, newIPAM);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIPAM(DockerIpam newIPAM) {
+ if (newIPAM != iPAM) {
+ NotificationChain msgs = null;
+ if (iPAM != null)
+ msgs = ((InternalEObject)iPAM).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_NETWORK__IPAM, null, msgs);
+ if (newIPAM != null)
+ msgs = ((InternalEObject)newIPAM).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DockerPackage.DOCKER_NETWORK__IPAM, null, msgs);
+ msgs = basicSetIPAM(newIPAM, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_NETWORK__IPAM, newIPAM, newIPAM));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerNetworkContainer> getContainers() {
+ if (containers == null) {
+ containers = new EObjectContainmentEList<DockerNetworkContainer>(DockerNetworkContainer.class, this, DockerPackage.DOCKER_NETWORK__CONTAINERS);
+ }
+ return containers;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DockerKeyPair> getOptions() {
+ if (options == null) {
+ options = new EObjectContainmentEList<DockerKeyPair>(DockerKeyPair.class, this, DockerPackage.DOCKER_NETWORK__OPTIONS);
+ }
+ return options;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_NETWORK__IPAM:
+ return basicSetIPAM(null, msgs);
+ case DockerPackage.DOCKER_NETWORK__CONTAINERS:
+ return ((InternalEList<?>)getContainers()).basicRemove(otherEnd, msgs);
+ case DockerPackage.DOCKER_NETWORK__OPTIONS:
+ return ((InternalEList<?>)getOptions()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_NETWORK__ID:
+ return getId();
+ case DockerPackage.DOCKER_NETWORK__SCOPE:
+ return getScope();
+ case DockerPackage.DOCKER_NETWORK__DRIVER:
+ return getDriver();
+ case DockerPackage.DOCKER_NETWORK__IPAM:
+ return getIPAM();
+ case DockerPackage.DOCKER_NETWORK__CONTAINERS:
+ return getContainers();
+ case DockerPackage.DOCKER_NETWORK__OPTIONS:
+ return getOptions();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_NETWORK__ID:
+ setId((String)newValue);
+ return;
+ case DockerPackage.DOCKER_NETWORK__SCOPE:
+ setScope((String)newValue);
+ return;
+ case DockerPackage.DOCKER_NETWORK__DRIVER:
+ setDriver((String)newValue);
+ return;
+ case DockerPackage.DOCKER_NETWORK__IPAM:
+ setIPAM((DockerIpam)newValue);
+ return;
+ case DockerPackage.DOCKER_NETWORK__CONTAINERS:
+ getContainers().clear();
+ getContainers().addAll((Collection<? extends DockerNetworkContainer>)newValue);
+ return;
+ case DockerPackage.DOCKER_NETWORK__OPTIONS:
+ getOptions().clear();
+ getOptions().addAll((Collection<? extends DockerKeyPair>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_NETWORK__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_NETWORK__SCOPE:
+ setScope(SCOPE_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_NETWORK__DRIVER:
+ setDriver(DRIVER_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_NETWORK__IPAM:
+ setIPAM((DockerIpam)null);
+ return;
+ case DockerPackage.DOCKER_NETWORK__CONTAINERS:
+ getContainers().clear();
+ return;
+ case DockerPackage.DOCKER_NETWORK__OPTIONS:
+ getOptions().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_NETWORK__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case DockerPackage.DOCKER_NETWORK__SCOPE:
+ return SCOPE_EDEFAULT == null ? scope != null : !SCOPE_EDEFAULT.equals(scope);
+ case DockerPackage.DOCKER_NETWORK__DRIVER:
+ return DRIVER_EDEFAULT == null ? driver != null : !DRIVER_EDEFAULT.equals(driver);
+ case DockerPackage.DOCKER_NETWORK__IPAM:
+ return iPAM != null;
+ case DockerPackage.DOCKER_NETWORK__CONTAINERS:
+ return containers != null && !containers.isEmpty();
+ case DockerPackage.DOCKER_NETWORK__OPTIONS:
+ return options != null && !options.isEmpty();
+ }
+ 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(" (id: ");
+ result.append(id);
+ result.append(", scope: ");
+ result.append(scope);
+ result.append(", driver: ");
+ result.append(driver);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerNetworkImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerPackageImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerPackageImpl.java
new file mode 100644
index 0000000..ab982f9
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerPackageImpl.java
@@ -0,0 +1,2463 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.CorePackage;
+
+import org.openecomp.ncomp.docker.ContainerCpuStats;
+import org.openecomp.ncomp.docker.ContainerCpuUsage;
+import org.openecomp.ncomp.docker.ContainerMemoryStats;
+import org.openecomp.ncomp.docker.ContainerMemoryUsage;
+import org.openecomp.ncomp.docker.ContainerNetworkStats;
+import org.openecomp.ncomp.docker.ContainerOptions;
+import org.openecomp.ncomp.docker.ContainerPortBindings;
+import org.openecomp.ncomp.docker.ContainerRestartPolicy;
+import org.openecomp.ncomp.docker.DockerActor;
+import org.openecomp.ncomp.docker.DockerActorAttributes;
+import org.openecomp.ncomp.docker.DockerAdaptor;
+import org.openecomp.ncomp.docker.DockerContainer;
+import org.openecomp.ncomp.docker.DockerContainerStats;
+import org.openecomp.ncomp.docker.DockerCreateRequest;
+import org.openecomp.ncomp.docker.DockerEvents;
+import org.openecomp.ncomp.docker.DockerFactory;
+import org.openecomp.ncomp.docker.DockerHost;
+import org.openecomp.ncomp.docker.DockerImage;
+import org.openecomp.ncomp.docker.DockerIpam;
+import org.openecomp.ncomp.docker.DockerIpamConfig;
+import org.openecomp.ncomp.docker.DockerKeyPair;
+import org.openecomp.ncomp.docker.DockerMount;
+import org.openecomp.ncomp.docker.DockerNetwork;
+import org.openecomp.ncomp.docker.DockerNetworkContainer;
+import org.openecomp.ncomp.docker.DockerPackage;
+import org.openecomp.ncomp.docker.DockerPort;
+import org.openecomp.ncomp.docker.DockerProcess;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EOperation;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.EcorePackage;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DockerPackageImpl extends EPackageImpl implements DockerPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerAdaptorEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerHostEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerImageEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerContainerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerPortEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerKeyPairEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerMountEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass containerOptionsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass containerRestartPolicyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass containerPortBindingsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerNetworkEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerIpamEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerIpamConfigEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerNetworkContainerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerEventsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerActorEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerActorAttributesEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerCreateRequestEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerProcessEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dockerContainerStatsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass containerNetworkStatsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass containerMemoryStatsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass containerMemoryUsageEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass containerCpuUsageEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass containerCpuStatsEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.openecomp.ncomp.docker.DockerPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private DockerPackageImpl() {
+ super(eNS_URI, DockerFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link DockerPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static DockerPackage init() {
+ if (isInited) return (DockerPackage)EPackage.Registry.INSTANCE.getEPackage(DockerPackage.eNS_URI);
+
+ // Obtain or create and register package
+ DockerPackageImpl theDockerPackage = (DockerPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DockerPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DockerPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ CorePackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theDockerPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theDockerPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theDockerPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(DockerPackage.eNS_URI, theDockerPackage);
+ return theDockerPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerAdaptor() {
+ return dockerAdaptorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerAdaptor_DockerHosts() {
+ return (EReference)dockerAdaptorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerHost() {
+ return dockerHostEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerHost_Url() {
+ return (EAttribute)dockerHostEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerHost_PollingFrequency() {
+ return (EAttribute)dockerHostEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerHost_Remote() {
+ return (EAttribute)dockerHostEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerHost_Images() {
+ return (EReference)dockerHostEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerHost_Containers() {
+ return (EReference)dockerHostEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerHost_Networks() {
+ return (EReference)dockerHostEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__Poll() {
+ return dockerHostEClass.getEOperations().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__StartContainer__String() {
+ return dockerHostEClass.getEOperations().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__StopContainer__String_int() {
+ return dockerHostEClass.getEOperations().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__RestartContainer__String_int() {
+ return dockerHostEClass.getEOperations().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__PauseContainer__String() {
+ return dockerHostEClass.getEOperations().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__UnpauseContainer__String() {
+ return dockerHostEClass.getEOperations().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__RemoveContainer__String_boolean_boolean() {
+ return dockerHostEClass.getEOperations().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__InspectContainer__String() {
+ return dockerHostEClass.getEOperations().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__KillContainer__String_String() {
+ return dockerHostEClass.getEOperations().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__DockerRun__String() {
+ return dockerHostEClass.getEOperations().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__DockerRunWithName__String_String() {
+ return dockerHostEClass.getEOperations().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__DockerRunWithOptions__String_ContainerOptions() {
+ return dockerHostEClass.getEOperations().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__ContainerStats__String_boolean() {
+ return dockerHostEClass.getEOperations().get(12);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EOperation getDockerHost__ContainerProcesses__String() {
+ return dockerHostEClass.getEOperations().get(13);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerImage() {
+ return dockerImageEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerImage_Id() {
+ return (EAttribute)dockerImageEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerImage_ParentId() {
+ return (EAttribute)dockerImageEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerImage_RepoTags() {
+ return (EAttribute)dockerImageEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerImage_RepoDigests() {
+ return (EAttribute)dockerImageEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerImage_DockerCreated() {
+ return (EAttribute)dockerImageEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerImage_Size() {
+ return (EAttribute)dockerImageEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerImage_VirtualSize() {
+ return (EAttribute)dockerImageEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerImage_Labels() {
+ return (EAttribute)dockerImageEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerContainer() {
+ return dockerContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerContainer_Id() {
+ return (EAttribute)dockerContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerContainer_Names() {
+ return (EAttribute)dockerContainerEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerContainer_Image() {
+ return (EAttribute)dockerContainerEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerContainer_ImageID() {
+ return (EAttribute)dockerContainerEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerContainer_Command() {
+ return (EAttribute)dockerContainerEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerContainer_DockerCreated() {
+ return (EAttribute)dockerContainerEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainer_Ports() {
+ return (EReference)dockerContainerEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainer_Labels() {
+ return (EReference)dockerContainerEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerContainer_Status() {
+ return (EAttribute)dockerContainerEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainer_HostConfig() {
+ return (EReference)dockerContainerEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainer_Processes() {
+ return (EReference)dockerContainerEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainer_Mounts() {
+ return (EReference)dockerContainerEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainer_Stats() {
+ return (EReference)dockerContainerEClass.getEStructuralFeatures().get(12);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainer_Events() {
+ return (EReference)dockerContainerEClass.getEStructuralFeatures().get(13);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerPort() {
+ return dockerPortEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerPort_PrivatePort() {
+ return (EAttribute)dockerPortEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerPort_PublicPort() {
+ return (EAttribute)dockerPortEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerPort_Type() {
+ return (EAttribute)dockerPortEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerKeyPair() {
+ return dockerKeyPairEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerKeyPair_Name() {
+ return (EAttribute)dockerKeyPairEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerKeyPair_Value() {
+ return (EAttribute)dockerKeyPairEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerMount() {
+ return dockerMountEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerMount_Source() {
+ return (EAttribute)dockerMountEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerMount_Destination() {
+ return (EAttribute)dockerMountEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerMount_Mode() {
+ return (EAttribute)dockerMountEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerMount_RW() {
+ return (EAttribute)dockerMountEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerMount_Propagation() {
+ return (EAttribute)dockerMountEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getContainerOptions() {
+ return containerOptionsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerOptions_ImageNm() {
+ return (EAttribute)containerOptionsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerOptions_Env() {
+ return (EAttribute)containerOptionsEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerOptions_Volumes() {
+ return (EAttribute)containerOptionsEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerOptions_Links() {
+ return (EAttribute)containerOptionsEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerOptions_SetContainerName() {
+ return (EAttribute)containerOptionsEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerOptions_PublishAllPorts() {
+ return (EAttribute)containerOptionsEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getContainerOptions_PortBindings() {
+ return (EReference)containerOptionsEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getContainerOptions_AutoRestart() {
+ return (EReference)containerOptionsEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getContainerRestartPolicy() {
+ return containerRestartPolicyEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerRestartPolicy_Nm() {
+ return (EAttribute)containerRestartPolicyEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerRestartPolicy_MaxRetryCnt() {
+ return (EAttribute)containerRestartPolicyEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getContainerPortBindings() {
+ return containerPortBindingsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerPortBindings_ContainerPort() {
+ return (EAttribute)containerPortBindingsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerPortBindings_Protocol() {
+ return (EAttribute)containerPortBindingsEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerPortBindings_VmPort() {
+ return (EAttribute)containerPortBindingsEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerNetwork() {
+ return dockerNetworkEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerNetwork_Id() {
+ return (EAttribute)dockerNetworkEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerNetwork_Scope() {
+ return (EAttribute)dockerNetworkEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerNetwork_Driver() {
+ return (EAttribute)dockerNetworkEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerNetwork_IPAM() {
+ return (EReference)dockerNetworkEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerNetwork_Containers() {
+ return (EReference)dockerNetworkEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerNetwork_Options() {
+ return (EReference)dockerNetworkEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerIpam() {
+ return dockerIpamEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerIpam_Driver() {
+ return (EAttribute)dockerIpamEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerIpam_Config() {
+ return (EReference)dockerIpamEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerIpamConfig() {
+ return dockerIpamConfigEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerIpamConfig_Subnet() {
+ return (EAttribute)dockerIpamConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerNetworkContainer() {
+ return dockerNetworkContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerNetworkContainer_Id() {
+ return (EAttribute)dockerNetworkContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerNetworkContainer_IPv4Address() {
+ return (EAttribute)dockerNetworkContainerEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerNetworkContainer_IPv6Address() {
+ return (EAttribute)dockerNetworkContainerEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerNetworkContainer_EndpointID() {
+ return (EAttribute)dockerNetworkContainerEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerNetworkContainer_MacAddress() {
+ return (EAttribute)dockerNetworkContainerEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerEvents() {
+ return dockerEventsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerEvents_Status() {
+ return (EAttribute)dockerEventsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerEvents_Id() {
+ return (EAttribute)dockerEventsEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerEvents_Type() {
+ return (EAttribute)dockerEventsEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerEvents_Action() {
+ return (EAttribute)dockerEventsEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerEvents_Actor() {
+ return (EReference)dockerEventsEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerEvents_Time() {
+ return (EAttribute)dockerEventsEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerEvents_Timenano() {
+ return (EAttribute)dockerEventsEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerActor() {
+ return dockerActorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerActor_Id() {
+ return (EAttribute)dockerActorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerActor_Attributes() {
+ return (EReference)dockerActorEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerActorAttributes() {
+ return dockerActorAttributesEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerActorAttributes_Name() {
+ return (EAttribute)dockerActorAttributesEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerCreateRequest() {
+ return dockerCreateRequestEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerCreateRequest_Hostname() {
+ return (EAttribute)dockerCreateRequestEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerCreateRequest_Cmd() {
+ return (EAttribute)dockerCreateRequestEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerProcess() {
+ return dockerProcessEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_User() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_Pid() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_Cpu() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_Mem() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_Vsz() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_Rss() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_Tty() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_Stat() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_Start() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_TimeElapsed() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerProcess_Command() {
+ return (EAttribute)dockerProcessEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDockerContainerStats() {
+ return dockerContainerStatsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainerStats_Networks() {
+ return (EReference)dockerContainerStatsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainerStats_Memory() {
+ return (EReference)dockerContainerStatsEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDockerContainerStats_Cpu() {
+ return (EReference)dockerContainerStatsEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDockerContainerStats_LastRead() {
+ return (EAttribute)dockerContainerStatsEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getContainerNetworkStats() {
+ return containerNetworkStatsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerNetworkStats_Intf() {
+ return (EAttribute)containerNetworkStatsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerNetworkStats_Rx_bytes() {
+ return (EAttribute)containerNetworkStatsEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerNetworkStats_Rx_dropped() {
+ return (EAttribute)containerNetworkStatsEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerNetworkStats_Rx_errors() {
+ return (EAttribute)containerNetworkStatsEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerNetworkStats_Rx_packets() {
+ return (EAttribute)containerNetworkStatsEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerNetworkStats_Tx_bytes() {
+ return (EAttribute)containerNetworkStatsEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerNetworkStats_Tx_dropped() {
+ return (EAttribute)containerNetworkStatsEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerNetworkStats_Tx_errors() {
+ return (EAttribute)containerNetworkStatsEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerNetworkStats_Tx_packets() {
+ return (EAttribute)containerNetworkStatsEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getContainerMemoryStats() {
+ return containerMemoryStatsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_pgmajfault() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Cache() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Mapped_file() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_inactive_file() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Pgpgout() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Rss() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_mapped_file() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Writeback() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Unevictable() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Pgpgin() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_unevictable() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Pgmajfault() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_rss() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(12);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_rss_huge() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(13);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_writeback() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(14);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_inactive_anon() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(15);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Rss_huge() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(16);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Hierarchical_memory_limit() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(17);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_pgfault() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(18);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_active_file() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(19);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Active_anon() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(20);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_active_anon() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(21);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_pgpgout() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(22);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_cache() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(23);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Inactive_anon() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(24);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Active_file() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(25);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Pgfault() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(26);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Inactive_file() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(27);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryStats_Total_pgpgin() {
+ return (EAttribute)containerMemoryStatsEClass.getEStructuralFeatures().get(28);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getContainerMemoryUsage() {
+ return containerMemoryUsageEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getContainerMemoryUsage_Memstats() {
+ return (EReference)containerMemoryUsageEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryUsage_Max_usage() {
+ return (EAttribute)containerMemoryUsageEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryUsage_Usage() {
+ return (EAttribute)containerMemoryUsageEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryUsage_Failcnt() {
+ return (EAttribute)containerMemoryUsageEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerMemoryUsage_Limit() {
+ return (EAttribute)containerMemoryUsageEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getContainerCpuUsage() {
+ return containerCpuUsageEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerCpuUsage_Percpu_usage() {
+ return (EAttribute)containerCpuUsageEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerCpuUsage_Usage_in_usermode() {
+ return (EAttribute)containerCpuUsageEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerCpuUsage_Total_usage() {
+ return (EAttribute)containerCpuUsageEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerCpuUsage_User_in_kernelmode() {
+ return (EAttribute)containerCpuUsageEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getContainerCpuStats() {
+ return containerCpuStatsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getContainerCpuStats_Cpu_usage() {
+ return (EReference)containerCpuStatsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getContainerCpuStats_System_cpu_usage() {
+ return (EAttribute)containerCpuStatsEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DockerFactory getDockerFactory() {
+ return (DockerFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ dockerAdaptorEClass = createEClass(DOCKER_ADAPTOR);
+ createEReference(dockerAdaptorEClass, DOCKER_ADAPTOR__DOCKER_HOSTS);
+
+ dockerHostEClass = createEClass(DOCKER_HOST);
+ createEAttribute(dockerHostEClass, DOCKER_HOST__URL);
+ createEAttribute(dockerHostEClass, DOCKER_HOST__POLLING_FREQUENCY);
+ createEAttribute(dockerHostEClass, DOCKER_HOST__REMOTE);
+ createEReference(dockerHostEClass, DOCKER_HOST__IMAGES);
+ createEReference(dockerHostEClass, DOCKER_HOST__CONTAINERS);
+ createEReference(dockerHostEClass, DOCKER_HOST__NETWORKS);
+ createEOperation(dockerHostEClass, DOCKER_HOST___POLL);
+ createEOperation(dockerHostEClass, DOCKER_HOST___START_CONTAINER__STRING);
+ createEOperation(dockerHostEClass, DOCKER_HOST___STOP_CONTAINER__STRING_INT);
+ createEOperation(dockerHostEClass, DOCKER_HOST___RESTART_CONTAINER__STRING_INT);
+ createEOperation(dockerHostEClass, DOCKER_HOST___PAUSE_CONTAINER__STRING);
+ createEOperation(dockerHostEClass, DOCKER_HOST___UNPAUSE_CONTAINER__STRING);
+ createEOperation(dockerHostEClass, DOCKER_HOST___REMOVE_CONTAINER__STRING_BOOLEAN_BOOLEAN);
+ createEOperation(dockerHostEClass, DOCKER_HOST___INSPECT_CONTAINER__STRING);
+ createEOperation(dockerHostEClass, DOCKER_HOST___KILL_CONTAINER__STRING_STRING);
+ createEOperation(dockerHostEClass, DOCKER_HOST___DOCKER_RUN__STRING);
+ createEOperation(dockerHostEClass, DOCKER_HOST___DOCKER_RUN_WITH_NAME__STRING_STRING);
+ createEOperation(dockerHostEClass, DOCKER_HOST___DOCKER_RUN_WITH_OPTIONS__STRING_CONTAINEROPTIONS);
+ createEOperation(dockerHostEClass, DOCKER_HOST___CONTAINER_STATS__STRING_BOOLEAN);
+ createEOperation(dockerHostEClass, DOCKER_HOST___CONTAINER_PROCESSES__STRING);
+
+ dockerImageEClass = createEClass(DOCKER_IMAGE);
+ createEAttribute(dockerImageEClass, DOCKER_IMAGE__ID);
+ createEAttribute(dockerImageEClass, DOCKER_IMAGE__PARENT_ID);
+ createEAttribute(dockerImageEClass, DOCKER_IMAGE__REPO_TAGS);
+ createEAttribute(dockerImageEClass, DOCKER_IMAGE__REPO_DIGESTS);
+ createEAttribute(dockerImageEClass, DOCKER_IMAGE__DOCKER_CREATED);
+ createEAttribute(dockerImageEClass, DOCKER_IMAGE__SIZE);
+ createEAttribute(dockerImageEClass, DOCKER_IMAGE__VIRTUAL_SIZE);
+ createEAttribute(dockerImageEClass, DOCKER_IMAGE__LABELS);
+
+ dockerContainerEClass = createEClass(DOCKER_CONTAINER);
+ createEAttribute(dockerContainerEClass, DOCKER_CONTAINER__ID);
+ createEAttribute(dockerContainerEClass, DOCKER_CONTAINER__NAMES);
+ createEAttribute(dockerContainerEClass, DOCKER_CONTAINER__IMAGE);
+ createEAttribute(dockerContainerEClass, DOCKER_CONTAINER__IMAGE_ID);
+ createEAttribute(dockerContainerEClass, DOCKER_CONTAINER__COMMAND);
+ createEAttribute(dockerContainerEClass, DOCKER_CONTAINER__DOCKER_CREATED);
+ createEReference(dockerContainerEClass, DOCKER_CONTAINER__PORTS);
+ createEReference(dockerContainerEClass, DOCKER_CONTAINER__LABELS);
+ createEAttribute(dockerContainerEClass, DOCKER_CONTAINER__STATUS);
+ createEReference(dockerContainerEClass, DOCKER_CONTAINER__HOST_CONFIG);
+ createEReference(dockerContainerEClass, DOCKER_CONTAINER__PROCESSES);
+ createEReference(dockerContainerEClass, DOCKER_CONTAINER__MOUNTS);
+ createEReference(dockerContainerEClass, DOCKER_CONTAINER__STATS);
+ createEReference(dockerContainerEClass, DOCKER_CONTAINER__EVENTS);
+
+ dockerPortEClass = createEClass(DOCKER_PORT);
+ createEAttribute(dockerPortEClass, DOCKER_PORT__PRIVATE_PORT);
+ createEAttribute(dockerPortEClass, DOCKER_PORT__PUBLIC_PORT);
+ createEAttribute(dockerPortEClass, DOCKER_PORT__TYPE);
+
+ dockerKeyPairEClass = createEClass(DOCKER_KEY_PAIR);
+ createEAttribute(dockerKeyPairEClass, DOCKER_KEY_PAIR__NAME);
+ createEAttribute(dockerKeyPairEClass, DOCKER_KEY_PAIR__VALUE);
+
+ dockerMountEClass = createEClass(DOCKER_MOUNT);
+ createEAttribute(dockerMountEClass, DOCKER_MOUNT__SOURCE);
+ createEAttribute(dockerMountEClass, DOCKER_MOUNT__DESTINATION);
+ createEAttribute(dockerMountEClass, DOCKER_MOUNT__MODE);
+ createEAttribute(dockerMountEClass, DOCKER_MOUNT__RW);
+ createEAttribute(dockerMountEClass, DOCKER_MOUNT__PROPAGATION);
+
+ containerOptionsEClass = createEClass(CONTAINER_OPTIONS);
+ createEAttribute(containerOptionsEClass, CONTAINER_OPTIONS__IMAGE_NM);
+ createEAttribute(containerOptionsEClass, CONTAINER_OPTIONS__ENV);
+ createEAttribute(containerOptionsEClass, CONTAINER_OPTIONS__VOLUMES);
+ createEAttribute(containerOptionsEClass, CONTAINER_OPTIONS__LINKS);
+ createEAttribute(containerOptionsEClass, CONTAINER_OPTIONS__SET_CONTAINER_NAME);
+ createEAttribute(containerOptionsEClass, CONTAINER_OPTIONS__PUBLISH_ALL_PORTS);
+ createEReference(containerOptionsEClass, CONTAINER_OPTIONS__PORT_BINDINGS);
+ createEReference(containerOptionsEClass, CONTAINER_OPTIONS__AUTO_RESTART);
+
+ containerRestartPolicyEClass = createEClass(CONTAINER_RESTART_POLICY);
+ createEAttribute(containerRestartPolicyEClass, CONTAINER_RESTART_POLICY__NM);
+ createEAttribute(containerRestartPolicyEClass, CONTAINER_RESTART_POLICY__MAX_RETRY_CNT);
+
+ containerPortBindingsEClass = createEClass(CONTAINER_PORT_BINDINGS);
+ createEAttribute(containerPortBindingsEClass, CONTAINER_PORT_BINDINGS__CONTAINER_PORT);
+ createEAttribute(containerPortBindingsEClass, CONTAINER_PORT_BINDINGS__PROTOCOL);
+ createEAttribute(containerPortBindingsEClass, CONTAINER_PORT_BINDINGS__VM_PORT);
+
+ dockerNetworkEClass = createEClass(DOCKER_NETWORK);
+ createEAttribute(dockerNetworkEClass, DOCKER_NETWORK__ID);
+ createEAttribute(dockerNetworkEClass, DOCKER_NETWORK__SCOPE);
+ createEAttribute(dockerNetworkEClass, DOCKER_NETWORK__DRIVER);
+ createEReference(dockerNetworkEClass, DOCKER_NETWORK__IPAM);
+ createEReference(dockerNetworkEClass, DOCKER_NETWORK__CONTAINERS);
+ createEReference(dockerNetworkEClass, DOCKER_NETWORK__OPTIONS);
+
+ dockerIpamEClass = createEClass(DOCKER_IPAM);
+ createEAttribute(dockerIpamEClass, DOCKER_IPAM__DRIVER);
+ createEReference(dockerIpamEClass, DOCKER_IPAM__CONFIG);
+
+ dockerIpamConfigEClass = createEClass(DOCKER_IPAM_CONFIG);
+ createEAttribute(dockerIpamConfigEClass, DOCKER_IPAM_CONFIG__SUBNET);
+
+ dockerNetworkContainerEClass = createEClass(DOCKER_NETWORK_CONTAINER);
+ createEAttribute(dockerNetworkContainerEClass, DOCKER_NETWORK_CONTAINER__ID);
+ createEAttribute(dockerNetworkContainerEClass, DOCKER_NETWORK_CONTAINER__IPV4_ADDRESS);
+ createEAttribute(dockerNetworkContainerEClass, DOCKER_NETWORK_CONTAINER__IPV6_ADDRESS);
+ createEAttribute(dockerNetworkContainerEClass, DOCKER_NETWORK_CONTAINER__ENDPOINT_ID);
+ createEAttribute(dockerNetworkContainerEClass, DOCKER_NETWORK_CONTAINER__MAC_ADDRESS);
+
+ dockerEventsEClass = createEClass(DOCKER_EVENTS);
+ createEAttribute(dockerEventsEClass, DOCKER_EVENTS__STATUS);
+ createEAttribute(dockerEventsEClass, DOCKER_EVENTS__ID);
+ createEAttribute(dockerEventsEClass, DOCKER_EVENTS__TYPE);
+ createEAttribute(dockerEventsEClass, DOCKER_EVENTS__ACTION);
+ createEReference(dockerEventsEClass, DOCKER_EVENTS__ACTOR);
+ createEAttribute(dockerEventsEClass, DOCKER_EVENTS__TIME);
+ createEAttribute(dockerEventsEClass, DOCKER_EVENTS__TIMENANO);
+
+ dockerActorEClass = createEClass(DOCKER_ACTOR);
+ createEAttribute(dockerActorEClass, DOCKER_ACTOR__ID);
+ createEReference(dockerActorEClass, DOCKER_ACTOR__ATTRIBUTES);
+
+ dockerActorAttributesEClass = createEClass(DOCKER_ACTOR_ATTRIBUTES);
+ createEAttribute(dockerActorAttributesEClass, DOCKER_ACTOR_ATTRIBUTES__NAME);
+
+ dockerCreateRequestEClass = createEClass(DOCKER_CREATE_REQUEST);
+ createEAttribute(dockerCreateRequestEClass, DOCKER_CREATE_REQUEST__HOSTNAME);
+ createEAttribute(dockerCreateRequestEClass, DOCKER_CREATE_REQUEST__CMD);
+
+ dockerProcessEClass = createEClass(DOCKER_PROCESS);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__USER);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__PID);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__CPU);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__MEM);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__VSZ);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__RSS);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__TTY);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__STAT);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__START);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__TIME_ELAPSED);
+ createEAttribute(dockerProcessEClass, DOCKER_PROCESS__COMMAND);
+
+ dockerContainerStatsEClass = createEClass(DOCKER_CONTAINER_STATS);
+ createEReference(dockerContainerStatsEClass, DOCKER_CONTAINER_STATS__NETWORKS);
+ createEReference(dockerContainerStatsEClass, DOCKER_CONTAINER_STATS__MEMORY);
+ createEReference(dockerContainerStatsEClass, DOCKER_CONTAINER_STATS__CPU);
+ createEAttribute(dockerContainerStatsEClass, DOCKER_CONTAINER_STATS__LAST_READ);
+
+ containerNetworkStatsEClass = createEClass(CONTAINER_NETWORK_STATS);
+ createEAttribute(containerNetworkStatsEClass, CONTAINER_NETWORK_STATS__INTF);
+ createEAttribute(containerNetworkStatsEClass, CONTAINER_NETWORK_STATS__RX_BYTES);
+ createEAttribute(containerNetworkStatsEClass, CONTAINER_NETWORK_STATS__RX_DROPPED);
+ createEAttribute(containerNetworkStatsEClass, CONTAINER_NETWORK_STATS__RX_ERRORS);
+ createEAttribute(containerNetworkStatsEClass, CONTAINER_NETWORK_STATS__RX_PACKETS);
+ createEAttribute(containerNetworkStatsEClass, CONTAINER_NETWORK_STATS__TX_BYTES);
+ createEAttribute(containerNetworkStatsEClass, CONTAINER_NETWORK_STATS__TX_DROPPED);
+ createEAttribute(containerNetworkStatsEClass, CONTAINER_NETWORK_STATS__TX_ERRORS);
+ createEAttribute(containerNetworkStatsEClass, CONTAINER_NETWORK_STATS__TX_PACKETS);
+
+ containerMemoryStatsEClass = createEClass(CONTAINER_MEMORY_STATS);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_PGMAJFAULT);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__CACHE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__MAPPED_FILE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_FILE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__PGPGOUT);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__RSS);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_MAPPED_FILE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__WRITEBACK);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__UNEVICTABLE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__PGPGIN);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_UNEVICTABLE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__PGMAJFAULT);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_RSS);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_RSS_HUGE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_WRITEBACK);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_INACTIVE_ANON);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__RSS_HUGE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__HIERARCHICAL_MEMORY_LIMIT);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_PGFAULT);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_FILE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__ACTIVE_ANON);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_ACTIVE_ANON);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_PGPGOUT);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_CACHE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__INACTIVE_ANON);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__ACTIVE_FILE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__PGFAULT);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__INACTIVE_FILE);
+ createEAttribute(containerMemoryStatsEClass, CONTAINER_MEMORY_STATS__TOTAL_PGPGIN);
+
+ containerMemoryUsageEClass = createEClass(CONTAINER_MEMORY_USAGE);
+ createEReference(containerMemoryUsageEClass, CONTAINER_MEMORY_USAGE__MEMSTATS);
+ createEAttribute(containerMemoryUsageEClass, CONTAINER_MEMORY_USAGE__MAX_USAGE);
+ createEAttribute(containerMemoryUsageEClass, CONTAINER_MEMORY_USAGE__USAGE);
+ createEAttribute(containerMemoryUsageEClass, CONTAINER_MEMORY_USAGE__FAILCNT);
+ createEAttribute(containerMemoryUsageEClass, CONTAINER_MEMORY_USAGE__LIMIT);
+
+ containerCpuUsageEClass = createEClass(CONTAINER_CPU_USAGE);
+ createEAttribute(containerCpuUsageEClass, CONTAINER_CPU_USAGE__PERCPU_USAGE);
+ createEAttribute(containerCpuUsageEClass, CONTAINER_CPU_USAGE__USAGE_IN_USERMODE);
+ createEAttribute(containerCpuUsageEClass, CONTAINER_CPU_USAGE__TOTAL_USAGE);
+ createEAttribute(containerCpuUsageEClass, CONTAINER_CPU_USAGE__USER_IN_KERNELMODE);
+
+ containerCpuStatsEClass = createEClass(CONTAINER_CPU_STATS);
+ createEReference(containerCpuStatsEClass, CONTAINER_CPU_STATS__CPU_USAGE);
+ createEAttribute(containerCpuStatsEClass, CONTAINER_CPU_STATS__SYSTEM_CPU_USAGE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ dockerHostEClass.getESuperTypes().add(theCorePackage.getNamedEntity());
+ dockerImageEClass.getESuperTypes().add(theCorePackage.getNamedEntity());
+ dockerContainerEClass.getESuperTypes().add(theCorePackage.getNamedEntity());
+ containerOptionsEClass.getESuperTypes().add(theCorePackage.getNamedEntity());
+ containerPortBindingsEClass.getESuperTypes().add(theCorePackage.getNamedEntity());
+ dockerNetworkEClass.getESuperTypes().add(theCorePackage.getNamedEntity());
+ dockerEventsEClass.getESuperTypes().add(theCorePackage.getNamedEntity());
+ dockerProcessEClass.getESuperTypes().add(theCorePackage.getNamedEntity());
+ dockerContainerStatsEClass.getESuperTypes().add(theCorePackage.getNamedEntity());
+
+ // Initialize classes, features, and operations; add parameters
+ initEClass(dockerAdaptorEClass, DockerAdaptor.class, "DockerAdaptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getDockerAdaptor_DockerHosts(), this.getDockerHost(), null, "dockerHosts", null, 0, -1, DockerAdaptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerHostEClass, DockerHost.class, "DockerHost", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerHost_Url(), theEcorePackage.getEString(), "url", null, 0, 1, DockerHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerHost_PollingFrequency(), theEcorePackage.getELong(), "pollingFrequency", "30000", 0, 1, DockerHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerHost_Remote(), theEcorePackage.getEBoolean(), "remote", "false", 0, 1, DockerHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerHost_Images(), this.getDockerImage(), null, "images", null, 0, -1, DockerHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerHost_Containers(), this.getDockerContainer(), null, "containers", null, 0, -1, DockerHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerHost_Networks(), this.getDockerNetwork(), null, "networks", null, 0, -1, DockerHost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEOperation(getDockerHost__Poll(), null, "poll", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ EOperation op = initEOperation(getDockerHost__StartContainer__String(), null, "startContainer", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__StopContainer__String_int(), null, "stopContainer", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEInt(), "seconds", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__RestartContainer__String_int(), null, "restartContainer", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEInt(), "seconds", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__PauseContainer__String(), null, "pauseContainer", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__UnpauseContainer__String(), null, "unpauseContainer", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__RemoveContainer__String_boolean_boolean(), null, "removeContainer", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEBoolean(), "remove", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEBoolean(), "force", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__InspectContainer__String(), null, "inspectContainer", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__KillContainer__String_String(), null, "killContainer", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "sigint", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__DockerRun__String(), null, "dockerRun", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "image", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__DockerRunWithName__String_String(), null, "dockerRunWithName", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "image", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__DockerRunWithOptions__String_ContainerOptions(), null, "dockerRunWithOptions", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "image", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getContainerOptions(), "opts", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__ContainerStats__String_boolean(), null, "containerStats", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEBoolean(), "stream", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ op = initEOperation(getDockerHost__ContainerProcesses__String(), null, "containerProcesses", 0, 1, !IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, !IS_UNIQUE, IS_ORDERED);
+
+ initEClass(dockerImageEClass, DockerImage.class, "DockerImage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerImage_Id(), theEcorePackage.getEString(), "id", null, 0, 1, DockerImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerImage_ParentId(), theEcorePackage.getEString(), "parentId", null, 0, 1, DockerImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerImage_RepoTags(), theEcorePackage.getEString(), "repoTags", null, 0, -1, DockerImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerImage_RepoDigests(), theEcorePackage.getEString(), "repoDigests", null, 0, -1, DockerImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerImage_DockerCreated(), theEcorePackage.getEDate(), "dockerCreated", null, 0, 1, DockerImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerImage_Size(), theEcorePackage.getELongObject(), "size", null, 0, 1, DockerImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerImage_VirtualSize(), theEcorePackage.getELongObject(), "virtualSize", null, 0, 1, DockerImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerImage_Labels(), theEcorePackage.getEString(), "labels", null, 0, -1, DockerImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerContainerEClass, DockerContainer.class, "DockerContainer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerContainer_Id(), theEcorePackage.getEString(), "id", null, 0, 1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerContainer_Names(), theEcorePackage.getEString(), "names", null, 0, -1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerContainer_Image(), theEcorePackage.getEString(), "image", null, 0, 1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerContainer_ImageID(), theEcorePackage.getEString(), "imageID", null, 0, 1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerContainer_Command(), theEcorePackage.getEString(), "command", null, 0, 1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerContainer_DockerCreated(), theEcorePackage.getEString(), "dockerCreated", null, 0, 1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerContainer_Ports(), this.getDockerPort(), null, "ports", null, 0, -1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerContainer_Labels(), this.getDockerKeyPair(), null, "labels", null, 0, -1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerContainer_Status(), theEcorePackage.getEString(), "status", null, 0, 1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerContainer_HostConfig(), this.getDockerKeyPair(), null, "hostConfig", null, 0, -1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerContainer_Processes(), this.getDockerProcess(), null, "processes", null, 0, -1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerContainer_Mounts(), this.getDockerMount(), null, "mounts", null, 0, -1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerContainer_Stats(), this.getDockerContainerStats(), null, "stats", null, 0, 1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerContainer_Events(), this.getDockerEvents(), null, "events", null, 0, -1, DockerContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerPortEClass, DockerPort.class, "DockerPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerPort_PrivatePort(), theEcorePackage.getEInt(), "privatePort", null, 0, 1, DockerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerPort_PublicPort(), theEcorePackage.getEInt(), "publicPort", null, 0, 1, DockerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerPort_Type(), theEcorePackage.getEString(), "type", null, 0, 1, DockerPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerKeyPairEClass, DockerKeyPair.class, "DockerKeyPair", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerKeyPair_Name(), theEcorePackage.getEString(), "name", null, 0, 1, DockerKeyPair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerKeyPair_Value(), theEcorePackage.getEString(), "value", null, 0, 1, DockerKeyPair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerMountEClass, DockerMount.class, "DockerMount", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerMount_Source(), theEcorePackage.getEString(), "source", null, 0, 1, DockerMount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerMount_Destination(), theEcorePackage.getEString(), "destination", null, 0, 1, DockerMount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerMount_Mode(), theEcorePackage.getEString(), "mode", null, 0, 1, DockerMount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerMount_RW(), theEcorePackage.getEBooleanObject(), "rW", null, 0, 1, DockerMount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerMount_Propagation(), theEcorePackage.getEString(), "propagation", null, 0, 1, DockerMount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(containerOptionsEClass, ContainerOptions.class, "ContainerOptions", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getContainerOptions_ImageNm(), theEcorePackage.getEString(), "imageNm", null, 0, 1, ContainerOptions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerOptions_Env(), theEcorePackage.getEString(), "env", null, 0, -1, ContainerOptions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerOptions_Volumes(), theEcorePackage.getEString(), "volumes", null, 0, -1, ContainerOptions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerOptions_Links(), theEcorePackage.getEString(), "links", null, 0, -1, ContainerOptions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerOptions_SetContainerName(), theEcorePackage.getEBoolean(), "setContainerName", null, 0, 1, ContainerOptions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerOptions_PublishAllPorts(), theEcorePackage.getEBoolean(), "publishAllPorts", null, 0, 1, ContainerOptions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getContainerOptions_PortBindings(), this.getContainerPortBindings(), null, "portBindings", null, 0, -1, ContainerOptions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getContainerOptions_AutoRestart(), this.getContainerRestartPolicy(), null, "autoRestart", null, 0, 1, ContainerOptions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(containerRestartPolicyEClass, ContainerRestartPolicy.class, "ContainerRestartPolicy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getContainerRestartPolicy_Nm(), theEcorePackage.getEString(), "nm", null, 0, 1, ContainerRestartPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerRestartPolicy_MaxRetryCnt(), theEcorePackage.getEInt(), "maxRetryCnt", null, 0, 1, ContainerRestartPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(containerPortBindingsEClass, ContainerPortBindings.class, "ContainerPortBindings", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getContainerPortBindings_ContainerPort(), theEcorePackage.getEInt(), "containerPort", null, 0, 1, ContainerPortBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerPortBindings_Protocol(), theEcorePackage.getEString(), "protocol", null, 0, 1, ContainerPortBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerPortBindings_VmPort(), theEcorePackage.getEInt(), "vmPort", null, 0, 1, ContainerPortBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerNetworkEClass, DockerNetwork.class, "DockerNetwork", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerNetwork_Id(), theEcorePackage.getEString(), "id", null, 0, 1, DockerNetwork.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerNetwork_Scope(), theEcorePackage.getEString(), "scope", null, 0, 1, DockerNetwork.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerNetwork_Driver(), theEcorePackage.getEString(), "driver", null, 0, 1, DockerNetwork.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerNetwork_IPAM(), this.getDockerIpam(), null, "iPAM", null, 0, 1, DockerNetwork.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerNetwork_Containers(), this.getDockerNetworkContainer(), null, "containers", null, 0, -1, DockerNetwork.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerNetwork_Options(), this.getDockerKeyPair(), null, "options", null, 0, -1, DockerNetwork.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerIpamEClass, DockerIpam.class, "DockerIpam", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerIpam_Driver(), theEcorePackage.getEString(), "driver", null, 0, 1, DockerIpam.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerIpam_Config(), this.getDockerIpamConfig(), null, "config", null, 0, -1, DockerIpam.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerIpamConfigEClass, DockerIpamConfig.class, "DockerIpamConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerIpamConfig_Subnet(), theEcorePackage.getEString(), "subnet", null, 0, 1, DockerIpamConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerNetworkContainerEClass, DockerNetworkContainer.class, "DockerNetworkContainer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerNetworkContainer_Id(), theEcorePackage.getEString(), "id", null, 0, 1, DockerNetworkContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerNetworkContainer_IPv4Address(), theEcorePackage.getEString(), "iPv4Address", null, 0, 1, DockerNetworkContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerNetworkContainer_IPv6Address(), theEcorePackage.getEString(), "iPv6Address", null, 0, 1, DockerNetworkContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerNetworkContainer_EndpointID(), theEcorePackage.getEString(), "endpointID", null, 0, 1, DockerNetworkContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerNetworkContainer_MacAddress(), theEcorePackage.getEString(), "macAddress", null, 0, 1, DockerNetworkContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerEventsEClass, DockerEvents.class, "DockerEvents", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerEvents_Status(), theEcorePackage.getEString(), "status", null, 0, 1, DockerEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerEvents_Id(), theEcorePackage.getEString(), "id", null, 0, 1, DockerEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerEvents_Type(), theEcorePackage.getEString(), "type", null, 0, 1, DockerEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerEvents_Action(), theEcorePackage.getEString(), "action", null, 0, 1, DockerEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerEvents_Actor(), this.getDockerActor(), null, "actor", null, 0, 1, DockerEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerEvents_Time(), theEcorePackage.getEInt(), "time", null, 0, 1, DockerEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerEvents_Timenano(), theEcorePackage.getELong(), "timenano", null, 0, 1, DockerEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerActorEClass, DockerActor.class, "DockerActor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerActor_Id(), theEcorePackage.getEString(), "id", null, 0, 1, DockerActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerActor_Attributes(), this.getDockerActorAttributes(), null, "attributes", null, 0, 1, DockerActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerActorAttributesEClass, DockerActorAttributes.class, "DockerActorAttributes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerActorAttributes_Name(), theEcorePackage.getEString(), "name", null, 0, 1, DockerActorAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerCreateRequestEClass, DockerCreateRequest.class, "DockerCreateRequest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerCreateRequest_Hostname(), theEcorePackage.getEString(), "hostname", null, 0, 1, DockerCreateRequest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerCreateRequest_Cmd(), theEcorePackage.getEString(), "cmd", null, 0, -1, DockerCreateRequest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerProcessEClass, DockerProcess.class, "DockerProcess", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDockerProcess_User(), theEcorePackage.getEString(), "user", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_Pid(), theEcorePackage.getELong(), "pid", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_Cpu(), theEcorePackage.getEDouble(), "cpu", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_Mem(), theEcorePackage.getEDouble(), "mem", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_Vsz(), theEcorePackage.getELong(), "vsz", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_Rss(), theEcorePackage.getELong(), "rss", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_Tty(), theEcorePackage.getEString(), "tty", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_Stat(), theEcorePackage.getEString(), "stat", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_Start(), theEcorePackage.getEDate(), "start", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_TimeElapsed(), theEcorePackage.getELong(), "timeElapsed", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerProcess_Command(), theEcorePackage.getEString(), "command", null, 0, 1, DockerProcess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dockerContainerStatsEClass, DockerContainerStats.class, "DockerContainerStats", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getDockerContainerStats_Networks(), this.getContainerNetworkStats(), null, "networks", null, 0, -1, DockerContainerStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerContainerStats_Memory(), this.getContainerMemoryUsage(), null, "memory", null, 0, 1, DockerContainerStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDockerContainerStats_Cpu(), this.getContainerCpuStats(), null, "cpu", null, 0, 1, DockerContainerStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDockerContainerStats_LastRead(), theEcorePackage.getEDate(), "lastRead", null, 0, 1, DockerContainerStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(containerNetworkStatsEClass, ContainerNetworkStats.class, "ContainerNetworkStats", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getContainerNetworkStats_Intf(), theEcorePackage.getEString(), "intf", null, 0, 1, ContainerNetworkStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerNetworkStats_Rx_bytes(), theEcorePackage.getEInt(), "rx_bytes", null, 0, 1, ContainerNetworkStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerNetworkStats_Rx_dropped(), theEcorePackage.getEInt(), "rx_dropped", null, 0, 1, ContainerNetworkStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerNetworkStats_Rx_errors(), theEcorePackage.getEInt(), "rx_errors", null, 0, 1, ContainerNetworkStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerNetworkStats_Rx_packets(), theEcorePackage.getEInt(), "rx_packets", null, 0, 1, ContainerNetworkStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerNetworkStats_Tx_bytes(), theEcorePackage.getEInt(), "tx_bytes", null, 0, 1, ContainerNetworkStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerNetworkStats_Tx_dropped(), theEcorePackage.getEInt(), "tx_dropped", null, 0, 1, ContainerNetworkStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerNetworkStats_Tx_errors(), theEcorePackage.getEInt(), "tx_errors", null, 0, 1, ContainerNetworkStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerNetworkStats_Tx_packets(), theEcorePackage.getEInt(), "tx_packets", null, 0, 1, ContainerNetworkStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(containerMemoryStatsEClass, ContainerMemoryStats.class, "ContainerMemoryStats", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getContainerMemoryStats_Total_pgmajfault(), theEcorePackage.getEInt(), "total_pgmajfault", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Cache(), theEcorePackage.getEInt(), "cache", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Mapped_file(), theEcorePackage.getEInt(), "mapped_file", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_inactive_file(), theEcorePackage.getEInt(), "total_inactive_file", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Pgpgout(), theEcorePackage.getEInt(), "pgpgout", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Rss(), theEcorePackage.getEInt(), "rss", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_mapped_file(), theEcorePackage.getEInt(), "total_mapped_file", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Writeback(), theEcorePackage.getEInt(), "writeback", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Unevictable(), theEcorePackage.getEInt(), "unevictable", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Pgpgin(), theEcorePackage.getEInt(), "pgpgin", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_unevictable(), theEcorePackage.getEInt(), "total_unevictable", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Pgmajfault(), theEcorePackage.getEInt(), "pgmajfault", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_rss(), theEcorePackage.getEInt(), "total_rss", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_rss_huge(), theEcorePackage.getEInt(), "total_rss_huge", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_writeback(), theEcorePackage.getEInt(), "total_writeback", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_inactive_anon(), theEcorePackage.getEInt(), "total_inactive_anon", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Rss_huge(), theEcorePackage.getEInt(), "rss_huge", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Hierarchical_memory_limit(), theEcorePackage.getEInt(), "hierarchical_memory_limit", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_pgfault(), theEcorePackage.getEInt(), "total_pgfault", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_active_file(), theEcorePackage.getEInt(), "total_active_file", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Active_anon(), theEcorePackage.getEInt(), "active_anon", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_active_anon(), theEcorePackage.getEInt(), "total_active_anon", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_pgpgout(), theEcorePackage.getEInt(), "total_pgpgout", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_cache(), theEcorePackage.getEInt(), "total_cache", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Inactive_anon(), theEcorePackage.getEInt(), "inactive_anon", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Active_file(), theEcorePackage.getEInt(), "active_file", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Pgfault(), theEcorePackage.getEInt(), "pgfault", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Inactive_file(), theEcorePackage.getEInt(), "inactive_file", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryStats_Total_pgpgin(), theEcorePackage.getEInt(), "total_pgpgin", null, 0, 1, ContainerMemoryStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(containerMemoryUsageEClass, ContainerMemoryUsage.class, "ContainerMemoryUsage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getContainerMemoryUsage_Memstats(), this.getContainerMemoryStats(), null, "memstats", null, 0, 1, ContainerMemoryUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryUsage_Max_usage(), theEcorePackage.getEInt(), "max_usage", null, 0, 1, ContainerMemoryUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryUsage_Usage(), theEcorePackage.getEInt(), "usage", null, 0, 1, ContainerMemoryUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryUsage_Failcnt(), theEcorePackage.getEInt(), "failcnt", null, 0, 1, ContainerMemoryUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerMemoryUsage_Limit(), theEcorePackage.getEInt(), "limit", null, 0, 1, ContainerMemoryUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(containerCpuUsageEClass, ContainerCpuUsage.class, "ContainerCpuUsage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getContainerCpuUsage_Percpu_usage(), theEcorePackage.getELong(), "percpu_usage", null, 0, -1, ContainerCpuUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerCpuUsage_Usage_in_usermode(), theEcorePackage.getELong(), "usage_in_usermode", null, 0, 1, ContainerCpuUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerCpuUsage_Total_usage(), theEcorePackage.getELong(), "total_usage", null, 0, 1, ContainerCpuUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerCpuUsage_User_in_kernelmode(), theEcorePackage.getELong(), "user_in_kernelmode", null, 0, 1, ContainerCpuUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(containerCpuStatsEClass, ContainerCpuStats.class, "ContainerCpuStats", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getContainerCpuStats_Cpu_usage(), this.getContainerCpuUsage(), null, "cpu_usage", null, 0, 1, ContainerCpuStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getContainerCpuStats_System_cpu_usage(), theEcorePackage.getELong(), "system_cpu_usage", null, 0, 1, ContainerCpuStats.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //DockerPackageImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerPortImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerPortImpl.java
new file mode 100644
index 0000000..8b998b7
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerPortImpl.java
@@ -0,0 +1,292 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.docker.DockerPackage;
+import org.openecomp.ncomp.docker.DockerPort;
+
+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>Port</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerPortImpl#getPrivatePort <em>Private Port</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerPortImpl#getPublicPort <em>Public Port</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerPortImpl#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerPortImpl extends MinimalEObjectImpl.Container implements DockerPort {
+ /**
+ * The default value of the '{@link #getPrivatePort() <em>Private Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPrivatePort()
+ * @generated
+ * @ordered
+ */
+ protected static final int PRIVATE_PORT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPrivatePort() <em>Private Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPrivatePort()
+ * @generated
+ * @ordered
+ */
+ protected int privatePort = PRIVATE_PORT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPublicPort() <em>Public Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPublicPort()
+ * @generated
+ * @ordered
+ */
+ protected static final int PUBLIC_PORT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPublicPort() <em>Public Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPublicPort()
+ * @generated
+ * @ordered
+ */
+ protected int publicPort = PUBLIC_PORT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerPortImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_PORT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPrivatePort() {
+ return privatePort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPrivatePort(int newPrivatePort) {
+ int oldPrivatePort = privatePort;
+ privatePort = newPrivatePort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PORT__PRIVATE_PORT, oldPrivatePort, privatePort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPublicPort() {
+ return publicPort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPublicPort(int newPublicPort) {
+ int oldPublicPort = publicPort;
+ publicPort = newPublicPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PORT__PUBLIC_PORT, oldPublicPort, publicPort));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(String newType) {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PORT__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_PORT__PRIVATE_PORT:
+ return getPrivatePort();
+ case DockerPackage.DOCKER_PORT__PUBLIC_PORT:
+ return getPublicPort();
+ case DockerPackage.DOCKER_PORT__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_PORT__PRIVATE_PORT:
+ setPrivatePort((Integer)newValue);
+ return;
+ case DockerPackage.DOCKER_PORT__PUBLIC_PORT:
+ setPublicPort((Integer)newValue);
+ return;
+ case DockerPackage.DOCKER_PORT__TYPE:
+ setType((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_PORT__PRIVATE_PORT:
+ setPrivatePort(PRIVATE_PORT_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PORT__PUBLIC_PORT:
+ setPublicPort(PUBLIC_PORT_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PORT__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_PORT__PRIVATE_PORT:
+ return privatePort != PRIVATE_PORT_EDEFAULT;
+ case DockerPackage.DOCKER_PORT__PUBLIC_PORT:
+ return publicPort != PUBLIC_PORT_EDEFAULT;
+ case DockerPackage.DOCKER_PORT__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ }
+ 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(" (privatePort: ");
+ result.append(privatePort);
+ result.append(", publicPort: ");
+ result.append(publicPort);
+ result.append(", type: ");
+ result.append(type);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerPortImpl
diff --git a/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerProcessImpl.java b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerProcessImpl.java
new file mode 100644
index 0000000..5402c48
--- /dev/null
+++ b/ncomp-docker-model/src/main/xcore-gen/org/openecomp/ncomp/docker/impl/DockerProcessImpl.java
@@ -0,0 +1,722 @@
+
+/*-
+ * ============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.docker.impl;
+
+import org.openecomp.ncomp.core.impl.NamedEntityImpl;
+import org.openecomp.ncomp.docker.DockerPackage;
+import org.openecomp.ncomp.docker.DockerProcess;
+import java.util.Date;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Process</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getUser <em>User</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getPid <em>Pid</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getCpu <em>Cpu</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getMem <em>Mem</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getVsz <em>Vsz</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getRss <em>Rss</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getTty <em>Tty</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getStat <em>Stat</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getStart <em>Start</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getTimeElapsed <em>Time Elapsed</em>}</li>
+ * <li>{@link org.openecomp.ncomp.docker.impl.DockerProcessImpl#getCommand <em>Command</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DockerProcessImpl extends NamedEntityImpl implements DockerProcess {
+ /**
+ * The default value of the '{@link #getUser() <em>User</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUser()
+ * @generated
+ * @ordered
+ */
+ protected static final String USER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUser() <em>User</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUser()
+ * @generated
+ * @ordered
+ */
+ protected String user = USER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPid() <em>Pid</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPid()
+ * @generated
+ * @ordered
+ */
+ protected static final long PID_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getPid() <em>Pid</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPid()
+ * @generated
+ * @ordered
+ */
+ protected long pid = PID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCpu() <em>Cpu</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCpu()
+ * @generated
+ * @ordered
+ */
+ protected static final double CPU_EDEFAULT = 0.0;
+
+ /**
+ * The cached value of the '{@link #getCpu() <em>Cpu</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCpu()
+ * @generated
+ * @ordered
+ */
+ protected double cpu = CPU_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getMem() <em>Mem</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMem()
+ * @generated
+ * @ordered
+ */
+ protected static final double MEM_EDEFAULT = 0.0;
+
+ /**
+ * The cached value of the '{@link #getMem() <em>Mem</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMem()
+ * @generated
+ * @ordered
+ */
+ protected double mem = MEM_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getVsz() <em>Vsz</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVsz()
+ * @generated
+ * @ordered
+ */
+ protected static final long VSZ_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getVsz() <em>Vsz</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVsz()
+ * @generated
+ * @ordered
+ */
+ protected long vsz = VSZ_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRss() <em>Rss</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRss()
+ * @generated
+ * @ordered
+ */
+ protected static final long RSS_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getRss() <em>Rss</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRss()
+ * @generated
+ * @ordered
+ */
+ protected long rss = RSS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTty() <em>Tty</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTty()
+ * @generated
+ * @ordered
+ */
+ protected static final String TTY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTty() <em>Tty</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTty()
+ * @generated
+ * @ordered
+ */
+ protected String tty = TTY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getStat() <em>Stat</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStat()
+ * @generated
+ * @ordered
+ */
+ protected static final String STAT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getStat() <em>Stat</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStat()
+ * @generated
+ * @ordered
+ */
+ protected String stat = STAT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getStart() <em>Start</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStart()
+ * @generated
+ * @ordered
+ */
+ protected static final Date START_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getStart() <em>Start</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStart()
+ * @generated
+ * @ordered
+ */
+ protected Date start = START_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTimeElapsed() <em>Time Elapsed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTimeElapsed()
+ * @generated
+ * @ordered
+ */
+ protected static final long TIME_ELAPSED_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getTimeElapsed() <em>Time Elapsed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTimeElapsed()
+ * @generated
+ * @ordered
+ */
+ protected long timeElapsed = TIME_ELAPSED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCommand() <em>Command</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCommand()
+ * @generated
+ * @ordered
+ */
+ protected static final String COMMAND_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCommand() <em>Command</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCommand()
+ * @generated
+ * @ordered
+ */
+ protected String command = COMMAND_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DockerProcessImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DockerPackage.Literals.DOCKER_PROCESS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUser() {
+ return user;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUser(String newUser) {
+ String oldUser = user;
+ user = newUser;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__USER, oldUser, user));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getPid() {
+ return pid;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPid(long newPid) {
+ long oldPid = pid;
+ pid = newPid;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__PID, oldPid, pid));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public double getCpu() {
+ return cpu;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCpu(double newCpu) {
+ double oldCpu = cpu;
+ cpu = newCpu;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__CPU, oldCpu, cpu));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public double getMem() {
+ return mem;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMem(double newMem) {
+ double oldMem = mem;
+ mem = newMem;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__MEM, oldMem, mem));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getVsz() {
+ return vsz;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setVsz(long newVsz) {
+ long oldVsz = vsz;
+ vsz = newVsz;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__VSZ, oldVsz, vsz));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getRss() {
+ return rss;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRss(long newRss) {
+ long oldRss = rss;
+ rss = newRss;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__RSS, oldRss, rss));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTty() {
+ return tty;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTty(String newTty) {
+ String oldTty = tty;
+ tty = newTty;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__TTY, oldTty, tty));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getStat() {
+ return stat;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStat(String newStat) {
+ String oldStat = stat;
+ stat = newStat;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__STAT, oldStat, stat));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Date getStart() {
+ return start;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStart(Date newStart) {
+ Date oldStart = start;
+ start = newStart;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__START, oldStart, start));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getTimeElapsed() {
+ return timeElapsed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimeElapsed(long newTimeElapsed) {
+ long oldTimeElapsed = timeElapsed;
+ timeElapsed = newTimeElapsed;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__TIME_ELAPSED, oldTimeElapsed, timeElapsed));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCommand() {
+ return command;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCommand(String newCommand) {
+ String oldCommand = command;
+ command = newCommand;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DockerPackage.DOCKER_PROCESS__COMMAND, oldCommand, command));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_PROCESS__USER:
+ return getUser();
+ case DockerPackage.DOCKER_PROCESS__PID:
+ return getPid();
+ case DockerPackage.DOCKER_PROCESS__CPU:
+ return getCpu();
+ case DockerPackage.DOCKER_PROCESS__MEM:
+ return getMem();
+ case DockerPackage.DOCKER_PROCESS__VSZ:
+ return getVsz();
+ case DockerPackage.DOCKER_PROCESS__RSS:
+ return getRss();
+ case DockerPackage.DOCKER_PROCESS__TTY:
+ return getTty();
+ case DockerPackage.DOCKER_PROCESS__STAT:
+ return getStat();
+ case DockerPackage.DOCKER_PROCESS__START:
+ return getStart();
+ case DockerPackage.DOCKER_PROCESS__TIME_ELAPSED:
+ return getTimeElapsed();
+ case DockerPackage.DOCKER_PROCESS__COMMAND:
+ return getCommand();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_PROCESS__USER:
+ setUser((String)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__PID:
+ setPid((Long)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__CPU:
+ setCpu((Double)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__MEM:
+ setMem((Double)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__VSZ:
+ setVsz((Long)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__RSS:
+ setRss((Long)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__TTY:
+ setTty((String)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__STAT:
+ setStat((String)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__START:
+ setStart((Date)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__TIME_ELAPSED:
+ setTimeElapsed((Long)newValue);
+ return;
+ case DockerPackage.DOCKER_PROCESS__COMMAND:
+ setCommand((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_PROCESS__USER:
+ setUser(USER_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__PID:
+ setPid(PID_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__CPU:
+ setCpu(CPU_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__MEM:
+ setMem(MEM_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__VSZ:
+ setVsz(VSZ_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__RSS:
+ setRss(RSS_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__TTY:
+ setTty(TTY_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__STAT:
+ setStat(STAT_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__START:
+ setStart(START_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__TIME_ELAPSED:
+ setTimeElapsed(TIME_ELAPSED_EDEFAULT);
+ return;
+ case DockerPackage.DOCKER_PROCESS__COMMAND:
+ setCommand(COMMAND_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DockerPackage.DOCKER_PROCESS__USER:
+ return USER_EDEFAULT == null ? user != null : !USER_EDEFAULT.equals(user);
+ case DockerPackage.DOCKER_PROCESS__PID:
+ return pid != PID_EDEFAULT;
+ case DockerPackage.DOCKER_PROCESS__CPU:
+ return cpu != CPU_EDEFAULT;
+ case DockerPackage.DOCKER_PROCESS__MEM:
+ return mem != MEM_EDEFAULT;
+ case DockerPackage.DOCKER_PROCESS__VSZ:
+ return vsz != VSZ_EDEFAULT;
+ case DockerPackage.DOCKER_PROCESS__RSS:
+ return rss != RSS_EDEFAULT;
+ case DockerPackage.DOCKER_PROCESS__TTY:
+ return TTY_EDEFAULT == null ? tty != null : !TTY_EDEFAULT.equals(tty);
+ case DockerPackage.DOCKER_PROCESS__STAT:
+ return STAT_EDEFAULT == null ? stat != null : !STAT_EDEFAULT.equals(stat);
+ case DockerPackage.DOCKER_PROCESS__START:
+ return START_EDEFAULT == null ? start != null : !START_EDEFAULT.equals(start);
+ case DockerPackage.DOCKER_PROCESS__TIME_ELAPSED:
+ return timeElapsed != TIME_ELAPSED_EDEFAULT;
+ case DockerPackage.DOCKER_PROCESS__COMMAND:
+ return COMMAND_EDEFAULT == null ? command != null : !COMMAND_EDEFAULT.equals(command);
+ }
+ 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(" (user: ");
+ result.append(user);
+ result.append(", pid: ");
+ result.append(pid);
+ result.append(", cpu: ");
+ result.append(cpu);
+ result.append(", mem: ");
+ result.append(mem);
+ result.append(", vsz: ");
+ result.append(vsz);
+ result.append(", rss: ");
+ result.append(rss);
+ result.append(", tty: ");
+ result.append(tty);
+ result.append(", stat: ");
+ result.append(stat);
+ result.append(", start: ");
+ result.append(start);
+ result.append(", timeElapsed: ");
+ result.append(timeElapsed);
+ result.append(", command: ");
+ result.append(command);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DockerProcessImpl