Interface DatatypeIdValue

All Known Implementing Classes:
DatatypeIdImpl

public interface DatatypeIdValue
A value that represents one of the available Wikibase datatypes. The method getIri() will always return one of the datatype IRIs defined in this interface.
Author:
Markus Kroetzsch
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_COMMONS_MEDIA
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_EDTF
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_EXTERNAL_ID
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_FORM
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_GEO_SHAPE
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_GLOBE_COORDINATES
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_ITEM
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_LEXEME
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_MATH
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_MEDIA_INFO
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_MONOLINGUAL_TEXT
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_PROPERTY
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_QUANTITY
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_SENSE
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_STRING
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_TABULAR_DATA
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_TIME
    static final String
    Deprecated.
    use org.wikidata.wdtk.rdf.Vocabulary.DT_URL
    static final String
    String used to refer to the property datatype for Commons media files, in JSON.
    static final String
    String used to refer to the property datatype for EDTF dates, in JSON.
    static final String
    String used to refer to the property datatype for external identifiers, in JSON.
    static final String
    String used to refer to the property datatype for Geo shapes, in JSON.
    static final String
    String used to refer to the property datatype for globe coordinates, in JSON.
    static final String
    String used to refer to the property datatype for Wikibase items, in JSON.
    static final String
    String used to refer to the property datatype for mathematical expressions, in JSON.
    static final String
    String used to refer to the property datatype for monolingual text, in JSON.
    static final String
    String used to refer to the property datatype for Wikibase properties, in JSON.
    static final String
    String used to refer to the property datatype for quantities, in JSON.
    static final String
    String used to refer to the property datatype for strings, in JSON.
    static final String
    String used to refer to the property datatype for time values, in JSON.
    static final String
    String used to refer to the property datatype for urls, in JSON.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    use org.wikidata.wdtk.rdf.AbstractRdfConverter.getDatatypeIri() from the wdtk-rdf module
    The string identifying this datatype in the JSON serialization of a property.
  • Field Details

    • DT_ITEM

      static final String DT_ITEM
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_ITEM
      IRI of the item datatype in Wikibase.
      See Also:
    • DT_PROPERTY

      static final String DT_PROPERTY
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_PROPERTY
      IRI of the property datatype in Wikibase.
      See Also:
    • DT_LEXEME

      static final String DT_LEXEME
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_LEXEME
      IRI of the lexeme datatype in Wikibase.
      See Also:
    • DT_FORM

      static final String DT_FORM
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_FORM
      IRI of the form datatype in Wikibase.
      See Also:
    • DT_SENSE

      static final String DT_SENSE
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_SENSE
      IRI of the sense datatype in Wikibase.
      See Also:
    • DT_MEDIA_INFO

      static final String DT_MEDIA_INFO
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_MEDIA_INFO
      IRI of the media info datatype in Wikibase.
      See Also:
    • DT_STRING

      static final String DT_STRING
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_STRING
      IRI of the string datatype in Wikibase.
      See Also:
    • DT_URL

      static final String DT_URL
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_URL
      IRI of the URL datatype in Wikibase.
      See Also:
    • DT_COMMONS_MEDIA

      static final String DT_COMMONS_MEDIA
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_COMMONS_MEDIA
      IRI of the Commons media datatype in Wikibase.
      See Also:
    • DT_TIME

      static final String DT_TIME
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_TIME
      IRI of the time datatype in Wikibase.
      See Also:
    • DT_GLOBE_COORDINATES

      static final String DT_GLOBE_COORDINATES
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_GLOBE_COORDINATES
      IRI of the globe coordinates datatype in Wikibase.
      See Also:
    • DT_QUANTITY

      static final String DT_QUANTITY
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_QUANTITY
      IRI of the quantity datatype in Wikibase.
      See Also:
    • DT_MONOLINGUAL_TEXT

      static final String DT_MONOLINGUAL_TEXT
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_MONOLINGUAL_TEXT
      IRI of the monolingual text datatype in Wikibase.
      See Also:
    • DT_EXTERNAL_ID

      static final String DT_EXTERNAL_ID
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_EXTERNAL_ID
      IRI of the external identifier datatype in Wikibase.
      See Also:
    • DT_MATH

      static final String DT_MATH
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_MATH
      IRI of the math datatype in Wikibase.
      See Also:
    • DT_GEO_SHAPE

      static final String DT_GEO_SHAPE
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_GEO_SHAPE
      IRI of the geo shape datatype in Wikibase.
      See Also:
    • DT_TABULAR_DATA

      static final String DT_TABULAR_DATA
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_TABULAR_DATA
      IRI of the tabular data datatype in Wikibase.
      See Also:
    • DT_EDTF

      static final String DT_EDTF
      Deprecated.
      use org.wikidata.wdtk.rdf.Vocabulary.DT_EDTF
      IRI of the extended date time format (EDTF) datatype in Wikibase.
      See Also:
    • JSON_DT_ITEM

      static final String JSON_DT_ITEM
      String used to refer to the property datatype for Wikibase items, in JSON.
      See Also:
    • JSON_DT_PROPERTY

      static final String JSON_DT_PROPERTY
      String used to refer to the property datatype for Wikibase properties, in JSON.
      See Also:
    • JSON_DT_GLOBE_COORDINATES

      static final String JSON_DT_GLOBE_COORDINATES
      String used to refer to the property datatype for globe coordinates, in JSON.
      See Also:
    • JSON_DT_URL

      static final String JSON_DT_URL
      String used to refer to the property datatype for urls, in JSON.
      See Also:
    • JSON_DT_COMMONS_MEDIA

      static final String JSON_DT_COMMONS_MEDIA
      String used to refer to the property datatype for Commons media files, in JSON.
      See Also:
    • JSON_DT_TIME

      static final String JSON_DT_TIME
      String used to refer to the property datatype for time values, in JSON.
      See Also:
    • JSON_DT_QUANTITY

      static final String JSON_DT_QUANTITY
      String used to refer to the property datatype for quantities, in JSON.
      See Also:
    • JSON_DT_STRING

      static final String JSON_DT_STRING
      String used to refer to the property datatype for strings, in JSON.
      See Also:
    • JSON_DT_MONOLINGUAL_TEXT

      static final String JSON_DT_MONOLINGUAL_TEXT
      String used to refer to the property datatype for monolingual text, in JSON.
      See Also:
    • JSON_DT_EXTERNAL_ID

      static final String JSON_DT_EXTERNAL_ID
      String used to refer to the property datatype for external identifiers, in JSON.
      See Also:
    • JSON_DT_MATH

      static final String JSON_DT_MATH
      String used to refer to the property datatype for mathematical expressions, in JSON.
      See Also:
    • JSON_DT_GEO_SHAPE

      static final String JSON_DT_GEO_SHAPE
      String used to refer to the property datatype for Geo shapes, in JSON.
      See Also:
    • JSON_DT_EDTF

      static final String JSON_DT_EDTF
      String used to refer to the property datatype for EDTF dates, in JSON.
      See Also:
  • Method Details

    • getIri

      String getIri()
      Deprecated.
      use org.wikidata.wdtk.rdf.AbstractRdfConverter.getDatatypeIri() from the wdtk-rdf module
      Get the IRI of this entity.
      Returns:
      String with the IRI
    • getJsonString

      String getJsonString()
      The string identifying this datatype in the JSON serialization of a property.