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
    Ekta Mishra
    • Field Detail


        public static String CONSTRAINT_STATUS

        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()