public interface Claim
Modifier and Type | Method and Description |
---|---|
Iterator<Snak> |
getAllQualifiers()
Returns an iterator over all qualifiers, without considering qualifier
groups.
|
Snak |
getMainSnak()
Main Snak of the statement.
|
List<SnakGroup> |
getQualifiers()
Groups of auxiliary Snaks, also known as qualifiers, that provide
additional context information for this claim.
|
EntityIdValue |
getSubject()
The subject that the claim refers to, e.g., the id of "Berlin".
|
Value |
getValue()
Convenience method to get the value of the claim's main snak, or null if
there is none.
|
EntityIdValue getSubject()
Snak getMainSnak()
ValueSnak
"Population: 3000000".List<SnakGroup> getQualifiers()
Iterator<Snak> getAllQualifiers()
Value getValue()
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage