Interface PrefetchedEntityIdValue

    • Field Summary

      • Fields inherited from interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue

        ET_FORM, ET_ITEM, ET_LEXEME, ET_MEDIA_INFO, ET_PROPERTY, ET_SENSE, ET_UNSUPPORTED, SITE_LOCAL
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getLabel()
      This should return the label "as we got it", with no guarantee that it is current or that its language matches that of the user.
      List<String> getTypes()
      Returns a list of types for this entity.
      • Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.EntityIdValue

        getEntityType, getId, getSiteIri, isPlaceholder
      • Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.IriIdentifiedValue

        getIri
      • Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.Value

        accept
    • Method Detail

      • getLabel

        String getLabel()
        This should return the label "as we got it", with no guarantee that it is current or that its language matches that of the user. In general though, that should be the case if the user always uses OpenRefine with the same language settings.
        Returns:
        the preferred label of the entity
      • getTypes

        List<String> getTypes()
        Returns a list of types for this entity. Again these are the types as they were originally fetched from the reconciliation interface: they can diverge from what is currently on the entity. Empty lists should be returned for