com.shephertz.app42.paas.sdk.jme.storage
Class Storage.JSONDocument

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.storage.Storage.JSONDocument
Enclosing class:
Storage

public class Storage.JSONDocument
extends java.lang.Object

An inner class that contains the remaining properties of the Storage.


Field Summary
 java.lang.String docId
           
 java.lang.String jsonDoc
           
 
Constructor Summary
Storage.JSONDocument()
          This create the constructor and takes no parameter.
 
Method Summary
 java.lang.String getDocId()
          Returns the document Id.
 java.lang.String getJsonDoc()
          Returns the json doc for Storage.
 void setDocId(java.lang.String docId)
          Sets the document Id for the Storage
 void setJsonDoc(java.lang.String jsonDoc)
          Sets the json document for Storage
 java.lang.String toString()
          Returns the Storage Response in JSON format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

docId

public java.lang.String docId

jsonDoc

public java.lang.String jsonDoc
Constructor Detail

Storage.JSONDocument

public Storage.JSONDocument()
This create the constructor and takes no parameter.

Method Detail

getDocId

public java.lang.String getDocId()
Returns the document Id.

Returns:
docId

getJsonDoc

public java.lang.String getJsonDoc()
Returns the json doc for Storage.

Returns:
json doc for storage

setDocId

public void setDocId(java.lang.String docId)
Sets the document Id for the Storage

Parameters:
docId - - document Id for the storage

setJsonDoc

public void setJsonDoc(java.lang.String jsonDoc)
Sets the json document for Storage

Parameters:
jsonDoc - - json document for storage

toString

public java.lang.String toString()
Returns the Storage Response in JSON format.

Overrides:
toString in class java.lang.Object
Returns:
the response in JSON format.