org.nees.data.service
Class TransferReturnBean
java.lang.Object
org.nees.data.service.TransferReturnBean
- All Implemented Interfaces:
- java.io.Serializable
- public class TransferReturnBean
- extends java.lang.Object
- implements java.io.Serializable
This exists because Java cannot return multiple objects.
Lifecycle
In response to an up or download request, NFMS instantiates one of these objects and returns it to the
application.
Usage
The application needs the uri so it can transfer the file and the token to identify the transfer to NFMS.
| Property Summary |
URI |
String |
the uri as a string that a file may be up or downloaded to. |
transferToken |
int |
A unique identifier for the requested transfer. This will be returned in calls to NFMS. |
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TransferReturnBean
public TransferReturnBean()
TransferReturnBean
public TransferReturnBean(java.lang.String uri,
int transferToken)
getURI
public java.lang.String getURI()
setURI
public void setURI(java.lang.String uri)
getTransferToken
public int getTransferToken()
setTransferToken
public void setTransferToken(int transferToken)
toString
public java.lang.String toString()
- A report about this object