fr.cnes.sitools.datasource.mongodb.model
Class Database

java.lang.Object
  extended by fr.cnes.sitools.datasource.mongodb.model.Database

public final class Database
extends java.lang.Object

Base class for database representation

Author:
jp.boignard (AKKA Technologies)

Constructor Summary
Database()
          Default constructor
 
Method Summary
 java.util.List<Collection> getCollections()
          Gets the collections value
 java.lang.String getUrl()
          Gets the URL value
 void setCollections(java.util.List<Collection> collections)
          Sets the value of collections
 void setUrl(java.lang.String url)
          Sets the value of URL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Database

public Database()
Default constructor

Method Detail

getUrl

public java.lang.String getUrl()
Gets the URL value

Returns:
the URL

setUrl

public void setUrl(java.lang.String url)
Sets the value of URL

Parameters:
url - the URL to set

getCollections

public java.util.List<Collection> getCollections()
Gets the collections value

Returns:
the collections

setCollections

public void setCollections(java.util.List<Collection> collections)
Sets the value of collections

Parameters:
collections - the collections to set


Copyright © 2010-2013 CNES. All Rights Reserved.