fr.cnes.sitools.datasource.mongodb.business
Class MongoDBRequestModel

java.lang.Object
  extended by fr.cnes.sitools.datasource.mongodb.business.MongoDBRequestModel

public class MongoDBRequestModel
extends java.lang.Object

Model object of a MongoDB request

Author:
m.gond

Constructor Summary
MongoDBRequestModel()
           
 
Method Summary
 java.lang.String getCollectionName()
          Gets the collectionName value
 java.lang.String getFilterString()
          Gets the filterString value
 java.lang.String getKeysString()
          Gets the keysString value
 int getLimit()
          Gets the limit value
 java.lang.String getSortString()
          Gets the sortString value
 int getStart()
          Gets the start value
 void setCollectionName(java.lang.String collectionName)
          Sets the value of collectionName
 void setFilterString(java.lang.String filterString)
          Sets the value of filterString
 void setKeysString(java.lang.String keysString)
          Sets the value of keysString
 void setLimit(int limit)
          Sets the value of limit
 void setSortString(java.lang.String sortString)
          Sets the value of sortString
 void setStart(int start)
          Sets the value of start
 java.lang.String toStringRequest()
          Get the current request as a String object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MongoDBRequestModel

public MongoDBRequestModel()
Method Detail

getFilterString

public java.lang.String getFilterString()
Gets the filterString value

Returns:
the filterString

setFilterString

public void setFilterString(java.lang.String filterString)
Sets the value of filterString

Parameters:
filterString - the filterString to set

getKeysString

public java.lang.String getKeysString()
Gets the keysString value

Returns:
the keysString

setKeysString

public void setKeysString(java.lang.String keysString)
Sets the value of keysString

Parameters:
keysString - the keysString to set

getStart

public int getStart()
Gets the start value

Returns:
the start

setStart

public void setStart(int start)
Sets the value of start

Parameters:
start - the start to set

getLimit

public int getLimit()
Gets the limit value

Returns:
the limit

setLimit

public void setLimit(int limit)
Sets the value of limit

Parameters:
limit - the limit to set

getCollectionName

public java.lang.String getCollectionName()
Gets the collectionName value

Returns:
the collectionName

setCollectionName

public void setCollectionName(java.lang.String collectionName)
Sets the value of collectionName

Parameters:
collectionName - the collectionName to set

toStringRequest

public java.lang.String toStringRequest()
Get the current request as a String object

Returns:
the current request as a String

getSortString

public java.lang.String getSortString()
Gets the sortString value

Returns:
the sortString

setSortString

public void setSortString(java.lang.String sortString)
Sets the value of sortString

Parameters:
sortString - the sortString to set


Copyright © 2010-2013 CNES. All Rights Reserved.