summaryrefslogtreecommitdiffstats
path: root/rba.model.core/src/rba/core/AllocatableSet.java
blob: 2ccd65fd4ad9c32cc5092a850555817d0dc1e3df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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