PHP Interface AppserverIo\Appserver\Core\Api\Node\DatasourceNodeInterface

Inheritance: extends AppserverIo\Configuration\Interfaces\NodeInterface
Show file Open project: appserver-io/appserver Interface Usage Examples

Public Methods

Method Description
getContainerName ( ) : string Return's the name of the container which can use this datasource
getDatabase ( ) : DatabaseNode Return's the database connection information.
getName ( ) : string | null Return's the unique datasource name.
getType ( ) : string | null Return's the datasource's type.
setContainerName ( string | null $containerName ) : void Set's the name of the container which can use this datasource.

Method Details

getContainerName() public method

Return's the name of the container which can use this datasource
public getContainerName ( ) : string
return string

getDatabase() public method

Return's the database connection information.
public getDatabase ( ) : DatabaseNode
return DatabaseNode The database connection information

getName() public method

Return's the unique datasource name.
public getName ( ) : string | null
return string | null The unique datasource name

getType() public method

Return's the datasource's type.
public getType ( ) : string | null
return string | null The datasource type

setContainerName() public method

Set's the name of the container which can use this datasource.
public setContainerName ( string | null $containerName ) : void
$containerName string | null The name of the container
return void