com.phoenix_int.aserver
Class PHXInvokeReturn

java.lang.Object
  extended by com.phoenix_int.aserver.PHXInvokeReturn

public class PHXInvokeReturn
extends java.lang.Object

A utility class for holding reutrn information from an invoked function. It's used to capture additional return information such as whether all variable values should be retrieved after invocation, and can easily be extended for future needs in this vein.

To use this class, simply return it from a method defined on a Simple Self Manager.

See Also:
PHXSimpleSelfManager

Constructor Summary
PHXInvokeReturn()
           
 
Method Summary
 boolean getDownloadInputs()
          retrieves whether the invocation should trigger a redownloading of input values
 java.lang.String getReturnString()
          retrieves the return string for the custom method
 void setDownloadInputs(boolean downloadInputs)
          set whether input values should be redownloaded after the invocation
 void setReturnString(java.lang.String returnStr)
          sets the return string for the custom method
 java.lang.String toString()
          handle converting this class to a string in XML format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PHXInvokeReturn

public PHXInvokeReturn()
Method Detail

getReturnString

public java.lang.String getReturnString()
retrieves the return string for the custom method

Returns:
the return string

setReturnString

public void setReturnString(java.lang.String returnStr)
sets the return string for the custom method

Parameters:
returnStr - the return string

getDownloadInputs

public boolean getDownloadInputs()
retrieves whether the invocation should trigger a redownloading of input values

Returns:
should the input values be redownloaded after the invocation?

setDownloadInputs

public void setDownloadInputs(boolean downloadInputs)
set whether input values should be redownloaded after the invocation

Parameters:
downloadInputs - Sends a hint to the client as to whether input values should be re-downloaded after the invocation.

toString

public java.lang.String toString()
handle converting this class to a string in XML format

Overrides:
toString in class java.lang.Object