|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sitools.datasource.common.SitoolsDataSourceModel
fr.cnes.sitools.datasource.mongodb.model.MongoDBDataSource
public final class MongoDBDataSource
Class for definition of a MongoDB data source
Constructor Summary | |
---|---|
MongoDBDataSource()
Default constructor |
Method Summary | |
---|---|
java.lang.String |
getDatabaseName()
Gets the databaseName value |
java.lang.Integer |
getPortNumber()
Gets the portNumber value |
boolean |
isAuthentication()
Gets the authentication value |
void |
setAuthentication(boolean authentication)
Sets the value of authentication |
void |
setDatabaseName(java.lang.String databaseName)
Sets the value of databaseName |
void |
setPortNumber(java.lang.Integer portNumber)
Sets the value of portNumber |
Resource |
wrap()
Utility to wrap the MongoDBDataSource to a generic resource |
Methods inherited from class fr.cnes.sitools.datasource.common.SitoolsDataSourceModel |
---|
getDescription, getDriverClass, getId, getMaxActive, getName, getSitoolsAttachementForUsers, getStatus, getUrl, getUserLogin, getUserPassword, setDescription, setDriverClass, setId, setMaxActive, setName, setSitoolsAttachementForUsers, setStatus, setUrl, setUserLogin, setUserPassword |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.cnes.sitools.common.model.IResource |
---|
getDescription, getId, getName, setId |
Constructor Detail |
---|
public MongoDBDataSource()
Method Detail |
---|
public java.lang.String getDatabaseName()
public void setDatabaseName(java.lang.String databaseName)
databaseName
- the databaseName to setpublic java.lang.Integer getPortNumber()
public void setPortNumber(java.lang.Integer portNumber)
portNumber
- the portNumber to setpublic boolean isAuthentication()
public void setAuthentication(boolean authentication)
authentication
- the authentication to setpublic Resource wrap()
SitoolsDataSourceModel
wrap
in class SitoolsDataSourceModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |