Public Member Functions

de.fraunhofer.isst.axbench.axlang.elements.statements.ReturnStatement Class Reference

Statement to return the return value of an operation realized by a service at a port. "return(port.operation, expression)". More...

List of all members.

Public Member Functions

Expression getExpression ()
 getter method for the (return) expression
Operation getOperation ()
 getter method for the referenced operation
Port getPort ()
 getter method for the referenced port
 ReturnStatement ()
 constructor
void setExpression (Expression newExpression) throws AXLException
 setter method for the (return) expression
void setOperation (Operation newOperation) throws AXLException
 setter method for the referenced operation
void setPort (Port newPort) throws AXLException
 setter method for the referenced port

Detailed Description

Statement to return the return value of an operation realized by a service at a port. "return(port.operation, expression)".

Children
  • 1 expression (Expression)
References
  • 1 port (Port)
  • 1 operation (Operation)
Author:
mgrosse
Version:
0.9.0
Since:
0.8.0

Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.axlang.elements.statements.ReturnStatement.ReturnStatement (  ) 

constructor


Member Function Documentation

Expression de.fraunhofer.isst.axbench.axlang.elements.statements.ReturnStatement.getExpression (  ) 

getter method for the (return) expression

Returns:
the (return) expression
Operation de.fraunhofer.isst.axbench.axlang.elements.statements.ReturnStatement.getOperation (  ) 

getter method for the referenced operation

Returns:
the referenced operation
Port de.fraunhofer.isst.axbench.axlang.elements.statements.ReturnStatement.getPort (  ) 

getter method for the referenced port

Returns:
the referenced port
void de.fraunhofer.isst.axbench.axlang.elements.statements.ReturnStatement.setExpression ( Expression  newExpression  )  throws AXLException

setter method for the (return) expression

Parameters:
newOperation the new (return) expression
Exceptions:
AXLException if the (return) expression cannot be added
void de.fraunhofer.isst.axbench.axlang.elements.statements.ReturnStatement.setOperation ( Operation  newOperation  )  throws AXLException

setter method for the referenced operation

Parameters:
newOperation the new referenced operation
Exceptions:
AXLException if the reference to the new operation cannot be set
void de.fraunhofer.isst.axbench.axlang.elements.statements.ReturnStatement.setPort ( Port  newPort  )  throws AXLException

setter method for the referenced port

Parameters:
newPort the new referenced port
Exceptions:
AXLException if the reference to the new port cannot be set