Package org.openrefine.wikidata.schema
Class WbEntityIdValueConstant
java.lang.Object
org.openrefine.wikidata.schema.WbEntityIdValueConstant
- All Implemented Interfaces:
WbExpression<org.wikidata.wdtk.datamodel.interfaces.EntityIdValue>
public class WbEntityIdValueConstant
extends Object
implements WbExpression<org.wikidata.wdtk.datamodel.interfaces.EntityIdValue>
A constant entity id value, that does not change depending on the row
- Author:
- Antonin Delpeuch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.wikidata.wdtk.datamodel.interfaces.EntityIdValueevaluate(ExpressionContext ctxt) Evaluates the value expression in a given context, returns a Wikibase value suitable to be the target of a claim.getId()getLabel()inthashCode()
-
Constructor Details
-
WbEntityIdValueConstant
-
-
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.EntityIdValue>
-
getId
-
getLabel
-
equals
-
hashCode
public int hashCode()
-