Class 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 Detail

      • CONSTRAINT_STATUS

        public static String CONSTRAINT_STATUS
      • CONSTRAINT_EXCEPTIONS

        public static String CONSTRAINT_EXCEPTIONS
    • Constructor Detail

      • Constraint

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

      • getConstraintStatus

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

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