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

* The following features are supported: *

* * * @see rba.core.RBACorePackage#getArbitrationPolicyExpression() * @model * @generated */ public interface ArbitrationPolicyExpression extends EnumExpression { /** * Returns the value of the 'Value' attribute. * The literals are from the enumeration {@link rba.core.ArbitrationPolicy}. * * * * * * @return the value of the 'Value' attribute. * @see rba.core.ArbitrationPolicy * @see #setValue(ArbitrationPolicy) * @see rba.core.RBACorePackage#getArbitrationPolicyExpression_Value() * @model required="true" * @generated */ ArbitrationPolicy getValue(); /** * Sets the value of the '{@link rba.core.ArbitrationPolicyExpression#getValue Value}' attribute. * * * @param value the new value of the 'Value' attribute. * @see rba.core.ArbitrationPolicy * @see #getValue() * @generated */ void setValue(ArbitrationPolicy value); /** * * * * @Override * * @model kind="operation" * annotation="http://www.eclipse.org/emf/2002/GenModel body='if(value instanceof ArbitrationPolicy) {\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(); } // ArbitrationPolicyExpression