Class FullyPropertySerializingValueSnak
- java.lang.Object
-
- org.wikidata.wdtk.datamodel.implementation.SnakImpl
-
- org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
-
- org.openrefine.wikibase.schema.entityvalues.FullyPropertySerializingValueSnak
-
- All Implemented Interfaces:
org.wikidata.wdtk.datamodel.interfaces.Snak,org.wikidata.wdtk.datamodel.interfaces.ValueSnak
public class FullyPropertySerializingValueSnak extends org.wikidata.wdtk.datamodel.implementation.ValueSnakImplA tweaked version ofSnakImplthat serializes the full property (not just its PID), so that we can also get the label for that property and display it in the UI without having to query the remote server.- Author:
- Antonin Delpeuch
-
-
Constructor Summary
Constructors Constructor Description FullyPropertySerializingValueSnak(org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue property, org.wikidata.wdtk.datamodel.interfaces.Value value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.wikidata.wdtk.datamodel.interfaces.PropertyIdValuegetFullPropertyId()-
Methods inherited from class org.wikidata.wdtk.datamodel.implementation.ValueSnakImpl
accept, equals, getDatatype, getDatavalue, getJsonPropertyTypeForValueType, getSnakType, getValue, hashCode, toString
-
Methods inherited from class org.wikidata.wdtk.datamodel.implementation.SnakImpl
getProperty, getPropertyId
-
-