Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.MediaInfoIdValue
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.
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of MediaInfoIdValue in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionDatamodelConverter.copy
(MediaInfoIdValue object) Copies aMediaInfoIdValue
.static MediaInfoIdValue
Datamodel.makeMediaInfoIdValue
(String id, String siteIri) Creates anMediaInfoIdValue
.static MediaInfoIdValue
Datamodel.makeWikimediaCommonsMediaInfoIdValue
(String id) Creates anMediaInfoIdValue
for Wikimedia Commons.Modifier and TypeMethodDescriptionDatamodelConverter.copy
(MediaInfoIdValue object) Copies aMediaInfoIdValue
.static MediaInfoUpdateBuilder
MediaInfoUpdateBuilder.forBaseRevisionId
(MediaInfoIdValue mediaInfoId, long revisionId) Creates new builder object for constructing update of media entity with given revision ID.static MediaInfoUpdateBuilder
MediaInfoUpdateBuilder.forEntityId
(MediaInfoIdValue mediaInfoId) Creates new builder object for constructing update of media entity with given ID.static MediaInfoDocument
Datamodel.makeMediaInfoDocument
(MediaInfoIdValue mediaInfoIdValue) Creates an emptyMediaInfoDocument
.static MediaInfoDocument
Datamodel.makeMediaInfoDocument
(MediaInfoIdValue mediaInfoIdValue, List<MonolingualTextValue> labels, List<StatementGroup> statementGroups) Creates aMediaInfoDocument
.static MediaInfoUpdate
Datamodel.makeMediaInfoUpdate
(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Creates newMediaInfoUpdate
.static String
ToString.toString
(MediaInfoIdValue o) Returns a human-readable string representation of the given object. -
Uses of MediaInfoIdValue in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionMediaInfoDocumentImpl.getEntityId()
MediaInfoUpdateImpl.getEntityId()
DataObjectFactoryImpl.getMediaInfoIdValue
(String id, String siteIri) Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getMediaInfoDocument
(MediaInfoIdValue mediaInfoIdValue, List<MonolingualTextValue> labels, List<StatementGroup> statementGroups, long revisionId) DataObjectFactoryImpl.getMediaInfoUpdate
(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) MediaInfoDocumentImpl.withEntityId
(MediaInfoIdValue newEntityId) ModifierConstructorDescriptionMediaInfoDocumentImpl
(MediaInfoIdValue id, List<MonolingualTextValue> labels, List<StatementGroup> statements, long revisionId) Constructor.protected
MediaInfoDocumentImpl
(MediaInfoIdValue subject, Map<String, MonolingualTextValue> labels, Map<String, List<Statement>> claims, long revisionId) Protected constructor, meant to be used to create modified copies of instances.MediaInfoUpdateImpl
(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Initializes new media update. -
Uses of MediaInfoIdValue in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeFieldDescriptionstatic final MediaInfoIdValue
MediaInfoIdValue.NULL
FixedMediaInfoIdValue
that refers to a non-existing item.Modifier and TypeMethodDescriptionMediaInfoDocument.getEntityId()
Returns the ID of the entity that the data refers toMediaInfoUpdate.getEntityId()
DataObjectFactory.getMediaInfoIdValue
(String id, String siteIri) Creates aMediaInfoIdValue
.Modifier and TypeMethodDescriptionDataObjectFactory.getMediaInfoDocument
(MediaInfoIdValue mediaInfoIdValue, List<MonolingualTextValue> labels, List<StatementGroup> statementGroups, long revisionId) Creates aMediaInfoDocument
.DataObjectFactory.getMediaInfoUpdate
(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements) Creates newMediaInfoUpdate
.MediaInfoDocument.withEntityId
(MediaInfoIdValue newEntityId) Returns a new version of this document with updated ID. -
Uses of MediaInfoIdValue in org.wikidata.wdtk.wikibaseapi
Modifier and TypeMethodDescriptionWikibaseDataFetcher.getMediaInfoIdByFileName
(String fileName) Fetches the MediaInfoId of a file with the given name.Modifier and TypeMethodDescriptionMediaInfoIdQueryAction.getMediaInfoIds
(List<String> fileNames) Fetches the MediaInfoIds of files with the given names.WikibaseDataFetcher.getMediaInfoIdsByFileName
(String... fileNames) Fetches the MediaInfoIds of files with the given names.WikibaseDataFetcher.getMediaInfoIdsByFileName
(List<String> fileNames) Fetches the MediaInfoIds of files with the given names.