Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
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.
Package for example programs that demonstrate how to use Wikidata Toolkit in practice.
Package for examples of bots that edit Wikidata.
Serializer for RDF
Package for code related to the conversion of data values to RDF in various ways.
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of EntityIdValue in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionstatic StatementUpdateBuilder
StatementUpdateBuilder.create
(EntityIdValue subject) Creates new builder object for constructing statement update of given subject.static boolean
Equality.equalsEntityIdValue
(EntityIdValue o1, Object o2) Returnstrue
if the parameters are twoEntityIdValue
objects with exactly the same data.static EntityUpdateBuilder
EntityUpdateBuilder.forBaseRevisionId
(EntityIdValue entityId, long revisionId) Creates new builder object for constructing update of entity with given revision ID.static LabeledDocumentUpdateBuilder
LabeledDocumentUpdateBuilder.forBaseRevisionId
(EntityIdValue entityId, long revisionId) Creates new builder object for constructing update of entity with given revision ID.StatementDocumentUpdateBuilder.forBaseRevisionId
(EntityIdValue entityId, long revisionId) Creates new builder object for constructing update of entity with given revision ID.static TermedDocumentUpdateBuilder
TermedDocumentUpdateBuilder.forBaseRevisionId
(EntityIdValue entityId, long revisionId) Creates new builder object for constructing update of entity with given revision ID.static EntityUpdateBuilder
EntityUpdateBuilder.forEntityId
(EntityIdValue entityId) Creates new builder object for constructing update of entity with given ID.static LabeledDocumentUpdateBuilder
LabeledDocumentUpdateBuilder.forEntityId
(EntityIdValue entityId) Creates new builder object for constructing update of entity with given ID.StatementDocumentUpdateBuilder.forEntityId
(EntityIdValue entityId) Creates new builder object for constructing update of entity with given ID.static TermedDocumentUpdateBuilder
TermedDocumentUpdateBuilder.forEntityId
(EntityIdValue entityId) Creates new builder object for constructing update of entity with given ID.static StatementUpdateBuilder
StatementUpdateBuilder.forStatementGroups
(EntityIdValue subject, Collection<StatementGroup> groups) Creates new builder object for constructing update of given base revision statement groups with given subject.static StatementUpdateBuilder
StatementUpdateBuilder.forStatements
(EntityIdValue subject, Collection<Statement> statements) Creates new builder object for constructing update of given base revision statements with given subject.static StatementBuilder
StatementBuilder.forSubjectAndProperty
(EntityIdValue subject, PropertyIdValue property) Starts the construction of aStatement
with the given subject.static int
Hash.hashCode
(EntityIdValue o) Returns a hash code for the given object.static Claim
Datamodel.makeClaim
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Creates aClaim
.static Statement
Datamodel.makeStatement
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
.DatamodelConverter.visit
(EntityIdValue value) EntityDocumentBuilder.withEntityId
(EntityIdValue entityId) Changes the entity value id for the constructed document.ItemDocumentBuilder.withEntityId
(EntityIdValue entityId) Changes the entity value id for the constructed document.PropertyDocumentBuilder.withEntityId
(EntityIdValue entityId) Changes the entity value id for the constructed document.ModifierConstructorDescriptionprotected
EntityDocumentBuilder
(EntityIdValue entityIdValue) protected
EntityUpdateBuilder
(EntityIdValue entityId, long revisionId) Initializes new builder object for constructing update of entity with given ID.protected
LabeledDocumentUpdateBuilder
(EntityIdValue entityId, long revisionId) Initializes new builder object for constructing update of entity with given ID.protected
StatementBuilder
(EntityIdValue subject, PropertyIdValue property) Constructor.protected
StatementDocumentUpdateBuilder
(EntityIdValue entityId, long revisionId) Initializes new builder object for constructing update of entity with given ID.protected
TermedDocumentUpdateBuilder
(EntityIdValue entityId, long revisionId) Initializes new builder object for constructing update of entity with given ID. -
Uses of EntityIdValue in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeClassDescriptionclass
Abstract base implementation ofEntityIdValue
for Jackson.class
Jackson implementation ofFormIdValue
.class
Jackson implementation ofItemIdValue
.class
Jackson implementation ofLexemeIdValue
.class
Jackson implementation ofMediaInfoIdValue
.class
Jackson implementation ofPropertyIdValue
.class
Jackson implementation ofSenseIdValue
.class
Represents a entity id value of an unsupported type.Modifier and TypeMethodDescriptionstatic EntityIdValue
Parses an item idEntityRedirectDocumentImpl.getEntityId()
EntityUpdateImpl.getEntityId()
ClaimImpl.getSubject()
StatementGroupImpl.getSubject()
StatementImpl.getSubject()
EntityRedirectDocumentImpl.getTargetId()
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getClaim
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) DataObjectFactoryImpl.getStatement
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, StatementRank rank, String statementId) StatementImpl.PreStatement.withSubject
(EntityIdValue subjectId) ModifierConstructorDescriptionClaimImpl
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Constructor to create a claim.protected
EntityUpdateImpl
(EntityIdValue entityId, long revisionId) Initializes new entity update.protected
LabeledDocumentUpdateImpl
(EntityIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Initializes new entity update.protected
StatementDocumentUpdateImpl
(EntityIdValue entityId, long revisionId, StatementUpdate statements) Initializes new entity update.StatementImpl
(String statementId, Snak mainsnak, EntityIdValue subjectId) TODO review the utility of this constructor.StatementImpl
(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) protected
TermedDocumentUpdateImpl
(EntityIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Initializes new entity update.TermedStatementDocumentImpl
(EntityIdValue id, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> claims, long revisionId) Constructor.protected
TermedStatementDocumentImpl
(EntityIdValue subject, Map<String, MonolingualTextValue> labels, Map<String, MonolingualTextValue> descriptions, Map<String, List<MonolingualTextValue>> aliases, Map<String, List<Statement>> claims, long revisionId) Protected constructor provided to ease the creation of copies. -
Uses of EntityIdValue in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeInterfaceDescriptioninterface
The id of a Wikibase Lexeme Form.interface
The id of a Wikibase Item.interface
The id of a Wikibase Lexeme.interface
The id of a Wikibase MediaInfo.interface
The id of a Wikibase Property.interface
The id of a Wikibase Lexeme Sense.interface
Represents a entity id value of an unsupported type.Modifier and TypeMethodDescriptiondefault EntityIdValue
StatementDocument.findStatementEntityIdValue
(String propertyId) Returns the uniqueEntityIdValue
for the given property, or null if there are zero or many such values given in statements for this property.default EntityIdValue
StatementDocument.findStatementEntityIdValue
(PropertyIdValue propertyIdValue) Returns the uniqueEntityIdValue
for the given property, or null if there are zero or many such values given in statements for this property.EntityDocument.getEntityId()
Returns the ID of the entity that the data refers toEntityUpdate.getEntityId()
Returns ID of the entity that is being updated.Claim.getSubject()
The subject that the claim refers to, e.g., the id of "Berlin".Statement.getSubject()
The subject that the claim refers to, e.g., the id of "Berlin".StatementGroup.getSubject()
Get the subject used in theClaim
of each statement in this group.EntityRedirectDocument.getTargetId()
Returns the ID of the entity that the redirection target to.Modifier and TypeMethodDescriptionDataObjectFactory.getClaim
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Creates aClaim
.DataObjectFactory.getStatement
(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers, List<Reference> references, StatementRank rank, String statementId) Creates aStatement
.ValueVisitor.visit
(EntityIdValue value) Visits a EntityIdValue and returns a result. -
Uses of EntityIdValue in org.wikidata.wdtk.examples
Modifier and TypeFieldDescriptionfinal HashMap<EntityIdValue,
Integer> GenderRatioProcessor.SiteRecord.genderCounts
-
Uses of EntityIdValue in org.wikidata.wdtk.examples.bots
Modifier and TypeMethodDescriptionprotected void
FixIntegerQuantityPrecisionsBot.logEntityModification
(EntityIdValue entityId, List<Statement> updateStatements, String propertyId) Logs information about entities changed so far.protected void
SetLabelsForNumbersBot.logEntityModification
(EntityIdValue entityId, String numberLabel, ArrayList<String> languages) Logs information about entities changed so far. -
Uses of EntityIdValue in org.wikidata.wdtk.rdf
Modifier and TypeMethodDescriptionvoid
OwlDeclarationBuffer.addClass
(EntityIdValue entityIdValue) Adds the given entity id value to the list of entities that should be declared as OWL classes.PropertyRegister.setPropertyTypeFromEntityIdValue
(PropertyIdValue propertyIdValue, EntityIdValue value) Returns the IRI of the primitive Type of an Property forEntityIdValue
objects. -
Uses of EntityIdValue in org.wikidata.wdtk.rdf.values
Modifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.Value
EntityIdValueConverter.getRdfValue
(EntityIdValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.Value
AnyValueConverter.visit
(EntityIdValue value) -
Uses of EntityIdValue in org.wikidata.wdtk.wikibaseapi
Modifier and TypeMethodDescriptionvoid
WikibaseDataEditor.nullEdit
(EntityIdValue entityId) Performs a null edit on an entity.