Package org.openrefine.wikidata.schema
Class WbPropConstant
java.lang.Object
org.openrefine.wikidata.schema.WbPropConstant
- All Implemented Interfaces:
WbExpression<org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue>
public class WbPropConstant
extends Object
implements WbExpression<org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue>
A constant property, that does not change depending on the row
- Author:
- Antonin Delpeuch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.wikidata.wdtk.datamodel.interfaces.PropertyIdValueevaluate(ExpressionContext ctxt) Evaluates the value expression in a given context, returns a Wikibase value suitable to be the target of a claim.getLabel()getPid()inthashCode()
-
Constructor Details
-
WbPropConstant
-
-
Method Details
-
evaluate
Description copied from interface:WbExpressionEvaluates the value expression in a given context, returns a Wikibase value suitable to be the target of a claim.- Specified by:
evaluatein interfaceWbExpression<org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue>
-
getPid
-
getLabel
-
getDatatype
-
equals
-
hashCode
public int hashCode()
-