Class Constraint

java.lang.Object
org.openrefine.wikidata.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 Details

    • CONSTRAINT_STATUS

      public static String CONSTRAINT_STATUS
    • CONSTRAINT_EXCEPTIONS

      public static String CONSTRAINT_EXCEPTIONS
  • Constructor Details

    • Constraint

      public Constraint(org.wikidata.wdtk.datamodel.interfaces.Statement statement)
  • Method Details

    • getConstraintStatus

      public org.wikidata.wdtk.datamodel.interfaces.ItemIdValue getConstraintStatus()
    • getConstraintExceptions

      public Set<org.wikidata.wdtk.datamodel.interfaces.EntityIdValue> getConstraintExceptions()