org.gsm.oneapi.responsebean
Class ResourceReference

java.lang.Object
  extended by org.gsm.oneapi.responsebean.ResourceReference
All Implemented Interfaces:
java.io.Serializable

public class ResourceReference
extends java.lang.Object
implements java.io.Serializable

reference to a resource created by the OneAPI server - in the form of a generated URL

See Also:
Serialized Form

Constructor Summary
ResourceReference()
           
 
Method Summary
 java.lang.String getResourceURL()
          return a URL uniquely identifying a successful OneAPI server request
 void setResourceURL(java.lang.String resourceURL)
          set a URL uniquely identifying a successful OneAPI server request.
 java.lang.String toString()
          generate a textual representation of the ResourceReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceReference

public ResourceReference()
Method Detail

getResourceURL

public java.lang.String getResourceURL()
return a URL uniquely identifying a successful OneAPI server request


setResourceURL

public void setResourceURL(java.lang.String resourceURL)
set a URL uniquely identifying a successful OneAPI server request. This is called internally to set the contents according to the JSON response.


toString

public java.lang.String toString()
generate a textual representation of the ResourceReference

Overrides:
toString in class java.lang.Object