Package org.openrefine.wikidata.schema
Class WbReferenceExpr
java.lang.Object
org.openrefine.wikidata.schema.WbReferenceExpr
- All Implemented Interfaces:
WbExpression<org.wikidata.wdtk.datamodel.interfaces.Reference>
public class WbReferenceExpr
extends Object
implements WbExpression<org.wikidata.wdtk.datamodel.interfaces.Reference>
An expression for a reference (list of reference snaks).
- Author:
- Antonin Delpeuch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.wikidata.wdtk.datamodel.interfaces.Referenceevaluate(ExpressionContext ctxt) Evaluates the value expression in a given context, returns a Wikibase value suitable to be the target of a claim.getSnaks()inthashCode()
-
Constructor Details
-
WbReferenceExpr
-
-
Method Details
-
evaluate
public org.wikidata.wdtk.datamodel.interfaces.Reference evaluate(ExpressionContext ctxt) throws SkipSchemaExpressionException, QAWarningException 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.Reference>- Throws:
SkipSchemaExpressionExceptionQAWarningException
-
getSnaks
-
equals
-
hashCode
public int hashCode()
-