Represents the difference between two Statement objects.
More...
Represents the difference between two Statement objects.
@fixme Contains references and rank? It's a StatementDifference!
- Copyright
- GPL-2.0-or-later
- Author
- Tobias Gritschacher < tobia.nosp@m.s.gr.nosp@m.itsch.nosp@m.ache.nosp@m.r@wik.nosp@m.imed.nosp@m.ia.de >
-
Thiemo Kreuz
◆ __construct()
Wikibase\Repo\Diff\ClaimDifference::__construct |
( |
DiffOpChange |
$mainSnakChange = null , |
|
|
Diff |
$qualifierChanges = null , |
|
|
Diff |
$referenceChanges = null , |
|
|
DiffOpChange |
$rankChange = null |
|
) |
| |
- Parameters
-
DiffOpChange | null | $mainSnakChange | |
Diff | null | $qualifierChanges | |
Diff | null | $referenceChanges | |
DiffOpChange | null | $rankChange | |
◆ equals()
Wikibase\Repo\Diff\ClaimDifference::equals |
( |
|
$target | ) |
|
- See also
- Comparable::equals
- Parameters
-
- Returns
- bool
◆ getMainSnakChange()
Wikibase\Repo\Diff\ClaimDifference::getMainSnakChange |
( |
| ) |
|
◆ getQualifierChanges()
Wikibase\Repo\Diff\ClaimDifference::getQualifierChanges |
( |
| ) |
|
◆ getRankChange()
Wikibase\Repo\Diff\ClaimDifference::getRankChange |
( |
| ) |
|
◆ getReferenceChanges()
Wikibase\Repo\Diff\ClaimDifference::getReferenceChanges |
( |
| ) |
|
◆ isAtomic()
Wikibase\Repo\Diff\ClaimDifference::isAtomic |
( |
| ) |
|
Checks whether the difference represented by this object is atomic, which means the Statement has only changed either its main snak, qualifiers, references or rank.
- Returns
- bool
◆ $mainSnakChange
Wikibase\Repo\Diff\ClaimDifference::$mainSnakChange |
|
private |
◆ $qualifierChanges
Wikibase\Repo\Diff\ClaimDifference::$qualifierChanges |
|
private |
◆ $rankChange
Wikibase\Repo\Diff\ClaimDifference::$rankChange |
|
private |
◆ $referenceChanges
Wikibase\Repo\Diff\ClaimDifference::$referenceChanges |
|
private |
The documentation for this class was generated from the following file: