public class PropertyDocumentImpl extends TermedDocumentImpl implements PropertyDocument
PropertyDocument.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DatatypeIdValue |
getDatatype()
Get the datatype id of the datatype defined for this property.
|
EntityIdValue |
getEntityId()
Return the ID of the entity that the data refers to
|
PropertyIdValue |
getPropertyId()
Return the ID of the property that the data refers to.
|
int |
hashCode() |
String |
toString() |
getAliases, getDescriptions, getLabelsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAliases, getDescriptions, getLabelspublic EntityIdValue getEntityId()
EntityDocumentgetEntityId in interface EntityDocumentpublic PropertyIdValue getPropertyId()
PropertyDocumentEntityDocument.getEntityId(), but declared with a
more specific result type.getPropertyId in interface PropertyDocumentpublic DatatypeIdValue getDatatype()
PropertyDocumentgetDatatype in interface PropertyDocumentDatatypeIdValueCopyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage