public class OperationDeclarationImpl extends Object implements OperationDeclaration
OperationDeclaration| Constructor and Description |
|---|
OperationDeclarationImpl(String name,
String returnType,
VariableDeclaration[] arguments)
Constructs a new OperationDeclarationImpl
|
| Modifier and Type | Method and Description |
|---|---|
VariableDeclaration[] |
getArguments()
Returns a VariableDeclaration array representing the arguments of the operation.
|
String |
getName()
The declared operation name
|
String |
getReturnType()
The declared return type.
|
String |
toString() |
public OperationDeclarationImpl(String name, String returnType, VariableDeclaration[] arguments)
name - the name of the OperationreturnType - the returnType of the operationarguments - the arguments of the operation.public String getName()
OperationDeclarationgetName in interface OperationDeclarationOperationDeclaration.getName()public String getReturnType()
OperationDeclarationgetReturnType in interface OperationDeclarationOperationDeclaration.getReturnType()public VariableDeclaration[] getArguments()
OperationDeclarationgetArguments in interface OperationDeclarationOperationDeclaration.getArguments()public String toString()
toString in class ObjectObject.toString()Copyright © 2003–2014 AndroMDA.org. All rights reserved.