public interface PropertyDocument extends TermedDocument
EntityDocument with information about the datatype of a property.
Claims or Statements on properties might be supported in the future.
| Modifier and Type | Method and Description |
|---|---|
DatatypeIdValue |
getDatatype()
Get the datatype id of the datatype defined for this property.
|
PropertyIdValue |
getPropertyId()
Return the ID of the property that the data refers to.
|
getAliases, getDescriptions, getLabelsgetEntityIdPropertyIdValue getPropertyId()
EntityDocument.getEntityId(), but declared with a
more specific result type.DatatypeIdValue getDatatype()
DatatypeIdValueCopyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage