Class DisplayConstraintHelpMessages


  • public final class DisplayConstraintHelpMessages
    extends java.lang.Object
    Class to generate help messages appropriate to a given constraint for display in the QueryBuilder and template form.
    Author:
    Richard Smith
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getHelpMessage​(DisplayConstraint con)
      Generate a context sensitive help message for a constraint.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getHelpMessage

        public static java.lang.String getHelpMessage​(DisplayConstraint con)
        Generate a context sensitive help message for a constraint. The message will explain all available options - e.g. if a dropdown will explain how to enter multiple values, if a string field how to use wildcards.
        Parameters:
        con - the constraint to generate help for
        Returns:
        a context sensitive help message