/** */ package rba.core; import org.eclipse.emf.common.util.EList; /** * * A representation of the model object 'Allocatable Set'. * * * * * * *

* The following features are supported: *

* * * @see rba.core.RBACorePackage#getAllocatableSet() * @model abstract="true" * @generated */ public interface AllocatableSet extends AbstractAllocatable { /** * Returns the value of the 'Target' reference list. * The list contents are of type {@link rba.core.AbstractAllocatable}. * It is bidirectional and its opposite is '{@link rba.core.AbstractAllocatable#getAllocatableGroup Allocatable Group}'. * * * * * * @return the value of the 'Target' reference list. * @see rba.core.RBACorePackage#getAllocatableSet_Target() * @see rba.core.AbstractAllocatable#getAllocatableGroup * @model opposite="allocatableGroup" * @generated */ EList getTarget(); /** * * * @model ordered="false" * annotation="http://www.eclipse.org/emf/2002/GenModel body='java.util.Set<Allocatable> allocatables = new java.util.LinkedHashSet<Allocatable>();\r\ngetTarget().forEach(allocatable -> allocatables.addAll(allocatable.collectLeafAllocatable()));\r\nreturn new org.eclipse.emf.common.util.BasicEList<Allocatable>(allocatables);'" * @generated */ EList collectLeafAllocatable(); } // AllocatableSet