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

* The following features are supported: *

* * * @see rba.core.RBACorePackage#getContent() * @model abstract="true" * @generated */ public interface Content extends AbstractContent { /** * Returns the value of the 'Loser Type' attribute. * The default value is "NEVER_GIVEUP". * The literals are from the enumeration {@link rba.core.LoserType}. * *

* If the meaning of the 'Loser Type' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Loser Type' attribute. * @see rba.core.LoserType * @see #setLoserType(LoserType) * @see rba.core.RBACorePackage#getContent_LoserType() * @model default="NEVER_GIVEUP" * @generated */ LoserType getLoserType(); /** * Sets the value of the '{@link rba.core.Content#getLoserType Loser Type}' attribute. * * * @param value the new value of the 'Loser Type' attribute. * @see rba.core.LoserType * @see #getLoserType() * @generated */ void setLoserType(LoserType value); /** * Returns the value of the 'States' containment reference list. * The list contents are of type {@link rba.core.ContentState}. * It is bidirectional and its opposite is '{@link rba.core.ContentState#getOwner Owner}'. * * * * * * @return the value of the 'States' containment reference list. * @see rba.core.RBACorePackage#getContent_States() * @see rba.core.ContentState#getOwner * @model opposite="owner" containment="true" * @generated */ EList getStates(); /** * * * @model ordered="false" * annotation="http://www.eclipse.org/emf/2002/GenModel body='java.util.Set<Content> contents = new java.util.HashSet<Content>();\r\ncontents.add(this);\r\nreturn new org.eclipse.emf.common.util.BasicEList<Content>(contents);'" * @generated */ EList collectLeafContents(); } // Content