org.eclipse.modisco.jee.webapp.webapp30
Interface DataSourceType


public interface DataSourceType

A representation of the model object 'Data Source Type'. Configuration of a DataSource.

The following features are supported:

See Also:
Webapp30Package.getDataSourceType()
Generated:
Model:
extendedMetaData="name='data-sourceType' kind='elementOnly'"

Method Summary
 FullyQualifiedClassType getClassName()
          Returns the value of the 'Class Name' containment reference.
 String getDatabaseName()
          Returns the value of the 'Database Name' containment reference.
 DescriptionType getDescription()
          Returns the value of the 'Description' containment reference.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 XsdIntegerType getInitialPoolSize()
          Returns the value of the 'Initial Pool Size' containment reference.
 IsolationLevelType getIsolationLevel()
          Returns the value of the 'Isolation Level' attribute.
 XsdIntegerType getLoginTimeout()
          Returns the value of the 'Login Timeout' containment reference.
 XsdIntegerType getMaxIdleTime()
          Returns the value of the 'Max Idle Time' containment reference.
 XsdIntegerType getMaxPoolSize()
          Returns the value of the 'Max Pool Size' containment reference.
 XsdIntegerType getMaxStatements()
          Returns the value of the 'Max Statements' containment reference.
 XsdIntegerType getMinPoolSize()
          Returns the value of the 'Min Pool Size' containment reference.
 JndiNameType getName()
          Returns the value of the 'Name' containment reference.
 String getPassword()
          Returns the value of the 'Password' containment reference.
 XsdIntegerType getPortNumber()
          Returns the value of the 'Port Number' containment reference.
  getProperty()
          Returns the value of the 'Property' containment reference list.
 String getServerName()
          Returns the value of the 'Server Name' containment reference.
 XsdBooleanType getTransactional()
          Returns the value of the 'Transactional' containment reference.
 JdbcUrlType getUrl()
          Returns the value of the 'Url' containment reference.
 String getUser()
          Returns the value of the 'User' containment reference.
 boolean isSetIsolationLevel()
          Returns whether the value of the 'Isolation Level' attribute is set.
 void setClassName(FullyQualifiedClassType value)
          Sets the value of the 'Class Name' containment reference.
 void setDatabaseName(String value)
          Sets the value of the 'Database Name' containment reference.
 void setDescription(DescriptionType value)
          Sets the value of the 'Description' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setInitialPoolSize(XsdIntegerType value)
          Sets the value of the 'Initial Pool Size' containment reference.
 void setIsolationLevel(IsolationLevelType value)
          Sets the value of the 'Isolation Level' attribute.
 void setLoginTimeout(XsdIntegerType value)
          Sets the value of the 'Login Timeout' containment reference.
 void setMaxIdleTime(XsdIntegerType value)
          Sets the value of the 'Max Idle Time' containment reference.
 void setMaxPoolSize(XsdIntegerType value)
          Sets the value of the 'Max Pool Size' containment reference.
 void setMaxStatements(XsdIntegerType value)
          Sets the value of the 'Max Statements' containment reference.
 void setMinPoolSize(XsdIntegerType value)
          Sets the value of the 'Min Pool Size' containment reference.
 void setName(JndiNameType value)
          Sets the value of the 'Name' containment reference.
 void setPassword(String value)
          Sets the value of the 'Password' containment reference.
 void setPortNumber(XsdIntegerType value)
          Sets the value of the 'Port Number' containment reference.
 void setServerName(String value)
          Sets the value of the 'Server Name' containment reference.
 void setTransactional(XsdBooleanType value)
          Sets the value of the 'Transactional' containment reference.
 void setUrl(JdbcUrlType value)
          Sets the value of the 'Url' containment reference.
 void setUser(String value)
          Sets the value of the 'User' containment reference.
 void unsetIsolationLevel()
          Unsets the value of the 'Isolation Level' attribute.
 

Method Detail

getDescription

DescriptionType getDescription()
Returns the value of the 'Description' containment reference. Description of this DataSource.

Returns:
the value of the 'Description' containment reference.
See Also:
setDescription(DescriptionType), Webapp30Package.getDataSourceType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"

setDescription

void setDescription(DescriptionType value)
Sets the value of the 'Description' containment reference.

Parameters:
value - the new value of the 'Description' containment reference.
See Also:
getDescription()
Generated:

getName

JndiNameType getName()
Returns the value of the 'Name' containment reference. The name element specifies the JNDI name of the data source being defined.

Returns:
the value of the 'Name' containment reference.
See Also:
setName(JndiNameType), Webapp30Package.getDataSourceType_Name()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='name' namespace='http://java.sun.com/xml/ns/javaee'"

setName

void setName(JndiNameType value)
Sets the value of the 'Name' containment reference.

Parameters:
value - the new value of the 'Name' containment reference.
See Also:
getName()
Generated:

getClassName

FullyQualifiedClassType getClassName()
Returns the value of the 'Class Name' containment reference. DataSource, XADataSource or ConnectionPoolDataSource implementation class.

Returns:
the value of the 'Class Name' containment reference.
See Also:
setClassName(FullyQualifiedClassType), Webapp30Package.getDataSourceType_ClassName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='class-name' namespace='http://java.sun.com/xml/ns/javaee'"

setClassName

void setClassName(FullyQualifiedClassType value)
Sets the value of the 'Class Name' containment reference.

Parameters:
value - the new value of the 'Class Name' containment reference.
See Also:
getClassName()
Generated:

getServerName

String getServerName()
Returns the value of the 'Server Name' containment reference. Database server name.

Returns:
the value of the 'Server Name' containment reference.
See Also:
setServerName(org.eclipse.modisco.jee.webapp.webapp30.String), Webapp30Package.getDataSourceType_ServerName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='server-name' namespace='http://java.sun.com/xml/ns/javaee'"

setServerName

void setServerName(String value)
Sets the value of the 'Server Name' containment reference.

Parameters:
value - the new value of the 'Server Name' containment reference.
See Also:
getServerName()
Generated:

getPortNumber

XsdIntegerType getPortNumber()
Returns the value of the 'Port Number' containment reference. Port number where a server is listening for requests.

Returns:
the value of the 'Port Number' containment reference.
See Also:
setPortNumber(XsdIntegerType), Webapp30Package.getDataSourceType_PortNumber()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='port-number' namespace='http://java.sun.com/xml/ns/javaee'"

setPortNumber

void setPortNumber(XsdIntegerType value)
Sets the value of the 'Port Number' containment reference.

Parameters:
value - the new value of the 'Port Number' containment reference.
See Also:
getPortNumber()
Generated:

getDatabaseName

String getDatabaseName()
Returns the value of the 'Database Name' containment reference. Name of a database on a server.

Returns:
the value of the 'Database Name' containment reference.
See Also:
setDatabaseName(org.eclipse.modisco.jee.webapp.webapp30.String), Webapp30Package.getDataSourceType_DatabaseName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='database-name' namespace='http://java.sun.com/xml/ns/javaee'"

setDatabaseName

void setDatabaseName(String value)
Sets the value of the 'Database Name' containment reference.

Parameters:
value - the new value of the 'Database Name' containment reference.
See Also:
getDatabaseName()
Generated:

getUrl

JdbcUrlType getUrl()
Returns the value of the 'Url' containment reference. url property is specified along with other standard DataSource properties such as serverName, databaseName and portNumber, the more specific properties will take precedence and url will be ignored. ]]>

Returns:
the value of the 'Url' containment reference.
See Also:
setUrl(JdbcUrlType), Webapp30Package.getDataSourceType_Url()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='url' namespace='http://java.sun.com/xml/ns/javaee'"

setUrl

void setUrl(JdbcUrlType value)
Sets the value of the 'Url' containment reference.

Parameters:
value - the new value of the 'Url' containment reference.
See Also:
getUrl()
Generated:

getUser

String getUser()
Returns the value of the 'User' containment reference. User name to use for connection authentication.

Returns:
the value of the 'User' containment reference.
See Also:
setUser(org.eclipse.modisco.jee.webapp.webapp30.String), Webapp30Package.getDataSourceType_User()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='user' namespace='http://java.sun.com/xml/ns/javaee'"

setUser

void setUser(String value)
Sets the value of the 'User' containment reference.

Parameters:
value - the new value of the 'User' containment reference.
See Also:
getUser()
Generated:

getPassword

String getPassword()
Returns the value of the 'Password' containment reference. Password to use for connection authentication.

Returns:
the value of the 'Password' containment reference.
See Also:
setPassword(org.eclipse.modisco.jee.webapp.webapp30.String), Webapp30Package.getDataSourceType_Password()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='password' namespace='http://java.sun.com/xml/ns/javaee'"

setPassword

void setPassword(String value)
Sets the value of the 'Password' containment reference.

Parameters:
value - the new value of the 'Password' containment reference.
See Also:
getPassword()
Generated:

getProperty

 getProperty()
Returns the value of the 'Property' containment reference list. The list contents are of type PropertyType. JDBC DataSource property. This may be a vendor-specific property or a less commonly used DataSource property.

Returns:
the value of the 'Property' containment reference list.
See Also:
Webapp30Package.getDataSourceType_Property()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='property' namespace='http://java.sun.com/xml/ns/javaee'"

getLoginTimeout

XsdIntegerType getLoginTimeout()
Returns the value of the 'Login Timeout' containment reference. Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.

Returns:
the value of the 'Login Timeout' containment reference.
See Also:
setLoginTimeout(XsdIntegerType), Webapp30Package.getDataSourceType_LoginTimeout()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='login-timeout' namespace='http://java.sun.com/xml/ns/javaee'"

setLoginTimeout

void setLoginTimeout(XsdIntegerType value)
Sets the value of the 'Login Timeout' containment reference.

Parameters:
value - the new value of the 'Login Timeout' containment reference.
See Also:
getLoginTimeout()
Generated:

getTransactional

XsdBooleanType getTransactional()
Returns the value of the 'Transactional' containment reference. Set to false if connections should not participate in transactions.

Returns:
the value of the 'Transactional' containment reference.
See Also:
setTransactional(XsdBooleanType), Webapp30Package.getDataSourceType_Transactional()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='transactional' namespace='http://java.sun.com/xml/ns/javaee'"

setTransactional

void setTransactional(XsdBooleanType value)
Sets the value of the 'Transactional' containment reference.

Parameters:
value - the new value of the 'Transactional' containment reference.
See Also:
getTransactional()
Generated:

getIsolationLevel

IsolationLevelType getIsolationLevel()
Returns the value of the 'Isolation Level' attribute. The literals are from the enumeration IsolationLevelType. Isolation level for connections.

Returns:
the value of the 'Isolation Level' attribute.
See Also:
IsolationLevelType, isSetIsolationLevel(), unsetIsolationLevel(), setIsolationLevel(IsolationLevelType), Webapp30Package.getDataSourceType_IsolationLevel()
Generated:
Model:
unsettable="true" extendedMetaData="kind='element' name='isolation-level' namespace='http://java.sun.com/xml/ns/javaee'"

setIsolationLevel

void setIsolationLevel(IsolationLevelType value)
Sets the value of the 'Isolation Level' attribute.

Parameters:
value - the new value of the 'Isolation Level' attribute.
See Also:
IsolationLevelType, isSetIsolationLevel(), unsetIsolationLevel(), getIsolationLevel()
Generated:

unsetIsolationLevel

void unsetIsolationLevel()
Unsets the value of the 'Isolation Level' attribute.

See Also:
isSetIsolationLevel(), getIsolationLevel(), setIsolationLevel(IsolationLevelType)
Generated:

isSetIsolationLevel

boolean isSetIsolationLevel()
Returns whether the value of the 'Isolation Level' attribute is set.

Returns:
whether the value of the 'Isolation Level' attribute is set.
See Also:
unsetIsolationLevel(), getIsolationLevel(), setIsolationLevel(IsolationLevelType)
Generated:

getInitialPoolSize

XsdIntegerType getInitialPoolSize()
Returns the value of the 'Initial Pool Size' containment reference. Number of connections that should be created when a connection pool is initialized.

Returns:
the value of the 'Initial Pool Size' containment reference.
See Also:
setInitialPoolSize(XsdIntegerType), Webapp30Package.getDataSourceType_InitialPoolSize()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='initial-pool-size' namespace='http://java.sun.com/xml/ns/javaee'"

setInitialPoolSize

void setInitialPoolSize(XsdIntegerType value)
Sets the value of the 'Initial Pool Size' containment reference.

Parameters:
value - the new value of the 'Initial Pool Size' containment reference.
See Also:
getInitialPoolSize()
Generated:

getMaxPoolSize

XsdIntegerType getMaxPoolSize()
Returns the value of the 'Max Pool Size' containment reference. Maximum number of connections that should be concurrently allocated for a connection pool.

Returns:
the value of the 'Max Pool Size' containment reference.
See Also:
setMaxPoolSize(XsdIntegerType), Webapp30Package.getDataSourceType_MaxPoolSize()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='max-pool-size' namespace='http://java.sun.com/xml/ns/javaee'"

setMaxPoolSize

void setMaxPoolSize(XsdIntegerType value)
Sets the value of the 'Max Pool Size' containment reference.

Parameters:
value - the new value of the 'Max Pool Size' containment reference.
See Also:
getMaxPoolSize()
Generated:

getMinPoolSize

XsdIntegerType getMinPoolSize()
Returns the value of the 'Min Pool Size' containment reference. Minimum number of connections that should be concurrently allocated for a connection pool.

Returns:
the value of the 'Min Pool Size' containment reference.
See Also:
setMinPoolSize(XsdIntegerType), Webapp30Package.getDataSourceType_MinPoolSize()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='min-pool-size' namespace='http://java.sun.com/xml/ns/javaee'"

setMinPoolSize

void setMinPoolSize(XsdIntegerType value)
Sets the value of the 'Min Pool Size' containment reference.

Parameters:
value - the new value of the 'Min Pool Size' containment reference.
See Also:
getMinPoolSize()
Generated:

getMaxIdleTime

XsdIntegerType getMaxIdleTime()
Returns the value of the 'Max Idle Time' containment reference. The number of seconds that a physical connection should remain unused in the pool before the connection is closed for a connection pool.

Returns:
the value of the 'Max Idle Time' containment reference.
See Also:
setMaxIdleTime(XsdIntegerType), Webapp30Package.getDataSourceType_MaxIdleTime()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='max-idle-time' namespace='http://java.sun.com/xml/ns/javaee'"

setMaxIdleTime

void setMaxIdleTime(XsdIntegerType value)
Sets the value of the 'Max Idle Time' containment reference.

Parameters:
value - the new value of the 'Max Idle Time' containment reference.
See Also:
getMaxIdleTime()
Generated:

getMaxStatements

XsdIntegerType getMaxStatements()
Returns the value of the 'Max Statements' containment reference. The total number of statements that a connection pool should keep open.

Returns:
the value of the 'Max Statements' containment reference.
See Also:
setMaxStatements(XsdIntegerType), Webapp30Package.getDataSourceType_MaxStatements()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='max-statements' namespace='http://java.sun.com/xml/ns/javaee'"

setMaxStatements

void setMaxStatements(XsdIntegerType value)
Sets the value of the 'Max Statements' containment reference.

Parameters:
value - the new value of the 'Max Statements' containment reference.
See Also:
getMaxStatements()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), Webapp30Package.getDataSourceType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: