Class NotNullConstraint


  • public final class NotNullConstraint
    extends Constraint
    Not null Constraint ensuring that the column cannot have a null value.
    Since:
    1.0.0
    • Constructor Detail

      • NotNullConstraint

        public NotNullConstraint​(String name,
                                 io.github.mmm.value.PropertyPath<?> column)
        The constructor.
        Parameters:
        name - the name.
        column - the (first) column.
      • NotNullConstraint

        public NotNullConstraint​(io.github.mmm.property.ReadableProperty<?> column)
        The constructor.
        Parameters:
        column - the (first) column.