aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/filesystem/impl/FileSystemImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/filesystem/impl/FileSystemImpl.java')
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/filesystem/impl/FileSystemImpl.java19
1 files changed, 6 insertions, 13 deletions
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/filesystem/impl/FileSystemImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/filesystem/impl/FileSystemImpl.java
index 8bbc6a74..b5ef2b66 100644
--- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/filesystem/impl/FileSystemImpl.java
+++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/filesystem/impl/FileSystemImpl.java
@@ -13,7 +13,6 @@ import org.eclipse.emf.common.notify.NotificationChain;
13import org.eclipse.emf.common.util.EList; 13import org.eclipse.emf.common.util.EList;
14 14
15import org.eclipse.emf.ecore.EClass; 15import org.eclipse.emf.ecore.EClass;
16import org.eclipse.emf.ecore.EStructuralFeature;
17import org.eclipse.emf.ecore.InternalEObject; 16import org.eclipse.emf.ecore.InternalEObject;
18 17
19import org.eclipse.emf.ecore.impl.ENotificationImpl; 18import org.eclipse.emf.ecore.impl.ENotificationImpl;
@@ -45,16 +44,6 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File
45 protected Dir root; 44 protected Dir root;
46 45
47 /** 46 /**
48 * The cached setting delegate for the '{@link #getLive() <em>Live</em>}' reference list.
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @see #getLive()
52 * @generated
53 * @ordered
54 */
55 protected EStructuralFeature.Internal.SettingDelegate LIVE__ESETTING_DELEGATE = ((EStructuralFeature.Internal)filesystemPackage.Literals.FILE_SYSTEM__LIVE).getSettingDelegate();
56
57 /**
58 * <!-- begin-user-doc --> 47 * <!-- begin-user-doc -->
59 * <!-- end-user-doc --> 48 * <!-- end-user-doc -->
60 * @generated 49 * @generated
@@ -123,7 +112,11 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File
123 */ 112 */
124 @SuppressWarnings("unchecked") 113 @SuppressWarnings("unchecked")
125 public EList<FSObject> getLive() { 114 public EList<FSObject> getLive() {
126 return (EList<FSObject>)LIVE__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); 115 // TODO: implement this method to return the 'Live' reference list
116 // Ensure that you remove @generated or mark it @generated NOT
117 // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting
118 // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used.
119 throw new UnsupportedOperationException();
127 } 120 }
128 121
129 /** 122 /**
@@ -197,7 +190,7 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File
197 case filesystemPackage.FILE_SYSTEM__ROOT: 190 case filesystemPackage.FILE_SYSTEM__ROOT:
198 return root != null; 191 return root != null;
199 case filesystemPackage.FILE_SYSTEM__LIVE: 192 case filesystemPackage.FILE_SYSTEM__LIVE:
200 return LIVE__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); 193 return !getLive().isEmpty();
201 } 194 }
202 return super.eIsSet(featureID); 195 return super.eIsSet(featureID);
203 } 196 }