com.sun.enterprise.deployment
Class DataSourceDefinitionDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.DataSourceDefinitionDescriptor
All Implemented Interfaces:
java.io.Serializable

public class DataSourceDefinitionDescriptor
extends Descriptor

Author:
Jagadish Ramu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
DataSourceDefinitionDescriptor()
           
 
Method Summary
 void addDataSourcePropertyDescriptor(DataSourcePropertyDescriptor propertyDescriptor)
           
 void addProperty(java.lang.String key, java.lang.String value)
           
 boolean equals(java.lang.Object object)
           
 java.lang.String getClassName()
           
 java.lang.String getDatabaseName()
           
 java.lang.String getDescription()
          The description text of this descriptor as a String.
 int getInitialPoolSize()
           
 int getIsolationLevel()
           
 java.lang.String getIsolationLevelString()
           
static java.lang.String getJavaName(java.lang.String thisName)
           
 long getLoginTimeout()
           
 long getMaxIdleTime()
           
 int getMaxPoolSize()
           
 int getMaxStatements()
           
 MetadataSource getMetadataSource()
           
 int getMinPoolSize()
           
 java.lang.String getName()
          The name of this descriptor as a String.
 java.lang.String getPassword()
           
 int getPortNumber()
           
 java.util.Properties getProperties()
           
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getResourceId()
           
 java.lang.String getServerName()
           
 java.lang.String getUrl()
           
 java.lang.String getUser()
           
 int hashCode()
           
 boolean isDeployed()
           
 boolean isIntegerIsolationLevelSet(java.lang.String isolationLevelString)
           
 boolean isLoginTimeoutSet()
           
 boolean isServerNameSet()
           
 boolean isTransactional()
           
 boolean isTransactionSet()
           
 void setClassName(java.lang.String className)
           
 void setDatabaseName(java.lang.String databaseName)
           
 void setDeployed(boolean deployed)
           
 void setDescription(java.lang.String description)
          Sets the description text of this descriptor.
 void setInitialPoolSize(int initialPoolSize)
           
 void setIsolationLevel(java.lang.String isolationLevelString)
           
 void setLoginTimeout(java.lang.String loginTimeout)
           
 void setMaxIdleTime(java.lang.String maxIdleTime)
           
 void setMaxPoolSize(int maxPoolSize)
           
 void setMaxStatements(int maxStatements)
           
 void setMetadataSource(MetadataSource metadataSource)
           
 void setMinPoolSize(int minPoolSize)
           
 void setName(java.lang.String name)
          Sets the name of this descriptor.
 void setPassword(java.lang.String password)
           
 void setPortNumber(int portNumber)
           
 void setResourceId(java.lang.String resourceId)
           
 void setServerName(java.lang.String serverName)
           
 void setTransactional(boolean transactional)
           
 void setTransactionSet(boolean value)
           
 void setUrl(java.lang.String Url)
           
 void setUser(java.lang.String user)
           
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setSmallIconUri, visit
 
Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSourceDefinitionDescriptor

public DataSourceDefinitionDescriptor()
Method Detail

getResourceId

public java.lang.String getResourceId()

setResourceId

public void setResourceId(java.lang.String resourceId)

setDeployed

public void setDeployed(boolean deployed)

isDeployed

public boolean isDeployed()

getName

public java.lang.String getName()
Description copied from class: Descriptor
The name of this descriptor as a String.

Overrides:
getName in class Descriptor
Returns:
the name of this descriptor

setName

public void setName(java.lang.String name)
Description copied from class: Descriptor
Sets the name of this descriptor.

Overrides:
setName in class Descriptor
Parameters:
name - the new name of the descriptor.

setUrl

public void setUrl(java.lang.String Url)

getUrl

public java.lang.String getUrl()

getDescription

public java.lang.String getDescription()
Description copied from class: Descriptor
The description text of this descriptor as a String.

Overrides:
getDescription in class Descriptor
Returns:
the description text of this descriptor

setTransactionSet

public void setTransactionSet(boolean value)

isTransactionSet

public boolean isTransactionSet()

setDescription

public void setDescription(java.lang.String description)
Description copied from class: Descriptor
Sets the description text of this descriptor.

Overrides:
setDescription in class Descriptor
Parameters:
description - the new description text of the descriptor.

getClassName

public java.lang.String getClassName()

setClassName

public void setClassName(java.lang.String className)

getPortNumber

public int getPortNumber()

setPortNumber

public void setPortNumber(int portNumber)

getDatabaseName

public java.lang.String getDatabaseName()

setDatabaseName

public void setDatabaseName(java.lang.String databaseName)

getServerName

public java.lang.String getServerName()

setServerName

public void setServerName(java.lang.String serverName)

getUser

public java.lang.String getUser()

setUser

public void setUser(java.lang.String user)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getLoginTimeout

public long getLoginTimeout()

setLoginTimeout

public void setLoginTimeout(java.lang.String loginTimeout)

isLoginTimeoutSet

public boolean isLoginTimeoutSet()

isServerNameSet

public boolean isServerNameSet()

isTransactional

public boolean isTransactional()

setTransactional

public void setTransactional(boolean transactional)

getIsolationLevelString

public java.lang.String getIsolationLevelString()

getIsolationLevel

public int getIsolationLevel()

setIsolationLevel

public void setIsolationLevel(java.lang.String isolationLevelString)

isIntegerIsolationLevelSet

public boolean isIntegerIsolationLevelSet(java.lang.String isolationLevelString)

getInitialPoolSize

public int getInitialPoolSize()

setInitialPoolSize

public void setInitialPoolSize(int initialPoolSize)

getMaxPoolSize

public int getMaxPoolSize()

setMaxPoolSize

public void setMaxPoolSize(int maxPoolSize)

getMinPoolSize

public int getMinPoolSize()

setMinPoolSize

public void setMinPoolSize(int minPoolSize)

getMaxIdleTime

public long getMaxIdleTime()

setMaxIdleTime

public void setMaxIdleTime(java.lang.String maxIdleTime)

getMaxStatements

public int getMaxStatements()

setMaxStatements

public void setMaxStatements(int maxStatements)

addProperty

public void addProperty(java.lang.String key,
                        java.lang.String value)

getProperty

public java.lang.String getProperty(java.lang.String key)

getProperties

public java.util.Properties getProperties()

getMetadataSource

public MetadataSource getMetadataSource()

setMetadataSource

public void setMetadataSource(MetadataSource metadataSource)

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getJavaName

public static java.lang.String getJavaName(java.lang.String thisName)

addDataSourcePropertyDescriptor

public void addDataSourcePropertyDescriptor(DataSourcePropertyDescriptor propertyDescriptor)


Copyright © 2012 GlassFish Community. All Rights Reserved.