Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.SnakGroup
Packages that use SnakGroup
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.
-
Uses of SnakGroup in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return SnakGroupModifier and TypeMethodDescriptionCopies aSnakGroup
.static SnakGroup
Datamodel.makeSnakGroup
(List<? extends Snak> snaks) Creates aSnakGroup
.Methods in org.wikidata.wdtk.datamodel.helpers that return types with arguments of type SnakGroupModifier and TypeMethodDescriptionStatementBuilder.getQualifierGroups()
Returns a list ofSnakGroup
objects for the currently stored qualifiers.ReferenceBuilder.getSnakGroups()
Returns a list ofSnakGroup
objects for the currently stored snaks.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type SnakGroupModifier and TypeMethodDescriptionCopies aSnakGroup
.static boolean
Equality.equalsSnakGroup
(SnakGroup o1, Object o2) Returnstrue
if the parameters are twoSnakGroup
objects with exactly the same data.static int
Returns a hash code for the given object.static String
Returns a human-readable string representation of the given object.StatementBuilder.withQualifiers
(SnakGroup qualifiers) Adds all qualifiers from the givenSnakGroup
to the constructed statement.Method parameters in org.wikidata.wdtk.datamodel.helpers with type arguments of type SnakGroupModifier and TypeMethodDescriptionstatic Claim
Datamodel.makeClaim
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Creates aClaim
.static Reference
Datamodel.makeReference
(List<SnakGroup> snakGroups) Creates aReference
.static Statement
Datamodel.makeStatement
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
.StatementBuilder.withQualifiers
(List<SnakGroup> qualifiers) Adds all qualifiers from the given list ofSnakGroup
to the constructed statement. -
Uses of SnakGroup in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement SnakGroupModifier and TypeClassDescriptionclass
Helper class to represent aSnakGroup
deserialized from JSON.Methods in org.wikidata.wdtk.datamodel.implementation that return SnakGroupMethods in org.wikidata.wdtk.datamodel.implementation that return types with arguments of type SnakGroupModifier and TypeMethodDescriptionClaimImpl.getQualifiers()
StatementImpl.getQualifiers()
ReferenceImpl.getSnakGroups()
Construct a list ofSnakGroup
objects from a map from property ids to snak lists as found in JSON.Method parameters in org.wikidata.wdtk.datamodel.implementation with type arguments of type SnakGroupModifier and TypeMethodDescriptionDataObjectFactoryImpl.getClaim
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) DataObjectFactoryImpl.getReference
(List<SnakGroup> snakGroups) DataObjectFactoryImpl.getStatement
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, StatementRank rank, String statementId) Constructor parameters in org.wikidata.wdtk.datamodel.implementation with type arguments of type SnakGroupModifierConstructorDescriptionClaimImpl
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Constructor to create a claim.ReferenceImpl
(List<SnakGroup> groups) Constructor.StatementImpl
(String statementId, StatementRank rank, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, EntityIdValue subjectId) Constructor. -
Uses of SnakGroup in org.wikidata.wdtk.datamodel.interfaces
Methods in org.wikidata.wdtk.datamodel.interfaces that return SnakGroupModifier and TypeMethodDescriptionDataObjectFactory.getSnakGroup
(List<? extends Snak> snaks) Creates aSnakGroup
.Methods in org.wikidata.wdtk.datamodel.interfaces that return types with arguments of type SnakGroupModifier and TypeMethodDescriptionClaim.getQualifiers()
Groups of auxiliary Snaks, also known as qualifiers, that provide additional context information for this claim.Statement.getQualifiers()
Groups of auxiliary Snaks, also known as qualifiers, that provide additional context information for this claim.Reference.getSnakGroups()
Get the list of snak groups associated with this reference.Method parameters in org.wikidata.wdtk.datamodel.interfaces with type arguments of type SnakGroupModifier and TypeMethodDescriptionDataObjectFactory.getClaim
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Creates aClaim
.DataObjectFactory.getReference
(List<SnakGroup> snakGroups) Creates aReference
.DataObjectFactory.getStatement
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
.