Class CheckConstraint


  • public final class CheckConstraint
    extends Constraint
    Foreign key Constraint uniquely identifying a different entity (row from another table).
    Since:
    1.0.0
    • Constructor Detail

      • CheckConstraint

        public CheckConstraint​(String name,
                               io.github.mmm.property.criteria.CriteriaPredicate predicate)
        The constructor.
        Parameters:
        name - the name.
        predicate - the predicate to check.
      • CheckConstraint

        public CheckConstraint​(io.github.mmm.property.criteria.CriteriaPredicate predicate)
        The constructor.
        Parameters:
        predicate - the predicate to check.
    • Method Detail

      • getPredicate

        public io.github.mmm.property.criteria.CriteriaPredicate getPredicate()
        Returns:
        the CriteriaPredicate to check.