public class JdbcDataSource extends Object implements Serializable
Constructor and Description |
---|
JdbcDataSource() |
Modifier and Type | Method and Description |
---|---|
void |
addParam(int index,
Param vParam) |
void |
addParam(Param vParam) |
Enumeration<Param> |
enumerateParam()
Method enumerateParam.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
String |
getClassName()
Returns the value of field 'className'.
|
String |
getDatabaseName()
Returns the value of field 'databaseName'.
|
String |
getName()
Returns the value of field 'name'.
|
Param[] |
getParam()
Method getParam.Returns the contents of the collection in an Array.
|
Param |
getParam(int index)
Method getParam.
|
List<Param> |
getParamCollection()
Method getParamCollection.Returns a reference to 'paramList'.
|
int |
getParamCount()
Method getParamCount.
|
String |
getPassword()
Returns the value of field 'password'.
|
String |
getSchemaName()
Returns the value of field 'schemaName'.
|
String |
getUrl()
Returns the value of field 'url'.
|
String |
getUserName()
Returns the value of field 'userName'.
|
int |
hashCode()
Method hashCode.
|
Iterator<Param> |
iterateParam()
Method iterateParam.
|
void |
removeAllParam() |
boolean |
removeParam(Param vParam)
Method removeParam.
|
Param |
removeParamAt(int index)
Method removeParamAt.
|
void |
setClassName(String className)
Sets the value of field 'className'.
|
void |
setDatabaseName(String databaseName)
Sets the value of field 'databaseName'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setParam(int index,
Param vParam) |
void |
setParam(List<Param> vParamList)
Sets the value of 'paramList' by copying the given Vector.
|
void |
setParam(Param[] vParamArray) |
void |
setParamCollection(List<Param> paramList)
Deprecated.
|
void |
setPassword(String password)
Sets the value of field 'password'.
|
void |
setSchemaName(String schemaName)
Sets the value of field 'schemaName'.
|
void |
setUrl(String url)
Sets the value of field 'url'.
|
void |
setUserName(String userName)
Sets the value of field 'userName'.
|
public void addParam(Param vParam) throws IndexOutOfBoundsException
vParam
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void addParam(int index, Param vParam) throws IndexOutOfBoundsException
index
- vParam
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Enumeration<Param> enumerateParam()
public boolean equals(Object obj)
public String getClassName()
public String getDatabaseName()
public String getName()
public Param getParam(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Param[] getParam()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Param> getParamCollection()
public int getParamCount()
public String getPassword()
public String getSchemaName()
public String getUrl()
public String getUserName()
public int hashCode()
public Iterator<Param> iterateParam()
public void removeAllParam()
public boolean removeParam(Param vParam)
vParam
- public Param removeParamAt(int index)
index
- public void setClassName(String className)
className
- the value of field 'className'.public void setDatabaseName(String databaseName)
databaseName
- the value of field 'databaseName'.public void setName(String name)
name
- the value of field 'name'.public void setParam(int index, Param vParam) throws IndexOutOfBoundsException
index
- vParam
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void setParam(Param[] vParamArray)
vParamArray
- public void setParam(List<Param> vParamList)
vParamList
- the Vector to copy.public void setParamCollection(List<Param> paramList)
paramList
- the Vector to set.public void setPassword(String password)
password
- the value of field 'password'.public void setSchemaName(String schemaName)
schemaName
- the value of field 'schemaName'.public void setUrl(String url)
url
- the value of field 'url'.public void setUserName(String userName)
userName
- the value of field 'userName'.Copyright © 2021. All rights reserved.