Class ColumnInputRegExp

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Badgeable, Hideable, ValueValidator, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable
Direct Known Subclasses:
ColumnInputCurrency, ColumnInputDate, ColumnInputDouble, ColumnInputLong, ColumnInputTime

public class ColumnInputRegExp extends ColumnInput
This component extends ColumnInput and must be used to insert a input field as a column. When the user writes the value, it must be validated by the regular expression defined as an attribute.
See Also:
  • Field Details

    • _regexp

      protected String _regexp
  • Constructor Details

    • ColumnInputRegExp

      public ColumnInputRegExp()
  • Method Details

    • setREGEXP

      public void setREGEXP(String s)
      Sets the regular expression against which the field will be validated. The pattern must be compatible with that indicated in the java documentation (https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html)
      Parameters:
      s - The regula expression used for the validation
    • validate

      protected void validate(org.apache.ecs.html.Input i, EntitySet es, boolean ro, int row)
      Overrides:
      validate in class ColumnInput