java.lang.Iterable<Statement>, StatementGrouppublic class StatementGroupFromJson extends java.lang.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 | Description |
|---|---|
StatementGroupFromJson(java.util.List<JacksonStatement> jacksonStatements) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
PropertyIdValue |
getProperty() |
Get the property used in the main snak of the
Claim of each
statement in this group. |
java.util.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() |
|
java.util.Iterator<Statement> |
iterator() |
|
java.lang.String |
toString() |
public StatementGroupFromJson(java.util.List<JacksonStatement> jacksonStatements)
public java.util.Iterator<Statement> iterator()
iterator in interface java.lang.Iterable<Statement>public java.util.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 StatementGrouppublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage