blob: e3d9eac50112d8827105b13391d807792fc8a087 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
/**
*/
package rba.core;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Abstract Allocatable</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link rba.core.AbstractAllocatable#getContents <em>Contents</em>}</li>
* <li>{@link rba.core.AbstractAllocatable#getAllocatableGroup <em>Allocatable Group</em>}</li>
* </ul>
*
* @see rba.core.RBACorePackage#getAbstractAllocatable()
* @model abstract="true"
* @generated
*/
public interface AbstractAllocatable extends RuleObject {
/**
* Returns the value of the '<em><b>Contents</b></em>' reference list.
* The list contents are of type {@link rba.core.AbstractContent}.
* It is bidirectional and its opposite is '{@link rba.core.AbstractContent#getAllocatable <em>Allocatable</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
* @return the value of the '<em>Contents</em>' reference list.
* @see rba.core.RBACorePackage#getAbstractAllocatable_Contents()
* @see rba.core.AbstractContent#getAllocatable
* @model opposite="allocatable"
* @generated
*/
EList<AbstractContent> getContents();
/**
* Returns the value of the '<em><b>Allocatable Group</b></em>' reference list.
* The list contents are of type {@link rba.core.AllocatableSet}.
* It is bidirectional and its opposite is '{@link rba.core.AllocatableSet#getTarget <em>Target</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
* @return the value of the '<em>Allocatable Group</em>' reference list.
* @see rba.core.RBACorePackage#getAbstractAllocatable_AllocatableGroup()
* @see rba.core.AllocatableSet#getTarget
* @model opposite="target"
* @generated
*/
EList<AllocatableSet> getAllocatableGroup();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
* @model kind="operation" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='java.util.Set<Content> contents = new java.util.LinkedHashSet<Content>();\r\ngetContents().forEach(content -> contents.addAll(content.collectLeafContents()));\r\ngetAllocatableGroup().forEach(allocatableSet -> contents.addAll(allocatableSet.getContentsList()));\r\nreturn new org.eclipse.emf.common.util.BasicEList<Content>(contents);'"
* @generated
*/
EList<Content> getContentsList();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
* @model ordered="false"
* @generated
*/
EList<Allocatable> collectLeafAllocatable();
} // AbstractAllocatable
|