com.shephertz.app42.paas.sdk.java.storage
Class Storage

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.java.App42Response
      extended by com.shephertz.app42.paas.sdk.java.storage.Storage

public class Storage
extends App42Response

This Storage class include the setter and getter methods and extend the App42Response class.


Nested Class Summary
 class Storage.JSONDocument
          This class include the setter and getter methods for json doc.
 
Field Summary
 java.lang.String collectionName
           
 java.lang.String dbName
           
 java.lang.String docId
           
 java.util.ArrayList<Storage.JSONDocument> jsonDocList
           
 
Constructor Summary
Storage()
           
 
Method Summary
 java.lang.String getCollectionName()
           
 java.lang.String getDbName()
           
 java.util.ArrayList<Storage.JSONDocument> getJsonDocList()
           
 void setCollectionName(java.lang.String collectionName)
           
 void setDbName(java.lang.String dbName)
           
 void setJsonDocList(java.util.ArrayList<Storage.JSONDocument> jsonDocList)
           
 
Methods inherited from class com.shephertz.app42.paas.sdk.java.App42Response
getStrResponse, getTotalRecords, isResponseSuccess, setResponseSuccess, setStrResponse, setTotalRecords, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dbName

public java.lang.String dbName

docId

public java.lang.String docId

collectionName

public java.lang.String collectionName

jsonDocList

public java.util.ArrayList<Storage.JSONDocument> jsonDocList
Constructor Detail

Storage

public Storage()
Method Detail

getDbName

public java.lang.String getDbName()
Returns:
Database name

setDbName

public void setDbName(java.lang.String dbName)
Parameters:
dbName - Database name for storage json document

getCollectionName

public java.lang.String getCollectionName()
Returns:
collection name of storage

setCollectionName

public void setCollectionName(java.lang.String collectionName)
Parameters:
collectionName - Collection name of storage

getJsonDocList

public java.util.ArrayList<Storage.JSONDocument> getJsonDocList()
Returns:
json document list of storage

setJsonDocList

public void setJsonDocList(java.util.ArrayList<Storage.JSONDocument> jsonDocList)
Parameters:
jsonDocList - json document list of the storage