PHP 클래스 AppserverIo\Appserver\Core\Api\Node\DatasourceNode

상속: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\DatasourceNodeInterface
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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