Package org.openrefine.wikibase.schema
Class WbStatementGroupExpr
- java.lang.Object
-
- org.openrefine.wikibase.schema.WbStatementGroupExpr
-
public class WbStatementGroupExpr extends Object
-
-
Constructor Summary
Constructors Constructor Description WbStatementGroupExpr(WbExpression<? extends org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue> propertyExpr, List<WbStatementExpr> claimExprs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
StatementGroupEdit
evaluate(ExpressionContext ctxt, org.wikidata.wdtk.datamodel.interfaces.EntityIdValue subject)
WbExpression<? extends org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue>
getProperty()
List<WbStatementExpr>
getStatements()
int
hashCode()
void
validate(ValidationState validation)
Checks that the expression has all its required components and is ready to be evaluated.
-
-
-
Constructor Detail
-
WbStatementGroupExpr
public WbStatementGroupExpr(WbExpression<? extends org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue> propertyExpr, List<WbStatementExpr> claimExprs)
-
-
Method Detail
-
validate
public void validate(ValidationState validation)
Checks that the expression has all its required components and is ready to be evaluated.- Parameters:
validation
-
-
evaluate
public StatementGroupEdit evaluate(ExpressionContext ctxt, org.wikidata.wdtk.datamodel.interfaces.EntityIdValue subject) throws SkipSchemaExpressionException, QAWarningException
-
getProperty
public WbExpression<? extends org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue> getProperty()
-
getStatements
public List<WbStatementExpr> getStatements()
-
-