Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.EntityIdValue
Packages that use 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
Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type EntityIdValueModifier and TypeMethodDescriptionstatic StatementUpdateBuilderStatementUpdateBuilder.create(EntityIdValue subject) Creates new builder object for constructing statement update of given subject.static booleanEquality.equalsEntityIdValue(EntityIdValue o1, Object o2) Returnstrueif the parameters are twoEntityIdValueobjects with exactly the same data.static EntityUpdateBuilderEntityUpdateBuilder.forBaseRevisionId(EntityIdValue entityId, long revisionId) Creates new builder object for constructing update of entity with given revision ID.static LabeledDocumentUpdateBuilderLabeledDocumentUpdateBuilder.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 TermedDocumentUpdateBuilderTermedDocumentUpdateBuilder.forBaseRevisionId(EntityIdValue entityId, long revisionId) Creates new builder object for constructing update of entity with given revision ID.static EntityUpdateBuilderEntityUpdateBuilder.forEntityId(EntityIdValue entityId) Creates new builder object for constructing update of entity with given ID.static LabeledDocumentUpdateBuilderLabeledDocumentUpdateBuilder.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 TermedDocumentUpdateBuilderTermedDocumentUpdateBuilder.forEntityId(EntityIdValue entityId) Creates new builder object for constructing update of entity with given ID.static StatementUpdateBuilderStatementUpdateBuilder.forStatementGroups(EntityIdValue subject, Collection<StatementGroup> groups) Creates new builder object for constructing update of given base revision statement groups with given subject.static StatementUpdateBuilderStatementUpdateBuilder.forStatements(EntityIdValue subject, Collection<Statement> statements) Creates new builder object for constructing update of given base revision statements with given subject.static StatementBuilderStatementBuilder.forSubjectAndProperty(EntityIdValue subject, PropertyIdValue property) Starts the construction of aStatementwith the given subject.static intHash.hashCode(EntityIdValue o) Returns a hash code for the given object.static ClaimDatamodel.makeClaim(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Creates aClaim.static StatementDatamodel.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.Constructors in org.wikidata.wdtk.datamodel.helpers with parameters of type EntityIdValueModifierConstructorDescriptionprotectedEntityDocumentBuilder(EntityIdValue entityIdValue) protectedEntityUpdateBuilder(EntityIdValue entityId, long revisionId) Initializes new builder object for constructing update of entity with given ID.protectedLabeledDocumentUpdateBuilder(EntityIdValue entityId, long revisionId) Initializes new builder object for constructing update of entity with given ID.protectedStatementBuilder(EntityIdValue subject, PropertyIdValue property) Constructor.protectedStatementDocumentUpdateBuilder(EntityIdValue entityId, long revisionId) Initializes new builder object for constructing update of entity with given ID.protectedTermedDocumentUpdateBuilder(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
Classes in org.wikidata.wdtk.datamodel.implementation that implement EntityIdValueModifier and TypeClassDescriptionclassAbstract base implementation ofEntityIdValuefor Jackson.classJackson implementation ofFormIdValue.classJackson implementation ofItemIdValue.classJackson implementation ofLexemeIdValue.classJackson implementation ofMediaInfoIdValue.classJackson implementation ofPropertyIdValue.classJackson implementation ofSenseIdValue.classRepresents a entity id value of an unsupported type.Methods in org.wikidata.wdtk.datamodel.implementation that return EntityIdValueModifier and TypeMethodDescriptionstatic EntityIdValueParses an item idEntityRedirectDocumentImpl.getEntityId()EntityUpdateImpl.getEntityId()ClaimImpl.getSubject()StatementGroupImpl.getSubject()StatementImpl.getSubject()EntityRedirectDocumentImpl.getTargetId()Methods in org.wikidata.wdtk.datamodel.implementation with parameters of type EntityIdValueModifier 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) Constructors in org.wikidata.wdtk.datamodel.implementation with parameters of type EntityIdValueModifierConstructorDescriptionClaimImpl(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers) Constructor to create a claim.protectedEntityUpdateImpl(EntityIdValue entityId, long revisionId) Initializes new entity update.protectedLabeledDocumentUpdateImpl(EntityIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Initializes new entity update.protectedStatementDocumentUpdateImpl(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) protectedTermedDocumentUpdateImpl(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.protectedTermedStatementDocumentImpl(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
Subinterfaces of EntityIdValue in org.wikidata.wdtk.datamodel.interfacesModifier and TypeInterfaceDescriptioninterfaceThe id of a Wikibase Lexeme Form.interfaceThe id of a Wikibase Item.interfaceThe id of a Wikibase Lexeme.interfaceThe id of a Wikibase MediaInfo.interfaceThe id of a Wikibase Property.interfaceThe id of a Wikibase Lexeme Sense.interfaceRepresents a entity id value of an unsupported type.Methods in org.wikidata.wdtk.datamodel.interfaces that return EntityIdValueModifier and TypeMethodDescriptiondefault EntityIdValueStatementDocument.findStatementEntityIdValue(String propertyId) Returns the uniqueEntityIdValuefor the given property, or null if there are zero or many such values given in statements for this property.default EntityIdValueStatementDocument.findStatementEntityIdValue(PropertyIdValue propertyIdValue) Returns the uniqueEntityIdValuefor 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 theClaimof each statement in this group.EntityRedirectDocument.getTargetId()Returns the ID of the entity that the redirection target to.Methods in org.wikidata.wdtk.datamodel.interfaces with parameters of type EntityIdValueModifier 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
Fields in org.wikidata.wdtk.examples with type parameters of type EntityIdValueModifier and TypeFieldDescriptionfinal HashMap<EntityIdValue,Integer> GenderRatioProcessor.SiteRecord.genderCounts -
Uses of EntityIdValue in org.wikidata.wdtk.examples.bots
Methods in org.wikidata.wdtk.examples.bots with parameters of type EntityIdValueModifier and TypeMethodDescriptionprotected voidFixIntegerQuantityPrecisionsBot.logEntityModification(EntityIdValue entityId, List<Statement> updateStatements, String propertyId) Logs information about entities changed so far.protected voidSetLabelsForNumbersBot.logEntityModification(EntityIdValue entityId, String numberLabel, ArrayList<String> languages) Logs information about entities changed so far. -
Uses of EntityIdValue in org.wikidata.wdtk.rdf
Methods in org.wikidata.wdtk.rdf with parameters of type EntityIdValueModifier and TypeMethodDescriptionvoidOwlDeclarationBuffer.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 forEntityIdValueobjects. -
Uses of EntityIdValue in org.wikidata.wdtk.rdf.values
Methods in org.wikidata.wdtk.rdf.values with parameters of type EntityIdValueModifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.ValueEntityIdValueConverter.getRdfValue(EntityIdValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValueAnyValueConverter.visit(EntityIdValue value) -
Uses of EntityIdValue in org.wikidata.wdtk.wikibaseapi
Methods in org.wikidata.wdtk.wikibaseapi with parameters of type EntityIdValueModifier and TypeMethodDescriptionvoidWikibaseDataEditor.nullEdit(EntityIdValue entityId) Performs a null edit on an entity.