blob: 96b6043e99791ddfc9f68a2caf74da3dc2bf4195 (
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
87
|
/**
*/
package rba.core;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Abstract Content</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link rba.core.AbstractContent#getContentGroup <em>Content Group</em>}</li>
* <li>{@link rba.core.AbstractContent#getAllocatable <em>Allocatable</em>}</li>
* </ul>
*
* @see rba.core.RBACorePackage#getAbstractContent()
* @model abstract="true"
* @generated
*/
public interface AbstractContent extends RuleObject {
/**
* Returns the value of the '<em><b>Content Group</b></em>' reference list.
* The list contents are of type {@link rba.core.ContentSet}.
* It is bidirectional and its opposite is '{@link rba.core.ContentSet#getTarget <em>Target</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
* @return the value of the '<em>Content Group</em>' reference list.
* @see rba.core.RBACorePackage#getAbstractContent_ContentGroup()
* @see rba.core.ContentSet#getTarget
* @model opposite="target"
* @generated
*/
EList<ContentSet> getContentGroup();
/**
* Returns the value of the '<em><b>Allocatable</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#getContents <em>Contents</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Allocatable</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Allocatable</em>' reference list.
* @see rba.core.RBACorePackage#getAbstractContent_Allocatable()
* @see rba.core.AbstractAllocatable#getContents
* @model opposite="contents"
* @generated
*/
EList<AbstractAllocatable> getAllocatable();
/**
* <!-- 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<Allocatable> allocatables = new java.util.LinkedHashSet<Allocatable>();\r\ngetAllocatable().forEach(allocatable -> allocatables.addAll(allocatable.collectLeafAllocatable()));\r\ngetContentGroup().forEach(contentSet -> allocatables.addAll(contentSet.getAllocatableList()));\r\nreturn new org.eclipse.emf.common.util.BasicEList<Allocatable>(allocatables);'"
* @generated
*/
EList<Allocatable> getAllocatableList();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
* @model ordered="false"
* @generated
*/
EList<Content> collectLeafContents();
} // AbstractContent
|