Package org.openrefine.wikidata.schema
Class WbMediaInfoEditExpr
java.lang.Object
org.openrefine.wikidata.schema.WbMediaInfoEditExpr
- All Implemented Interfaces:
WbExpression<MediaInfoEdit>
The representation of an item edit, which can contain variables both for
its own id and in its contents.
- Author:
- Antonin Delpeuch
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWbMediaInfoEditExpr(WbExpression<? extends org.wikidata.wdtk.datamodel.interfaces.EntityIdValue> subjectExpr, List<WbNameDescExpr> nameDescExprs, List<WbStatementGroupExpr> statementGroupExprs) -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(ExpressionContext ctxt) Evaluates the value expression in a given context, returns a Wikibase value suitable to be the target of a claim.WbExpression<? extends org.wikidata.wdtk.datamodel.interfaces.EntityIdValue>inthashCode()
-
Field Details
-
INVALID_SUBJECT_WARNING_TYPE
- See Also:
-
-
Constructor Details
-
WbMediaInfoEditExpr
public WbMediaInfoEditExpr(WbExpression<? extends org.wikidata.wdtk.datamodel.interfaces.EntityIdValue> subjectExpr, List<WbNameDescExpr> nameDescExprs, List<WbStatementGroupExpr> statementGroupExprs)
-
-
Method Details
-
evaluate
public MediaInfoEdit 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<MediaInfoEdit>- Throws:
SkipSchemaExpressionExceptionQAWarningException
-
getSubject
-
getNameDescs
-
getStatementGroups
-
equals
-
hashCode
public int hashCode()
-