Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.StatementGroup
Package
Description
Package for mostly static helper code to work with data objects.
Basic implementation for objects representing Wikibase data and related factories.
Interfaces for representing Wikibase data and related factories.
Package for example programs that demonstrate how to use Wikidata Toolkit in practice.
Package for examples of bots that edit Wikidata.
-
Uses of StatementGroup in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionDatamodelConverter.copy
(StatementGroup object) Copies aStatementGroup
.static StatementGroup
Datamodel.makeStatementGroup
(List<Statement> statements) Creates aStatementGroup
.Modifier and TypeMethodDescriptionprotected List<StatementGroup>
EntityDocumentBuilder.getStatementGroups()
Returns a list ofStatementGroup
objects for the currently stored statements.Modifier and TypeMethodDescriptionDatamodelConverter.copy
(StatementGroup object) Copies aStatementGroup
.static boolean
Equality.equalsStatementGroup
(StatementGroup o1, Object o2) Returnstrue
if the parameters are twoStatementGroup
objects with exactly the same data.static int
Hash.hashCode
(StatementGroup o) Returns a hash code for the given object.static String
ToString.toString
(StatementGroup o) Returns a human-readable string representation of the given object.Modifier and TypeMethodDescriptionstatic StatementUpdateBuilder
StatementUpdateBuilder.forStatementGroups
(Collection<StatementGroup> groups) Creates new builder object for constructing update of given base revision statement groups.static StatementUpdateBuilder
StatementUpdateBuilder.forStatementGroups
(EntityIdValue subject, Collection<StatementGroup> groups) Creates new builder object for constructing update of given base revision statement groups with given subject. -
Uses of StatementGroup in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionStatementGroupImpl.getBestStatements()
DataObjectFactoryImpl.getStatementGroup
(List<Statement> statements) StatementGroupImpl.withStatement
(Statement statement) -
Uses of StatementGroup in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeMethodDescriptiondefault StatementGroup
StatementDocument.findStatementGroup
(String propertyId) Returns theStatementGroup
for the given property, or null if there are no statements for this property.default StatementGroup
StatementDocument.findStatementGroup
(PropertyIdValue propertyIdValue) Returns theStatementGroup
for the given property, or null if there are no statements for this property.StatementGroup.getBestStatements()
Get the best statements of this group.DataObjectFactory.getStatementGroup
(List<Statement> statements) Creates aStatementGroup
.StatementGroup.withStatement
(Statement statement) Returns a new version of this group, where the given statement has been added.Modifier and TypeMethodDescriptionStatementDocument.getStatementGroups()
Return the list of all StatementGroups stored for this item. -
Uses of StatementGroup in org.wikidata.wdtk.examples
Modifier and TypeMethodDescriptionprotected static StatementGroup
EditOnlineDataExample.findStatementGroup
(PropertyIdValue pid, StatementDocument document) Finds theStatementGroup
for the given property in a document. -
Uses of StatementGroup in org.wikidata.wdtk.examples.bots
Modifier and TypeMethodDescriptionprotected boolean
FixIntegerQuantityPrecisionsBot.hasPlusMinusOneValues
(StatementGroup statementGroup) Checks if the given statement group contains at least one value of precision +/-1.