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 SnakGroupDatamodel.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 ofSnakGroupobjects for the currently stored qualifiers.ReferenceBuilder.getSnakGroups()Returns a list ofSnakGroupobjects for the currently stored snaks.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type SnakGroupModifier and TypeMethodDescriptionCopies aSnakGroup.static booleanEquality.equalsSnakGroup(SnakGroup o1, Object o2) Returnstrueif the parameters are twoSnakGroupobjects with exactly the same data.static intReturns a hash code for the given object.static StringReturns a human-readable string representation of the given object.StatementBuilder.withQualifiers(SnakGroup qualifiers) Adds all qualifiers from the givenSnakGroupto the constructed statement.Method parameters in org.wikidata.wdtk.datamodel.helpers with type arguments of type SnakGroupModifier and TypeMethodDescriptionstatic ClaimDatamodel.makeClaim(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Creates aClaim.static ReferenceDatamodel.makeReference(List<SnakGroup> snakGroups) Creates aReference.static StatementDatamodel.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 ofSnakGroupto the constructed statement. -
Uses of SnakGroup in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement SnakGroupModifier and TypeClassDescriptionclassHelper class to represent aSnakGroupdeserialized 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 ofSnakGroupobjects 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.