Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.Reference
Packages that use Reference
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.
Serializer for RDF
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of Reference in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return ReferenceModifier and TypeMethodDescriptionReferenceBuilder.build()
Copies aReference
.static Reference
Datamodel.makeReference
(List<SnakGroup> snakGroups) Creates aReference
.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type ReferenceModifier and TypeMethodDescriptionCopies aReference
.static boolean
Equality.equalsReference
(Reference o1, Object o2) Returnstrue
if the parameters are twoReference
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.withReference
(Reference reference) Adds a reference to the constructed statement.Method parameters in org.wikidata.wdtk.datamodel.helpers with type arguments of type ReferenceModifier and TypeMethodDescriptionstatic Statement
Datamodel.makeStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
.StatementBuilder.withReferences
(List<? extends Reference> references) Adds a list of references to the constructed statement. -
Uses of Reference in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement ReferenceMethods in org.wikidata.wdtk.datamodel.implementation that return ReferenceMethods in org.wikidata.wdtk.datamodel.implementation that return types with arguments of type ReferenceMethod parameters in org.wikidata.wdtk.datamodel.implementation with type arguments of type ReferenceModifier and TypeMethodDescriptionDataObjectFactoryImpl.getStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) -
Uses of Reference in org.wikidata.wdtk.datamodel.interfaces
Methods in org.wikidata.wdtk.datamodel.interfaces that return ReferenceModifier and TypeMethodDescriptionDataObjectFactory.getReference
(List<SnakGroup> snakGroups) Creates aReference
.Methods in org.wikidata.wdtk.datamodel.interfaces that return types with arguments of type ReferenceModifier and TypeMethodDescriptionStatement.getReferences()
Get a list of references for this Statement.Method parameters in org.wikidata.wdtk.datamodel.interfaces with type arguments of type ReferenceModifier and TypeMethodDescriptionDataObjectFactory.getStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
. -
Uses of Reference in org.wikidata.wdtk.rdf
Methods in org.wikidata.wdtk.rdf with parameters of type ReferenceModifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.Resource
ReferenceRdfConverter.addReference
(Reference reference) Adds the given reference to the list of references that should still be serialized, and returns the RDF resource that will be used as a subject.static String
Vocabulary.getReferenceUri
(Reference reference) Method parameters in org.wikidata.wdtk.rdf with type arguments of type ReferenceModifier and TypeMethodDescriptionvoid
AbstractRdfConverter.writeReferences
(org.eclipse.rdf4j.model.Resource statementResource, List<? extends Reference> references) -
Uses of Reference in org.wikidata.wdtk.wikibaseapi
Methods in org.wikidata.wdtk.wikibaseapi that return types with arguments of type ReferenceModifier and TypeMethodDescriptionStatementUpdate.mergeReferences
(List<? extends Reference> references1, List<? extends Reference> references2) Deprecated.Merges two lists of references, eliminating duplicates in the process.Methods in org.wikidata.wdtk.wikibaseapi with parameters of type ReferenceModifier and TypeMethodDescriptionprotected void
StatementUpdate.addBestReferenceToList
(Reference reference, List<Reference> referenceList) Deprecated.Method parameters in org.wikidata.wdtk.wikibaseapi with type arguments of type ReferenceModifier and TypeMethodDescriptionprotected void
StatementUpdate.addBestReferenceToList
(Reference reference, List<Reference> referenceList) Deprecated.StatementUpdate.mergeReferences
(List<? extends Reference> references1, List<? extends Reference> references2) Deprecated.Merges two lists of references, eliminating duplicates in the process.