Class StringEndsWithColumnConstraint

    • Constructor Detail

      • StringEndsWithColumnConstraint

        public StringEndsWithColumnConstraint​(java.lang.String patternString)
        Constructor
        Parameters:
        spec - the string to use to create an "ends with" 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.