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 StatementGroupDatamodel.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 ofStatementGroupobjects 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 booleanEquality.equalsStatementGroup(StatementGroup o1, Object o2) Returnstrueif the parameters are twoStatementGroupobjects with exactly the same data.static intHash.hashCode(StatementGroup o) Returns a hash code for the given object.static StringToString.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 StatementUpdateBuilderStatementUpdateBuilder.forStatementGroups(Collection<StatementGroup> groups) Creates new builder object for constructing update of given base revision statement groups.static StatementUpdateBuilderStatementUpdateBuilder.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 StatementGroupStatementDocument.findStatementGroup(String propertyId) Returns theStatementGroupfor the given property, or null if there are no statements for this property.default StatementGroupStatementDocument.findStatementGroup(PropertyIdValue propertyIdValue) Returns theStatementGroupfor 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 StatementGroupEditOnlineDataExample.findStatementGroup(PropertyIdValue pid, StatementDocument document) Finds theStatementGroupfor 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 booleanFixIntegerQuantityPrecisionsBot.hasPlusMinusOneValues(StatementGroup statementGroup) Checks if the given statement group contains at least one value of precision +/-1.