org.nakedobjects.remoting.exchange
Class SetAssociationRequest

java.lang.Object
  extended by org.nakedobjects.remoting.exchange.RequestAbstract
      extended by org.nakedobjects.remoting.exchange.SetAssociationRequest
All Implemented Interfaces:
Encodable, Request

public class SetAssociationRequest
extends RequestAbstract


Field Summary
 
Fields inherited from class org.nakedobjects.remoting.exchange.RequestAbstract
response, session
 
Constructor Summary
SetAssociationRequest(AuthenticationSession session, java.lang.String fieldIdentifier, IdentityData target, IdentityData associate)
           
SetAssociationRequest(DataInputExtended input)
           
 
Method Summary
 void encode(DataOutputExtended output)
           
 void execute(ServerFacade serverFacade)
          Sets a response of SetAssociationResponse.
 IdentityData getAssociate()
           
 java.lang.String getFieldIdentifier()
           
 SetAssociationResponse getResponse()
          Downcasts.
 IdentityData getTarget()
           
 
Methods inherited from class org.nakedobjects.remoting.exchange.RequestAbstract
getId, getSession, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetAssociationRequest

public SetAssociationRequest(AuthenticationSession session,
                             java.lang.String fieldIdentifier,
                             IdentityData target,
                             IdentityData associate)

SetAssociationRequest

public SetAssociationRequest(DataInputExtended input)
                      throws java.io.IOException
Throws:
java.io.IOException
Method Detail

encode

public void encode(DataOutputExtended output)
            throws java.io.IOException
Specified by:
encode in interface Encodable
Overrides:
encode in class RequestAbstract
Throws:
java.io.IOException

getFieldIdentifier

public java.lang.String getFieldIdentifier()

getTarget

public IdentityData getTarget()

getAssociate

public IdentityData getAssociate()

execute

public void execute(ServerFacade serverFacade)
Sets a response of SetAssociationResponse.


getResponse

public SetAssociationResponse getResponse()
Downcasts.

Specified by:
getResponse in interface Request
Overrides:
getResponse in class RequestAbstract


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.