1 package org.ocltf.concretesyntax;
2
3
4 /***
5 * Represents an operation declaration within an OCL
6 * expression.
7 *
8 * @author Chad Brandon
9 */
10 public interface OperationCS {
11
12 /***
13 * The declared operation name
14 *
15 * @return String the name of the operation.
16 */
17 public String getName();
18
19 /***
20 * The declared return type.
21 *
22 * @return String the type of the operation .
23 */
24 public String getReturnType();
25
26 /***
27 * Returns a VariableDeclaration array representing
28 * the arguments of the operation.
29 *
30 * @return VariableDeclarationCS[] an array containing the declared arguments.
31 */
32 public VariableDeclarationCS[] getParameters();
33
34 }