Class StringContainsColumnConstraint

    • Constructor Detail

      • StringContainsColumnConstraint

        public StringContainsColumnConstraint​(java.lang.String patternString)
        Constructor.
        Parameters:
        patternString - the string to use to create a "contains" pattern.
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: ColumnConstraint
        Returns the name of the constraint
        Returns:
        the name of the constraint.
      • copy

        public ColumnConstraint<java.lang.String> copy​(java.lang.String newPatternString)
        Description copied from class: StringColumnConstraint
        subclasses must override to generate new versions of themselves but with a new pattern string.
        Specified by:
        copy in class StringColumnConstraint
        Parameters:
        newPatternString - the new string to use for creating the match pattern.
        Returns:
        a new ColumnConstraint that is the same type as this constraint but with a new range defined.