diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit')
7 files changed, 23 insertions, 48 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/FileSystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/FileSystem.java index f0066955..1896e31e 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/FileSystem.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/FileSystem.java | |||
@@ -33,12 +33,12 @@ public interface FileSystem extends EObject { | |||
33 | * </p> | 33 | * </p> |
34 | * <!-- end-user-doc --> | 34 | * <!-- end-user-doc --> |
35 | * @return the value of the '<em>Root</em>' containment reference. | 35 | * @return the value of the '<em>Root</em>' containment reference. |
36 | * @see #setRoot(FSObject) | 36 | * @see #setRoot(Dir) |
37 | * @see hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FilesystemPackage#getFileSystem_Root() | 37 | * @see hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FilesystemPackage#getFileSystem_Root() |
38 | * @model containment="true" required="true" | 38 | * @model containment="true" required="true" |
39 | * @generated | 39 | * @generated |
40 | */ | 40 | */ |
41 | FSObject getRoot(); | 41 | Dir getRoot(); |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FileSystem#getRoot <em>Root</em>}' containment reference. | 44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FileSystem#getRoot <em>Root</em>}' containment reference. |
@@ -48,7 +48,7 @@ public interface FileSystem extends EObject { | |||
48 | * @see #getRoot() | 48 | * @see #getRoot() |
49 | * @generated | 49 | * @generated |
50 | */ | 50 | */ |
51 | void setRoot(FSObject value); | 51 | void setRoot(Dir value); |
52 | 52 | ||
53 | /** | 53 | /** |
54 | * Returns the value of the '<em><b>Live</b></em>' reference list. | 54 | * Returns the value of the '<em><b>Live</b></em>' reference list. |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/DirImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/DirImpl.java index c2d417d2..62df04af 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/DirImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/DirImpl.java | |||
@@ -66,7 +66,6 @@ public class DirImpl extends FSObjectImpl implements Dir { | |||
66 | * <!-- end-user-doc --> | 66 | * <!-- end-user-doc --> |
67 | * @generated | 67 | * @generated |
68 | */ | 68 | */ |
69 | @Override | ||
70 | public EList<FSObject> getContents() { | 69 | public EList<FSObject> getContents() { |
71 | if (contents == null) { | 70 | if (contents == null) { |
72 | contents = new EObjectContainmentWithInverseEList<FSObject>(FSObject.class, this, FilesystemPackage.DIR__CONTENTS, FilesystemPackage.FS_OBJECT__PARENT); | 71 | contents = new EObjectContainmentWithInverseEList<FSObject>(FSObject.class, this, FilesystemPackage.DIR__CONTENTS, FilesystemPackage.FS_OBJECT__PARENT); |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FSObjectImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FSObjectImpl.java index d87935d6..c8e73b4e 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FSObjectImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FSObjectImpl.java | |||
@@ -53,7 +53,6 @@ public abstract class FSObjectImpl extends MinimalEObjectImpl.Container implemen | |||
53 | * <!-- end-user-doc --> | 53 | * <!-- end-user-doc --> |
54 | * @generated | 54 | * @generated |
55 | */ | 55 | */ |
56 | @Override | ||
57 | public Dir getParent() { | 56 | public Dir getParent() { |
58 | if (eContainerFeatureID() != FilesystemPackage.FS_OBJECT__PARENT) return null; | 57 | if (eContainerFeatureID() != FilesystemPackage.FS_OBJECT__PARENT) return null; |
59 | return (Dir)eInternalContainer(); | 58 | return (Dir)eInternalContainer(); |
@@ -74,7 +73,6 @@ public abstract class FSObjectImpl extends MinimalEObjectImpl.Container implemen | |||
74 | * <!-- end-user-doc --> | 73 | * <!-- end-user-doc --> |
75 | * @generated | 74 | * @generated |
76 | */ | 75 | */ |
77 | @Override | ||
78 | public void setParent(Dir newParent) { | 76 | public void setParent(Dir newParent) { |
79 | if (newParent != eInternalContainer() || (eContainerFeatureID() != FilesystemPackage.FS_OBJECT__PARENT && newParent != null)) { | 77 | if (newParent != eInternalContainer() || (eContainerFeatureID() != FilesystemPackage.FS_OBJECT__PARENT && newParent != null)) { |
80 | if (EcoreUtil.isAncestor(this, newParent)) | 78 | if (EcoreUtil.isAncestor(this, newParent)) |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FileSystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FileSystemImpl.java index e6859cab..adf30f3a 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FileSystemImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FileSystemImpl.java | |||
@@ -2,6 +2,7 @@ | |||
2 | */ | 2 | */ |
3 | package hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.impl; | 3 | package hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.impl; |
4 | 4 | ||
5 | import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.Dir; | ||
5 | import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject; | 6 | import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject; |
6 | import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FileSystem; | 7 | import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FileSystem; |
7 | import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FilesystemPackage; | 8 | import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FilesystemPackage; |
@@ -41,7 +42,7 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File | |||
41 | * @generated | 42 | * @generated |
42 | * @ordered | 43 | * @ordered |
43 | */ | 44 | */ |
44 | protected FSObject root; | 45 | protected Dir root; |
45 | 46 | ||
46 | /** | 47 | /** |
47 | * The cached setting delegate for the '{@link #getLive() <em>Live</em>}' reference list. | 48 | * The cached setting delegate for the '{@link #getLive() <em>Live</em>}' reference list. |
@@ -77,8 +78,7 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File | |||
77 | * <!-- end-user-doc --> | 78 | * <!-- end-user-doc --> |
78 | * @generated | 79 | * @generated |
79 | */ | 80 | */ |
80 | @Override | 81 | public Dir getRoot() { |
81 | public FSObject getRoot() { | ||
82 | return root; | 82 | return root; |
83 | } | 83 | } |
84 | 84 | ||
@@ -87,8 +87,8 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File | |||
87 | * <!-- end-user-doc --> | 87 | * <!-- end-user-doc --> |
88 | * @generated | 88 | * @generated |
89 | */ | 89 | */ |
90 | public NotificationChain basicSetRoot(FSObject newRoot, NotificationChain msgs) { | 90 | public NotificationChain basicSetRoot(Dir newRoot, NotificationChain msgs) { |
91 | FSObject oldRoot = root; | 91 | Dir oldRoot = root; |
92 | root = newRoot; | 92 | root = newRoot; |
93 | if (eNotificationRequired()) { | 93 | if (eNotificationRequired()) { |
94 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FilesystemPackage.FILE_SYSTEM__ROOT, oldRoot, newRoot); | 94 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FilesystemPackage.FILE_SYSTEM__ROOT, oldRoot, newRoot); |
@@ -102,8 +102,7 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File | |||
102 | * <!-- end-user-doc --> | 102 | * <!-- end-user-doc --> |
103 | * @generated | 103 | * @generated |
104 | */ | 104 | */ |
105 | @Override | 105 | public void setRoot(Dir newRoot) { |
106 | public void setRoot(FSObject newRoot) { | ||
107 | if (newRoot != root) { | 106 | if (newRoot != root) { |
108 | NotificationChain msgs = null; | 107 | NotificationChain msgs = null; |
109 | if (root != null) | 108 | if (root != null) |
@@ -123,7 +122,6 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File | |||
123 | * @generated | 122 | * @generated |
124 | */ | 123 | */ |
125 | @SuppressWarnings("unchecked") | 124 | @SuppressWarnings("unchecked") |
126 | @Override | ||
127 | public EList<FSObject> getLive() { | 125 | public EList<FSObject> getLive() { |
128 | return (EList<FSObject>)LIVE__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | 126 | return (EList<FSObject>)LIVE__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); |
129 | } | 127 | } |
@@ -167,7 +165,7 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File | |||
167 | public void eSet(int featureID, Object newValue) { | 165 | public void eSet(int featureID, Object newValue) { |
168 | switch (featureID) { | 166 | switch (featureID) { |
169 | case FilesystemPackage.FILE_SYSTEM__ROOT: | 167 | case FilesystemPackage.FILE_SYSTEM__ROOT: |
170 | setRoot((FSObject)newValue); | 168 | setRoot((Dir)newValue); |
171 | return; | 169 | return; |
172 | } | 170 | } |
173 | super.eSet(featureID, newValue); | 171 | super.eSet(featureID, newValue); |
@@ -182,7 +180,7 @@ public class FileSystemImpl extends MinimalEObjectImpl.Container implements File | |||
182 | public void eUnset(int featureID) { | 180 | public void eUnset(int featureID) { |
183 | switch (featureID) { | 181 | switch (featureID) { |
184 | case FilesystemPackage.FILE_SYSTEM__ROOT: | 182 | case FilesystemPackage.FILE_SYSTEM__ROOT: |
185 | setRoot((FSObject)null); | 183 | setRoot((Dir)null); |
186 | return; | 184 | return; |
187 | } | 185 | } |
188 | super.eUnset(featureID); | 186 | super.eUnset(featureID); |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FilesystemFactoryImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FilesystemFactoryImpl.java index b4b09e15..e40b0bd1 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FilesystemFactoryImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FilesystemFactoryImpl.java | |||
@@ -70,7 +70,6 @@ public class FilesystemFactoryImpl extends EFactoryImpl implements FilesystemFac | |||
70 | * <!-- end-user-doc --> | 70 | * <!-- end-user-doc --> |
71 | * @generated | 71 | * @generated |
72 | */ | 72 | */ |
73 | @Override | ||
74 | public FileSystem createFileSystem() { | 73 | public FileSystem createFileSystem() { |
75 | FileSystemImpl fileSystem = new FileSystemImpl(); | 74 | FileSystemImpl fileSystem = new FileSystemImpl(); |
76 | return fileSystem; | 75 | return fileSystem; |
@@ -81,7 +80,6 @@ public class FilesystemFactoryImpl extends EFactoryImpl implements FilesystemFac | |||
81 | * <!-- end-user-doc --> | 80 | * <!-- end-user-doc --> |
82 | * @generated | 81 | * @generated |
83 | */ | 82 | */ |
84 | @Override | ||
85 | public Dir createDir() { | 83 | public Dir createDir() { |
86 | DirImpl dir = new DirImpl(); | 84 | DirImpl dir = new DirImpl(); |
87 | return dir; | 85 | return dir; |
@@ -92,7 +90,6 @@ public class FilesystemFactoryImpl extends EFactoryImpl implements FilesystemFac | |||
92 | * <!-- end-user-doc --> | 90 | * <!-- end-user-doc --> |
93 | * @generated | 91 | * @generated |
94 | */ | 92 | */ |
95 | @Override | ||
96 | public File createFile() { | 93 | public File createFile() { |
97 | FileImpl file = new FileImpl(); | 94 | FileImpl file = new FileImpl(); |
98 | return file; | 95 | return file; |
@@ -103,7 +100,6 @@ public class FilesystemFactoryImpl extends EFactoryImpl implements FilesystemFac | |||
103 | * <!-- end-user-doc --> | 100 | * <!-- end-user-doc --> |
104 | * @generated | 101 | * @generated |
105 | */ | 102 | */ |
106 | @Override | ||
107 | public Model createModel() { | 103 | public Model createModel() { |
108 | ModelImpl model = new ModelImpl(); | 104 | ModelImpl model = new ModelImpl(); |
109 | return model; | 105 | return model; |
@@ -114,7 +110,6 @@ public class FilesystemFactoryImpl extends EFactoryImpl implements FilesystemFac | |||
114 | * <!-- end-user-doc --> | 110 | * <!-- end-user-doc --> |
115 | * @generated | 111 | * @generated |
116 | */ | 112 | */ |
117 | @Override | ||
118 | public FilesystemPackage getFilesystemPackage() { | 113 | public FilesystemPackage getFilesystemPackage() { |
119 | return (FilesystemPackage)getEPackage(); | 114 | return (FilesystemPackage)getEPackage(); |
120 | } | 115 | } |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FilesystemPackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FilesystemPackageImpl.java index 4c0ca4c5..87390fee 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FilesystemPackageImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/FilesystemPackageImpl.java | |||
@@ -86,7 +86,7 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
86 | 86 | ||
87 | /** | 87 | /** |
88 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | 88 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
89 | * | 89 | * |
90 | * <p>This method is used to initialize {@link FilesystemPackage#eINSTANCE} when that field is accessed. | 90 | * <p>This method is used to initialize {@link FilesystemPackage#eINSTANCE} when that field is accessed. |
91 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | 91 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
92 | * <!-- begin-user-doc --> | 92 | * <!-- begin-user-doc --> |
@@ -100,8 +100,7 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
100 | if (isInited) return (FilesystemPackage)EPackage.Registry.INSTANCE.getEPackage(FilesystemPackage.eNS_URI); | 100 | if (isInited) return (FilesystemPackage)EPackage.Registry.INSTANCE.getEPackage(FilesystemPackage.eNS_URI); |
101 | 101 | ||
102 | // Obtain or create and register package | 102 | // Obtain or create and register package |
103 | Object registeredFilesystemPackage = EPackage.Registry.INSTANCE.get(eNS_URI); | 103 | FilesystemPackageImpl theFilesystemPackage = (FilesystemPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FilesystemPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FilesystemPackageImpl()); |
104 | FilesystemPackageImpl theFilesystemPackage = registeredFilesystemPackage instanceof FilesystemPackageImpl ? (FilesystemPackageImpl)registeredFilesystemPackage : new FilesystemPackageImpl(); | ||
105 | 104 | ||
106 | isInited = true; | 105 | isInited = true; |
107 | 106 | ||
@@ -114,6 +113,7 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
114 | // Mark meta-data to indicate it can't be changed | 113 | // Mark meta-data to indicate it can't be changed |
115 | theFilesystemPackage.freeze(); | 114 | theFilesystemPackage.freeze(); |
116 | 115 | ||
116 | |||
117 | // Update the registry and return the package | 117 | // Update the registry and return the package |
118 | EPackage.Registry.INSTANCE.put(FilesystemPackage.eNS_URI, theFilesystemPackage); | 118 | EPackage.Registry.INSTANCE.put(FilesystemPackage.eNS_URI, theFilesystemPackage); |
119 | return theFilesystemPackage; | 119 | return theFilesystemPackage; |
@@ -124,7 +124,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
124 | * <!-- end-user-doc --> | 124 | * <!-- end-user-doc --> |
125 | * @generated | 125 | * @generated |
126 | */ | 126 | */ |
127 | @Override | ||
128 | public EClass getFileSystem() { | 127 | public EClass getFileSystem() { |
129 | return fileSystemEClass; | 128 | return fileSystemEClass; |
130 | } | 129 | } |
@@ -134,7 +133,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
134 | * <!-- end-user-doc --> | 133 | * <!-- end-user-doc --> |
135 | * @generated | 134 | * @generated |
136 | */ | 135 | */ |
137 | @Override | ||
138 | public EReference getFileSystem_Root() { | 136 | public EReference getFileSystem_Root() { |
139 | return (EReference)fileSystemEClass.getEStructuralFeatures().get(0); | 137 | return (EReference)fileSystemEClass.getEStructuralFeatures().get(0); |
140 | } | 138 | } |
@@ -144,7 +142,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
144 | * <!-- end-user-doc --> | 142 | * <!-- end-user-doc --> |
145 | * @generated | 143 | * @generated |
146 | */ | 144 | */ |
147 | @Override | ||
148 | public EReference getFileSystem_Live() { | 145 | public EReference getFileSystem_Live() { |
149 | return (EReference)fileSystemEClass.getEStructuralFeatures().get(1); | 146 | return (EReference)fileSystemEClass.getEStructuralFeatures().get(1); |
150 | } | 147 | } |
@@ -154,7 +151,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
154 | * <!-- end-user-doc --> | 151 | * <!-- end-user-doc --> |
155 | * @generated | 152 | * @generated |
156 | */ | 153 | */ |
157 | @Override | ||
158 | public EClass getFSObject() { | 154 | public EClass getFSObject() { |
159 | return fsObjectEClass; | 155 | return fsObjectEClass; |
160 | } | 156 | } |
@@ -164,7 +160,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
164 | * <!-- end-user-doc --> | 160 | * <!-- end-user-doc --> |
165 | * @generated | 161 | * @generated |
166 | */ | 162 | */ |
167 | @Override | ||
168 | public EReference getFSObject_Parent() { | 163 | public EReference getFSObject_Parent() { |
169 | return (EReference)fsObjectEClass.getEStructuralFeatures().get(0); | 164 | return (EReference)fsObjectEClass.getEStructuralFeatures().get(0); |
170 | } | 165 | } |
@@ -174,7 +169,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
174 | * <!-- end-user-doc --> | 169 | * <!-- end-user-doc --> |
175 | * @generated | 170 | * @generated |
176 | */ | 171 | */ |
177 | @Override | ||
178 | public EClass getDir() { | 172 | public EClass getDir() { |
179 | return dirEClass; | 173 | return dirEClass; |
180 | } | 174 | } |
@@ -184,7 +178,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
184 | * <!-- end-user-doc --> | 178 | * <!-- end-user-doc --> |
185 | * @generated | 179 | * @generated |
186 | */ | 180 | */ |
187 | @Override | ||
188 | public EReference getDir_Contents() { | 181 | public EReference getDir_Contents() { |
189 | return (EReference)dirEClass.getEStructuralFeatures().get(0); | 182 | return (EReference)dirEClass.getEStructuralFeatures().get(0); |
190 | } | 183 | } |
@@ -194,7 +187,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
194 | * <!-- end-user-doc --> | 187 | * <!-- end-user-doc --> |
195 | * @generated | 188 | * @generated |
196 | */ | 189 | */ |
197 | @Override | ||
198 | public EClass getFile() { | 190 | public EClass getFile() { |
199 | return fileEClass; | 191 | return fileEClass; |
200 | } | 192 | } |
@@ -204,7 +196,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
204 | * <!-- end-user-doc --> | 196 | * <!-- end-user-doc --> |
205 | * @generated | 197 | * @generated |
206 | */ | 198 | */ |
207 | @Override | ||
208 | public EClass getModel() { | 199 | public EClass getModel() { |
209 | return modelEClass; | 200 | return modelEClass; |
210 | } | 201 | } |
@@ -214,7 +205,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
214 | * <!-- end-user-doc --> | 205 | * <!-- end-user-doc --> |
215 | * @generated | 206 | * @generated |
216 | */ | 207 | */ |
217 | @Override | ||
218 | public EReference getModel_Filesystems() { | 208 | public EReference getModel_Filesystems() { |
219 | return (EReference)modelEClass.getEStructuralFeatures().get(0); | 209 | return (EReference)modelEClass.getEStructuralFeatures().get(0); |
220 | } | 210 | } |
@@ -224,7 +214,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
224 | * <!-- end-user-doc --> | 214 | * <!-- end-user-doc --> |
225 | * @generated | 215 | * @generated |
226 | */ | 216 | */ |
227 | @Override | ||
228 | public EReference getModel_OtherFSObjects() { | 217 | public EReference getModel_OtherFSObjects() { |
229 | return (EReference)modelEClass.getEStructuralFeatures().get(1); | 218 | return (EReference)modelEClass.getEStructuralFeatures().get(1); |
230 | } | 219 | } |
@@ -234,7 +223,6 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
234 | * <!-- end-user-doc --> | 223 | * <!-- end-user-doc --> |
235 | * @generated | 224 | * @generated |
236 | */ | 225 | */ |
237 | @Override | ||
238 | public FilesystemFactory getFilesystemFactory() { | 226 | public FilesystemFactory getFilesystemFactory() { |
239 | return (FilesystemFactory)getEFactoryInstance(); | 227 | return (FilesystemFactory)getEFactoryInstance(); |
240 | } | 228 | } |
@@ -308,7 +296,7 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
308 | 296 | ||
309 | // Initialize classes, features, and operations; add parameters | 297 | // Initialize classes, features, and operations; add parameters |
310 | initEClass(fileSystemEClass, FileSystem.class, "FileSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 298 | initEClass(fileSystemEClass, FileSystem.class, "FileSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
311 | initEReference(getFileSystem_Root(), this.getFSObject(), null, "root", null, 1, 1, FileSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 299 | initEReference(getFileSystem_Root(), this.getDir(), null, "root", null, 1, 1, FileSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
312 | initEReference(getFileSystem_Live(), this.getFSObject(), null, "live", null, 0, -1, FileSystem.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | 300 | initEReference(getFileSystem_Live(), this.getFSObject(), null, "live", null, 0, -1, FileSystem.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); |
313 | 301 | ||
314 | initEClass(fsObjectEClass, FSObject.class, "FSObject", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 302 | initEClass(fsObjectEClass, FSObject.class, "FSObject", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
@@ -340,12 +328,12 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
340 | * @generated | 328 | * @generated |
341 | */ | 329 | */ |
342 | protected void createEcoreAnnotations() { | 330 | protected void createEcoreAnnotations() { |
343 | String source = "http://www.eclipse.org/emf/2002/Ecore"; | 331 | String source = "http://www.eclipse.org/emf/2002/Ecore"; |
344 | addAnnotation | 332 | addAnnotation |
345 | (this, | 333 | (this, |
346 | source, | 334 | source, |
347 | new String[] { | 335 | new String[] { |
348 | "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" | 336 | "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" |
349 | }); | 337 | }); |
350 | } | 338 | } |
351 | 339 | ||
@@ -356,12 +344,12 @@ public class FilesystemPackageImpl extends EPackageImpl implements FilesystemPac | |||
356 | * @generated | 344 | * @generated |
357 | */ | 345 | */ |
358 | protected void createOrgAnnotations() { | 346 | protected void createOrgAnnotations() { |
359 | String source = "org.eclipse.viatra.query.querybasedfeature"; | 347 | String source = "org.eclipse.viatra.query.querybasedfeature"; |
360 | addAnnotation | 348 | addAnnotation |
361 | (getFileSystem_Live(), | 349 | (getFileSystem_Live(), |
362 | source, | 350 | source, |
363 | new String[] { | 351 | new String[] { |
364 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.live" | 352 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.live" |
365 | }); | 353 | }); |
366 | } | 354 | } |
367 | 355 | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/ModelImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/ModelImpl.java index 093b9972..4c236e8e 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/ModelImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Filesystem/impl/ModelImpl.java | |||
@@ -82,7 +82,6 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model { | |||
82 | * <!-- end-user-doc --> | 82 | * <!-- end-user-doc --> |
83 | * @generated | 83 | * @generated |
84 | */ | 84 | */ |
85 | @Override | ||
86 | public FileSystem getFilesystems() { | 85 | public FileSystem getFilesystems() { |
87 | return filesystems; | 86 | return filesystems; |
88 | } | 87 | } |
@@ -107,7 +106,6 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model { | |||
107 | * <!-- end-user-doc --> | 106 | * <!-- end-user-doc --> |
108 | * @generated | 107 | * @generated |
109 | */ | 108 | */ |
110 | @Override | ||
111 | public void setFilesystems(FileSystem newFilesystems) { | 109 | public void setFilesystems(FileSystem newFilesystems) { |
112 | if (newFilesystems != filesystems) { | 110 | if (newFilesystems != filesystems) { |
113 | NotificationChain msgs = null; | 111 | NotificationChain msgs = null; |
@@ -127,7 +125,6 @@ public class ModelImpl extends MinimalEObjectImpl.Container implements Model { | |||
127 | * <!-- end-user-doc --> | 125 | * <!-- end-user-doc --> |
128 | * @generated | 126 | * @generated |
129 | */ | 127 | */ |
130 | @Override | ||
131 | public EList<FSObject> getOtherFSObjects() { | 128 | public EList<FSObject> getOtherFSObjects() { |
132 | if (otherFSObjects == null) { | 129 | if (otherFSObjects == null) { |
133 | otherFSObjects = new EObjectContainmentEList<FSObject>(FSObject.class, this, FilesystemPackage.MODEL__OTHER_FS_OBJECTS); | 130 | otherFSObjects = new EObjectContainmentEList<FSObject>(FSObject.class, this, FilesystemPackage.MODEL__OTHER_FS_OBJECTS); |