com.sas.dataselectors.filters
Class DefaultFilterConditionList
com.sas.dataselectors.filters.DefaultFilterConditionList
All Implemented Interfaces: FilterConditionListInterface
public class DefaultFilterConditionList implements FilterConditionListInterface
Reference implementation of the FilterConditionListInterface.
RB_KEY
public static java.lang.String RB_KEY
DefaultFilterConditionList
public DefaultFilterConditionList ()
DefaultFilterConditionList
public DefaultFilterConditionList (java.util.List conditionList)
getConditionListLabel
public java.lang.String getConditionListLabel ()
Description copied from interface: FilterConditionListInterface
This call returns the 'label' or user displayable name
for this list of conditions. This might be the
word 'Operation' to be generic or it could be customized to
be a value specified by the client.
Specified by: getConditionListLabel
in interface FilterConditionListInterface
Returns: String
setConditionListLabel
public void setConditionListLabel (java.lang.String listLabel)
getConditionList
public java.util.List getConditionList ()
Description copied from interface: FilterConditionListInterface
return List ( of FilterConditionInterface )
Specified by: getConditionList
in interface FilterConditionListInterface
setConditionList
public void setConditionList (java.util.List conditionList)
createCondition
public static FilterConditionInterface createCondition (java.lang.String conditionLabel,
java.lang.String conditionMessageFormat,
int argumentCount,
java.lang.String [] argumentLabels)
createCondition
public static FilterConditionInterface createCondition (java.lang.Object conditionObject,
java.lang.String conditionLabel,
java.lang.String conditionMessageFormat,
int argumentCount,
java.lang.String [] argumentLabels)
format
public static java.lang.String format (java.lang.String item,
FilterConditionInterface condition,
java.util.List values)
Static convienence function to format a condition using its message format
Parameters: String
- ItemFilterConditionInterface
- conditionjava.util.List
- Values
Returns: String formatted message
getDefaultModelWithAllConditions
public static FilterConditionListInterface getDefaultModelWithAllConditions ()
getDefaultModelWithNoNullOrMissingValue
public static FilterConditionListInterface getDefaultModelWithNoNullOrMissingValue ()
getDefaultModelWithNoListConditions
public static FilterConditionListInterface getDefaultModelWithNoListConditions ()
getDefaultModelWithOnlyEquivalence
public static FilterConditionListInterface getDefaultModelWithOnlyEquivalence ()
Copyright © 2009 SAS Institute Inc. All Rights Reserved.