Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.StatementGroup
Packages that use 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
Methods in org.wikidata.wdtk.datamodel.helpers that return StatementGroupModifier and TypeMethodDescriptionDatamodelConverter.copy
(StatementGroup object) Copies aStatementGroup
.static StatementGroup
Datamodel.makeStatementGroup
(List<Statement> statements) Creates aStatementGroup
.Methods in org.wikidata.wdtk.datamodel.helpers that return types with arguments of type StatementGroupModifier and TypeMethodDescriptionprotected List<StatementGroup>
EntityDocumentBuilder.getStatementGroups()
Returns a list ofStatementGroup
objects for the currently stored statements.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type StatementGroupModifier 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.Method parameters in org.wikidata.wdtk.datamodel.helpers with type arguments of type StatementGroupModifier 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
Classes in org.wikidata.wdtk.datamodel.implementation that implement StatementGroupMethods in org.wikidata.wdtk.datamodel.implementation that return StatementGroupModifier and TypeMethodDescriptionStatementGroupImpl.getBestStatements()
DataObjectFactoryImpl.getStatementGroup
(List<Statement> statements) StatementGroupImpl.withStatement
(Statement statement) -
Uses of StatementGroup in org.wikidata.wdtk.datamodel.interfaces
Methods in org.wikidata.wdtk.datamodel.interfaces that return StatementGroupModifier 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.Methods in org.wikidata.wdtk.datamodel.interfaces that return types with arguments of type StatementGroupModifier and TypeMethodDescriptionStatementDocument.getStatementGroups()
Return the list of all StatementGroups stored for this item. -
Uses of StatementGroup in org.wikidata.wdtk.examples
Methods in org.wikidata.wdtk.examples that return StatementGroupModifier 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
Methods in org.wikidata.wdtk.examples.bots with parameters of type StatementGroupModifier and TypeMethodDescriptionprotected boolean
FixIntegerQuantityPrecisionsBot.hasPlusMinusOneValues
(StatementGroup statementGroup) Checks if the given statement group contains at least one value of precision +/-1.