public class StatementGroupImpl extends Object implements StatementGroup, Serializable
StatementGroup.| Constructor and Description |
|---|
StatementGroupImpl(List<Statement> statements)
Constructor.
|
| 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 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–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage