01: package org.andromda.translation.ocl.syntax;
02:
03: /**
04: * Represents an operation declaration within an OCL expression.
05: *
06: * @author Chad Brandon
07: */
08: public interface OperationDeclaration {
09: /**
10: * The declared operation name
11: *
12: * @return String the name of the operation.
13: */
14: public String getName();
15:
16: /**
17: * The declared return type.
18: *
19: * @return String the type of the operation .
20: */
21: public String getReturnType();
22:
23: /**
24: * Returns a VariableDeclaration array representing the arguments of the operation.
25: *
26: * @return VariableDeclaration[] an array containing the declared arguments.
27: */
28: public VariableDeclaration[] getArguments();
29: }
|