public class StatementGroupFromJson extends Object implements StatementGroup
StatementGroup deserialized from JSON.
The actual data is part of a map of lists of JacksonStatement objects
in JSON, so there is no corresponding JSON object.| Constructor and Description |
|---|
StatementGroupFromJson(List<JacksonStatement> jacksonStatements) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PropertyIdValue |
getProperty()
Get the property used in the main snak of the
Claim of each
statement in this group. |
List<Statement> |
getStatements()
Get the list of Statements of this group.
|
EntityIdValue |
getSubject()
Get the subject used in the
Claim of each statement in this
group. |
int |
hashCode() |
Iterator<Statement> |
iterator() |
String |
toString() |
public StatementGroupFromJson(List<JacksonStatement> jacksonStatements)
public List<Statement> getStatements()
StatementGroupgetStatements in interface StatementGrouppublic PropertyIdValue getProperty()
StatementGroupClaim of each
statement in this group.getProperty in interface StatementGrouppublic EntityIdValue getSubject()
StatementGroupClaim of each statement in this
group.getSubject in interface StatementGroupCopyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage