Uses of Enum
org.wikidata.wdtk.datamodel.interfaces.StatementRank
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
-
Uses of StatementRank in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionstatic Statement
Datamodel.makeStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
.static Statement
Datamodel.makeStatement
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
.StatementBuilder.withRank
(StatementRank rank) Sets the rank for the constructed statement. -
Uses of StatementRank in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) DataObjectFactoryImpl.getStatement
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, StatementRank rank, String statementId) ModifierConstructorDescriptionStatementImpl
(String statementId, StatementRank rank, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, EntityIdValue subjectId) Constructor.StatementImpl
(String statementId, StatementRank rank, Snak mainSnak, Map<String, List<Snak>> qualifiers, List<String> qualifiersOrder, List<Reference> references, EntityIdValue subjectId) -
Uses of StatementRank in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeMethodDescriptionStatement.getRank()
static StatementRank
Returns the enum constant of this type with the specified name.static StatementRank[]
StatementRank.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionDataObjectFactory.getStatement
(Claim claim, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
.DataObjectFactory.getStatement
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
. -
Uses of StatementRank in org.wikidata.wdtk.rdf
Modifier and TypeMethodDescriptionvoid
RankBuffer.add
(StatementRank rank, org.eclipse.rdf4j.model.Resource subject) Adds a Statement.static String
Vocabulary.getStatementRankUri
(StatementRank rank) void
AbstractRdfConverter.writeStatementRankTriple
(org.eclipse.rdf4j.model.Resource subject, StatementRank rank, boolean best) Writes a triple for theStatementRank
of aStatement
to the dump.