Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.MediaInfoDocument
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 MediaInfoDocument in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionDatamodelConverter.copy
(MediaInfoDocument object) Copies aMediaInfoDocument
.JsonDeserializer.deserializeMediaInfoDocument
(String json) Deserializes a JSON string into aMediaInfoDocument
.DatamodelFilter.filter
(MediaInfoDocument mediaInfo) static MediaInfoDocument
Datamodel.makeMediaInfoDocument
(MediaInfoIdValue mediaInfoIdValue) Creates an emptyMediaInfoDocument
.static MediaInfoDocument
Datamodel.makeMediaInfoDocument
(MediaInfoIdValue mediaInfoIdValue, List<MonolingualTextValue> labels, List<StatementGroup> statementGroups) Creates aMediaInfoDocument
.Modifier and TypeMethodDescriptionDatamodelConverter.copy
(MediaInfoDocument object) Copies aMediaInfoDocument
.static boolean
Equality.equalsMediaInfoDocument
(MediaInfoDocument o1, Object o2) Returnstrue
if the parameters are twoMediaInfoDocument
objects with exactly the same data.DatamodelFilter.filter
(MediaInfoDocument mediaInfo) static MediaInfoUpdateBuilder
MediaInfoUpdateBuilder.forBaseRevision
(MediaInfoDocument revision) Creates new builder object for constructing update of given base media entity revision.static String
JsonSerializer.getJsonString
(MediaInfoDocument mediaInfoDocument) Serializes the given object in JSON and returns the resulting string.static int
Hash.hashCode
(MediaInfoDocument o) Returns a hash code for the given object.void
JsonSerializer.processMediaInfoDocument
(MediaInfoDocument mediaInfoDocument) static String
ToString.toString
(MediaInfoDocument o) Returns a human-readable string representation of the given object. -
Uses of MediaInfoDocument in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getMediaInfoDocument
(MediaInfoIdValue mediaInfoIdValue, List<MonolingualTextValue> labels, List<StatementGroup> statementGroups, long revisionId) MediaInfoDocumentImpl.withEntityId
(MediaInfoIdValue newEntityId) MediaInfoDocumentImpl.withLabel
(MonolingualTextValue newLabel) MediaInfoDocumentImpl.withoutStatementIds
(Set<String> statementIds) MediaInfoDocumentImpl.withRevisionId
(long newRevisionId) MediaInfoDocumentImpl.withStatement
(Statement statement) -
Uses of MediaInfoDocument in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeMethodDescriptionDataObjectFactory.getMediaInfoDocument
(MediaInfoIdValue mediaInfoIdValue, List<MonolingualTextValue> labels, List<StatementGroup> statementGroups, long revisionId) Creates aMediaInfoDocument
.MediaInfoDocument.withEntityId
(MediaInfoIdValue newEntityId) Returns a new version of this document with updated ID.MediaInfoDocument.withLabel
(MonolingualTextValue newLabel) MediaInfoDocument.withoutStatementIds
(Set<String> statementIds) MediaInfoDocument.withRevisionId
(long newRevisionId) MediaInfoDocument.withStatement
(Statement statement) Modifier and TypeMethodDescriptiondefault void
EntityDocumentProcessor.processMediaInfoDocument
(MediaInfoDocument mediaInfoDocument) Processes the given MediaInfoDocument. -
Uses of MediaInfoDocument in org.wikidata.wdtk.wikibaseapi
Modifier and TypeMethodDescriptionWikibaseDataEditor.editMediaInfoDocument
(MediaInfoDocument mediaInfoDocument, boolean clear, String summary, List<String> tags) Deprecated.Modifier and TypeMethodDescriptionWikibaseDataEditor.editMediaInfoDocument
(MediaInfoDocument mediaInfoDocument, boolean clear, String summary, List<String> tags) Deprecated.
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead.