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