org.nakedobjects.remoting.exchange
Class SetValueRequest

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

public class SetValueRequest
extends RequestAbstract


Field Summary
 
Fields inherited from class org.nakedobjects.remoting.exchange.RequestAbstract
response, session
 
Constructor Summary
SetValueRequest(AuthenticationSession session, java.lang.String fieldIdentifier, IdentityData target, EncodableObjectData value)
           
SetValueRequest(DataInputExtended input)
           
 
Method Summary
 void encode(DataOutputExtended output)
           
 void execute(ServerFacade serverFacade)
          Sets a response of SetValueResponse
 java.lang.String getFieldIdentifier()
           
 SetValueResponse getResponse()
          Downcasts.
 IdentityData getTarget()
           
 EncodableObjectData getValue()
           
 
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

SetValueRequest

public SetValueRequest(AuthenticationSession session,
                       java.lang.String fieldIdentifier,
                       IdentityData target,
                       EncodableObjectData value)

SetValueRequest

public SetValueRequest(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()

getValue

public EncodableObjectData getValue()

execute

public void execute(ServerFacade serverFacade)
Sets a response of SetValueResponse


getResponse

public SetValueResponse getResponse()
Downcasts.

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


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