/** */ package rba.core; /** * * A representation of the model object 'Lambda Context'. * * * * * * *

* The following features are supported: *

* * * @see rba.core.RBACorePackage#getLambdaContext() * @model abstract="true" * @generated */ public interface LambdaContext extends SetOperator { /** * Returns the value of the 'Lambda' containment reference. * It is bidirectional and its opposite is '{@link rba.core.LambdaExpression#getContext Context}'. * * * * * * @return the value of the 'Lambda' containment reference. * @see #setLambda(LambdaExpression) * @see rba.core.RBACorePackage#getLambdaContext_Lambda() * @see rba.core.LambdaExpression#getContext * @model opposite="context" containment="true" * @generated */ LambdaExpression getLambda(); /** * Sets the value of the '{@link rba.core.LambdaContext#getLambda Lambda}' containment reference. * * * @param value the new value of the 'Lambda' containment reference. * @see #getLambda() * @generated */ void setLambda(LambdaExpression value); /** * * * * @Override * * @model kind="operation" * annotation="http://www.eclipse.org/emf/2002/GenModel body='if (!getOperand().isEmpty()) {\r\n rba.core.Expression first = getOperand().get(0);\r\n if (first.getType() == ExpressionType.SET_OF_CONTENT) {\r\n return ExpressionType.CONTENT;\r\n } else if (first.getType() == ExpressionType.SET_OF_AREA) {\r\n return ExpressionType.AREA;\r\n } else if (first.getType() == ExpressionType.SET_OF_ZONE) {\r\n return ExpressionType.ZONE;\r\n } else if (first.getType() == ExpressionType.SET_OF_SOUND) {\r\n return ExpressionType.SOUND;\r\n } else {\r\n return first.getType();\r\n }\r\n}\r\n\r\nreturn ExpressionType.VALUE;'" * @generated */ ExpressionType getContextType(); } // LambdaContext