Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Domain\ReadModel\PredicateProperty Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Domain\ReadModel\PredicateProperty:

Public Member Functions

 __construct (PropertyId $id, ?string $dataType)
 
 getId ()
 
 getDataType ()
 

Private Attributes

PropertyId $id
 
string $dataType
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Domain\ReadModel\PredicateProperty::__construct ( PropertyId  $id,
?string  $dataType 
)

Member Function Documentation

◆ getDataType()

Wikibase\Repo\RestApi\Domain\ReadModel\PredicateProperty::getDataType ( )
Returns
string|null null only if the property was deleted/cannot be found

◆ getId()

Wikibase\Repo\RestApi\Domain\ReadModel\PredicateProperty::getId ( )

Member Data Documentation

◆ $dataType

string Wikibase\Repo\RestApi\Domain\ReadModel\PredicateProperty::$dataType
private

◆ $id

PropertyId Wikibase\Repo\RestApi\Domain\ReadModel\PredicateProperty::$id
private

The documentation for this class was generated from the following file: