public class ClaimImpl extends Object implements Claim, Serializable
Claim.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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".
|
int |
hashCode() |
String |
toString() |
public EntityIdValue getSubject()
ClaimgetSubject in interface Claimpublic Snak getMainSnak()
ClaimValueSnak "Population: 3000000".getMainSnak in interface Claimpublic List<SnakGroup> getQualifiers()
ClaimgetQualifiers in interface Claimpublic Iterator<Snak> getAllQualifiers()
ClaimgetAllQualifiers in interface ClaimCopyright © 2014–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage