diff options
author | 2021-08-03 18:42:39 +0900 | |
---|---|---|
committer | 2021-08-06 19:32:38 +0900 | |
commit | be4f78978faba3d3ceb88df02a7f93a2e09ff1e0 (patch) | |
tree | 1f3f1a96251ac4f655c8a96fc33d5d4ee779cd06 /rba.model.core/src/rba/core/AbstractAllocatable.java | |
parent | 71ca7c6cab863767ef30c8bd05b2bbfda8731cb5 (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/AbstractAllocatable.java')
-rw-r--r-- | rba.model.core/src/rba/core/AbstractAllocatable.java | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/rba.model.core/src/rba/core/AbstractAllocatable.java b/rba.model.core/src/rba/core/AbstractAllocatable.java new file mode 100644 index 0000000..e3d9eac --- /dev/null +++ b/rba.model.core/src/rba/core/AbstractAllocatable.java @@ -0,0 +1,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 |