summaryrefslogtreecommitdiffstats
path: root/rba.model.core/src/rba/core/AllocatableSet.java
diff options
context:
space:
mode:
authorKenji Hosokawa <khosokawa@jp.adit-jv.com>2021-08-03 18:42:39 +0900
committerKenji Hosokawa <khosokawa@jp.adit-jv.com>2021-08-06 19:32:38 +0900
commitbe4f78978faba3d3ceb88df02a7f93a2e09ff1e0 (patch)
tree1f3f1a96251ac4f655c8a96fc33d5d4ee779cd06 /rba.model.core/src/rba/core/AllocatableSet.java
parent71ca7c6cab863767ef30c8bd05b2bbfda8731cb5 (diff)
Initial commit
Bug-AGL: SPEC-4033 Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Diffstat (limited to 'rba.model.core/src/rba/core/AllocatableSet.java')
-rw-r--r--rba.model.core/src/rba/core/AllocatableSet.java54
1 files changed, 54 insertions, 0 deletions
diff --git a/rba.model.core/src/rba/core/AllocatableSet.java b/rba.model.core/src/rba/core/AllocatableSet.java
new file mode 100644
index 0000000..2ccd65f
--- /dev/null
+++ b/rba.model.core/src/rba/core/AllocatableSet.java
@@ -0,0 +1,54 @@
+/**
+ */
+package rba.core;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Allocatable Set</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link rba.core.AllocatableSet#getTarget <em>Target</em>}</li>
+ * </ul>
+ *
+ * @see rba.core.RBACorePackage#getAllocatableSet()
+ * @model abstract="true"
+ * @generated
+ */
+public interface AllocatableSet extends AbstractAllocatable {
+ /**
+ * Returns the value of the '<em><b>Target</b></em>' reference list.
+ * The list contents are of type {@link rba.core.AbstractAllocatable}.
+ * It is bidirectional and its opposite is '{@link rba.core.AbstractAllocatable#getAllocatableGroup <em>Allocatable Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Target</em>' reference list.
+ * @see rba.core.RBACorePackage#getAllocatableSet_Target()
+ * @see rba.core.AbstractAllocatable#getAllocatableGroup
+ * @model opposite="allocatableGroup"
+ * @generated
+ */
+ EList<AbstractAllocatable> getTarget();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model ordered="false"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='java.util.Set&lt;Allocatable&gt; allocatables = new java.util.LinkedHashSet&lt;Allocatable&gt;();\r\ngetTarget().forEach(allocatable -&gt; allocatables.addAll(allocatable.collectLeafAllocatable()));\r\nreturn new org.eclipse.emf.common.util.BasicEList&lt;Allocatable&gt;(allocatables);'"
+ * @generated
+ */
+ EList<Allocatable> collectLeafAllocatable();
+
+} // AllocatableSet