PHP Class AppserverIo\Appserver\Core\Api\Node\DatasourceNode

Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\DatasourceNodeInterface
Afficher le fichier Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Свойство Type Description
$containerName string The container which can use this datasource
$database DatabaseNode The database connection information.
$name string The unique datasource name.
$type string The type of the datasource.

Méthodes publiques

Méthode 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 méthode

Return's the name of the container which can use this datasource
public getContainerName ( ) : string
Résultat string The name of the container

getDatabase() public méthode

Return's the database connection information.
public getDatabase ( ) : DatabaseNode
Résultat DatabaseNode The database connection information

getName() public méthode

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

getType() public méthode

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

setContainerName() public méthode

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
Résultat void

Property Details

$containerName protected_oe property

The container which can use this datasource
protected string $containerName
Résultat string

$database protected_oe property

The database connection information.
protected DatabaseNode,AppserverIo\Appserver\Core\Api\Node $database
Résultat DatabaseNode

$name protected_oe property

The unique datasource name.
protected string $name
Résultat string

$type protected_oe property

The type of the datasource.
protected string $type
Résultat string