WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Domain\Model\LexemePatchAccess Class Reference
+ Collaboration diagram for Wikibase\Lexeme\Domain\Model\LexemePatchAccess:

Public Member Functions

 __construct (int $nextFormId, FormSet $forms, int $nextSenseId, SenseSet $senses)
 
 addForm (Form $form)
 
 increaseNextFormIdTo (int $number)
 
 addSense (Sense $sense)
 
 increaseNextSenseIdTo (int $number)
 
 close ()
 
 getForms ()
 
 getNextFormId ()
 
 getSenses ()
 
 getNextSenseId ()
 

Private Member Functions

 assertIsNotClosed ()
 

Private Attributes

int $nextFormId
 
FormSet $forms
 
int $nextSenseId
 
SenseSet $senses
 
bool $isClosed = false
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::__construct ( int $nextFormId,
FormSet $forms,
int $nextSenseId,
SenseSet $senses )

Member Function Documentation

◆ addForm()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::addForm ( Form $form)

◆ addSense()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::addSense ( Sense $sense)

◆ assertIsNotClosed()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::assertIsNotClosed ( )
private

◆ close()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::close ( )

◆ getForms()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::getForms ( )

◆ getNextFormId()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::getNextFormId ( )

◆ getNextSenseId()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::getNextSenseId ( )

◆ getSenses()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::getSenses ( )

◆ increaseNextFormIdTo()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::increaseNextFormIdTo ( int $number)

◆ increaseNextSenseIdTo()

Wikibase\Lexeme\Domain\Model\LexemePatchAccess::increaseNextSenseIdTo ( int $number)

Member Data Documentation

◆ $forms

FormSet Wikibase\Lexeme\Domain\Model\LexemePatchAccess::$forms
private

◆ $isClosed

bool Wikibase\Lexeme\Domain\Model\LexemePatchAccess::$isClosed = false
private

◆ $nextFormId

int Wikibase\Lexeme\Domain\Model\LexemePatchAccess::$nextFormId
private

◆ $nextSenseId

int Wikibase\Lexeme\Domain\Model\LexemePatchAccess::$nextSenseId
private

◆ $senses

SenseSet Wikibase\Lexeme\Domain\Model\LexemePatchAccess::$senses
private

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