/**
*/
package rba.core;
import org.eclipse.emf.common.util.EList;
/**
*
* A representation of the model object 'Content Set'.
*
*
*
*
*
*
*
* The following features are supported:
*
*
* - {@link rba.core.ContentSet#getTarget Target}
*
*
* @see rba.core.RBACorePackage#getContentSet()
* @model abstract="true"
* @generated
*/
public interface ContentSet extends AbstractContent {
/**
* Returns the value of the 'Target' reference list.
* The list contents are of type {@link rba.core.AbstractContent}.
* It is bidirectional and its opposite is '{@link rba.core.AbstractContent#getContentGroup Content Group}'.
*
*
* If the meaning of the 'Target' reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Target' reference list.
* @see rba.core.RBACorePackage#getContentSet_Target()
* @see rba.core.AbstractContent#getContentGroup
* @model opposite="contentGroup"
* @generated
*/
EList getTarget();
/**
*
*
* @model ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='java.util.Set<Content> contents = new java.util.LinkedHashSet<Content>();\r\ngetTarget().forEach(content -> contents.addAll(content.collectLeafContents()));\r\nreturn new org.eclipse.emf.common.util.BasicEList<Content>(contents);'"
* @generated
*/
EList collectLeafContents();
} // ContentSet