java.lang .Object org.mdarad.framework.util.struts.criteria .CriterionFormPatterns CriterionFormPatterns public class CriterionFormPatterns (Code) This class keeps the possible values of the display patterns of criteria associated
to the search criteria. This class has the following patterns :
author: Philippe Brouilletteversion: 1.0
NO_OPERATOR_MULTIPLE_LIST static CriterionFormPattern NO_OPERATOR_MULTIPLE_LIST (Code) Criterition without operator and with a multiple selection list
formPatterns protected static Map formPatterns(Code) Map of the items contained in the enumeration class
add final protected static void add(CriterionFormPattern allowable) (Code) Method that adds an CriterionFormPattern to this map
Parameters: allowable - CriterionFormPattern object that must be addedto the map
getAllowableFormPattern public static CriterionFormPattern getAllowableFormPattern(String value)(Code) This method returns the Operator
item associated to the value passed as argument.
If the item associated to the value doesn't exist,
the method returns null
Parameters: value - key of the item to get Operator that is associated to thekey passed as argument
getAllowableLabels public static String [] getAllowableLabels(Locale locale)(Code) Method that returns an array of the
labels of the enumeration
Array of strings with the labelsof the enumeration
getAllowableValues public static Collection getAllowableValues()(Code) Method that returns a collection of the
values of the enumeration
Collection object with the valuesof the enumeration
toString public String toString()(Code) Method that returns all the values as a string.
the values of the allowable code