WikibaseLexeme
MediaWiki WikibaseLexeme extension
|
Public Member Functions | |
__construct () | |
setId ( $id) | |
Public Member Functions inherited from Wikibase\Lexeme\Domain\Model\Form | |
__construct (FormId $id, TermList $representations, array $grammaticalFeatures, StatementList $statementList=null) | |
getType () | |
getId () | |
getRepresentations () | |
The representations of the Form as list of terms. | |
setRepresentations (TermList $representations) | |
getGrammaticalFeatures () | |
setGrammaticalFeatures (array $grammaticalFeatures) | |
getStatements () | |
isEmpty () | |
equals ( $target) | |
copy () | |
__clone () | |
The forms ID and grammatical features (a set of ItemIds) are immutable and don't need individual cloning. | |
clear () | |
Clears the representations, grammatical features and statements of a form. | |
Additional Inherited Members | |
Public Attributes inherited from Wikibase\Lexeme\Domain\Model\Form | |
const | ENTITY_TYPE = 'form' |
Protected Attributes inherited from Wikibase\Lexeme\Domain\Model\Form | |
$id | |
$representations | |
$grammaticalFeatures | |
$statementList | |
Wikibase\Lexeme\Domain\DummyObjects\BlankForm::__construct | ( | ) |
Wikibase\Lexeme\Domain\DummyObjects\BlankForm::setId | ( | $id | ) |
FormId | $id |
Reimplemented from Wikibase\Lexeme\Domain\Model\Form.