PHP Класс AppserverIo\Appserver\Core\Api\Node\DatasourceNode

Автор: Tim Wagner ([email protected])
Наследование: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\DatasourceNodeInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
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.

Описание методов

getContainerName() публичный Метод

Return's the name of the container which can use this datasource
public getContainerName ( ) : string
Результат string The name of the container

getDatabase() публичный Метод

Return's the database connection information.
public getDatabase ( ) : DatabaseNode
Результат DatabaseNode The database connection information

getName() публичный Метод

Return's the unique datasource name.
public getName ( ) : string | null
Результат string | null The unique datasource name

getType() публичный Метод

Return's the datasource's type.
public getType ( ) : string | null
Результат string | null The datasource type

setContainerName() публичный Метод

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
Результат void

Описание свойств

$containerName защищенное свойство

The container which can use this datasource
protected string $containerName
Результат string

$database защищенное свойство

The database connection information.
protected DatabaseNode,AppserverIo\Appserver\Core\Api\Node $database
Результат DatabaseNode

$name защищенное свойство

The unique datasource name.
protected string $name
Результат string

$type защищенное свойство

The type of the datasource.
protected string $type
Результат string