/** */ package rba.core; import org.eclipse.emf.common.util.Enumerator; /** * * A representation of the model object 'Loser Type Expression'. * * * * * * *

* The following features are supported: *

* * * @see rba.core.RBACorePackage#getLoserTypeExpression() * @model * @generated */ public interface LoserTypeExpression extends EnumExpression { /** * Returns the value of the 'Value' attribute. * The literals are from the enumeration {@link rba.core.LoserType}. * * * * * * @return the value of the 'Value' attribute. * @see rba.core.LoserType * @see #setValue(LoserType) * @see rba.core.RBACorePackage#getLoserTypeExpression_Value() * @model required="true" * @generated */ LoserType getValue(); /** * Sets the value of the '{@link rba.core.LoserTypeExpression#getValue Value}' attribute. * * * @param value the new value of the 'Value' attribute. * @see rba.core.LoserType * @see #getValue() * @generated */ void setValue(LoserType value); /** * * * * @Override * * @model kind="operation" * annotation="http://www.eclipse.org/emf/2002/GenModel body='if(value instanceof LoserType) {\r\n return value.getName();\r\n} else {\r\n return \"[Invalid_Expression]\";\r\n}'" * @generated */ String getExpressionText(); /** * * * * @Override * * @model kind="operation" required="true" * annotation="http://www.eclipse.org/emf/2002/GenModel body='return value;'" * @generated */ Enumerator getExpressionValue(); } // LoserTypeExpression