com.bankframe.fe.statemachine.ext.connectors.swing
Class Response

java.lang.Object
  extended bycom.bankframe.fe.statemachine.ext.connectors.swing.Response
All Implemented Interfaces:
IResponse, IResponse

public class Response
extends java.lang.Object
implements IResponse


Constructor Summary
Response()
          Creates new Response
 
Method Summary
 IResponseData getResponseData()
          Returns the response data required by the view to build the response.
 StateMachineEventListener getStateMachineEventListener()
          Getter for property stateMachineEventListener.
 ViewContainer getViewContainer()
          Gets the ViewContainer that should display the resultant View.
 void setResponseData(IResponseData responseData)
          Sets the response data for this response.
 void setStateMachineEventListener(StateMachineEventListener stateMachineEventListener)
          Setter for property stateMachineEventListener.
 void setViewContainer(ViewContainer viewContainer)
          Sets the ViewContainer that should display the result View.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Response

public Response()
Creates new Response

Method Detail

setResponseData

public void setResponseData(IResponseData responseData)
Sets the response data for this response.

Specified by:
setResponseData in interface IResponse
Parameters:
responseData - the response data for this response.

getResponseData

public IResponseData getResponseData()
Returns the response data required by the view to build the response.

Note that the response data should contain only information which is not available from the model.

Specified by:
getResponseData in interface IResponse
Returns:
the response data required by the view.

getViewContainer

public ViewContainer getViewContainer()
Gets the ViewContainer that should display the resultant View.

Returns:
The ViewContainer.

setViewContainer

public void setViewContainer(ViewContainer viewContainer)
Sets the ViewContainer that should display the result View. Note that this method will be called by the StateMachineEventDispatcher.

Parameters:
viewContainer - The ViewContainer that should display the result View.

getStateMachineEventListener

public StateMachineEventListener getStateMachineEventListener()
Getter for property stateMachineEventListener.

Returns:
Value of property stateMachineEventListener.

setStateMachineEventListener

public void setStateMachineEventListener(StateMachineEventListener stateMachineEventListener)
Setter for property stateMachineEventListener.

Parameters:
stateMachineEventListener - New value of property stateMachineEventListener.


Copyright © 2004 Siebel Systems, Inc. All rights reserved.