fr.cnes.sitools.datasource.jdbc.model
Class JDBCDataSource

java.lang.Object
  extended by fr.cnes.sitools.datasource.common.SitoolsDataSourceModel
      extended by fr.cnes.sitools.datasource.jdbc.model.JDBCDataSource
All Implemented Interfaces:
IResource, java.io.Serializable

public final class JDBCDataSource
extends SitoolsDataSourceModel
implements java.io.Serializable, IResource

Class for definition of a JDBC data source

Author:
jp.boignard (AKKA Technologies)
See Also:
Serialized Form

Constructor Summary
JDBCDataSource()
          Default constructor
 
Method Summary
 int getInitialSize()
          Gets the initialSize value
 java.lang.String getSchemaOnConnection()
          Gets the schemaOnConnection value
 void setInitialSize(int initialSize)
          Sets the value of initialSize
 void setSchemaOnConnection(java.lang.String schemaOnConnection)
          Sets the value of schemaOnConnection
 Resource wrap()
          Utility to wrap the JDBCDataSource 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

JDBCDataSource

public JDBCDataSource()
Default constructor

Method Detail

getInitialSize

public int getInitialSize()
Gets the initialSize value

Returns:
the initialSize

setInitialSize

public void setInitialSize(int initialSize)
Sets the value of initialSize

Parameters:
initialSize - the initialSize to set

getSchemaOnConnection

public java.lang.String getSchemaOnConnection()
Gets the schemaOnConnection value

Returns:
the schemaOnConnection

setSchemaOnConnection

public void setSchemaOnConnection(java.lang.String schemaOnConnection)
Sets the value of schemaOnConnection

Parameters:
schemaOnConnection - the schemaOnConnection to set

wrap

public Resource wrap()
Utility to wrap the JDBCDataSource to a generic resource

Specified by:
wrap in class SitoolsDataSourceModel
Returns:
Resource


Copyright © 2010-2013 CNES. All Rights Reserved.