WEB-INF.cftags.component coldbox.system.core.db.DatasourceBean
I model a datasource connection setting.
Constructor Summary | |
---|---|
init([struct datasourceStruct='[runtime expression]'])
I build a new datasource bean. |
Method Summary | |
---|---|
string
|
getAlias()
Get the alias. |
string
|
getDBType()
Get DBType. |
any
|
getMemento()
Get the memento. |
string
|
getName()
Get the name. |
string
|
getPassword()
Get Password. |
string
|
getUsername()
Get Username. |
void
|
setAlias(string alias)
Set alias of the datasource, this is used for reference to the structure. |
void
|
setDBType(string dbtype)
Set DBType. |
void
|
setMemento(struct memento)
Set the memento. |
void
|
setName(string name)
Set name of the datasource, this maps to the Coldfusion datasource name. |
void
|
setPassword(string Password)
Set Password. |
void
|
setUsername(string Username)
Set Username. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
I build a new datasource bean.
datasourceStruct
- The structure holding the name,dbtype,username,and password variables.Method Detail |
---|
Get the alias
Get DBType
Get the memento
Get the name
Get Password
Get Username
Set alias of the datasource, this is used for reference to the structure.
alias
Set DBType
dbtype
Set the memento
memento
Set name of the datasource, this maps to the Coldfusion datasource name
name
Set Password
Password
Set Username
Username