Package org.openrefine.wikibase.qa
Class Constraint
- java.lang.Object
-
- org.openrefine.wikibase.qa.Constraint
-
public class Constraint extends Object
Constraint class is defined to parse the common parameters of property constraints Most of the scrutinizer will have inner class defining the structure of that constraint will extend this Constraint class- Author:
- Ekta Mishra
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONSTRAINT_EXCEPTIONS
static String
CONSTRAINT_STATUS
-
Constructor Summary
Constructors Constructor Description Constraint(org.wikidata.wdtk.datamodel.interfaces.Statement statement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<org.wikidata.wdtk.datamodel.interfaces.EntityIdValue>
getConstraintExceptions()
org.wikidata.wdtk.datamodel.interfaces.ItemIdValue
getConstraintStatus()
-
-
-
Method Detail
-
getConstraintStatus
public org.wikidata.wdtk.datamodel.interfaces.ItemIdValue getConstraintStatus()
-
getConstraintExceptions
public Set<org.wikidata.wdtk.datamodel.interfaces.EntityIdValue> getConstraintExceptions()
-
-