Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.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
Modifier and TypeMethodDescriptionReferenceBuilder.build()
Copies aReference
.static Reference
Datamodel.makeReference
(List<SnakGroup> snakGroups) Creates aReference
.Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) -
Uses of Reference in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeMethodDescriptionDataObjectFactory.getReference
(List<SnakGroup> snakGroups) Creates aReference
.Modifier and TypeMethodDescriptionStatement.getReferences()
Get a list of references for this Statement.Modifier and TypeMethodDescriptionDataObjectFactory.getStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
. -
Uses of Reference in org.wikidata.wdtk.rdf
Modifier 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) Modifier and TypeMethodDescriptionvoid
AbstractRdfConverter.writeReferences
(org.eclipse.rdf4j.model.Resource statementResource, List<? extends Reference> references) -
Uses of Reference in org.wikidata.wdtk.wikibaseapi
Modifier and TypeMethodDescriptionStatementUpdate.mergeReferences
(List<? extends Reference> references1, List<? extends Reference> references2) Deprecated.Merges two lists of references, eliminating duplicates in the process.Modifier and TypeMethodDescriptionprotected void
StatementUpdate.addBestReferenceToList
(Reference reference, List<Reference> referenceList) Deprecated.Modifier 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.