| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.components.finder.StringCriteriaField
This class will be used by the Finder components to hold a String criteria.
| Field Summary | 
| Constructor Summary | |
| StringCriteriaField()Default constructor. | |
| StringCriteriaField(String operator,
                                       String value)Adds a Criteria. | |
| StringCriteriaField(String operator,
                                       String[] values)Adds a Criteria. | |
| Method Summary | |
|  String | getOperator()Getter for property operator. | 
| static StringCriteriaField | getStringCriteriaField(String operator,
                                             String value,
                                             StringFieldMetaData meta)This will generate a CriteriaField object based on the input parameters. | 
|  String[] | getValues()Getter for property values. | 
|  Object[] | returnValuesAsObjectArray()Getter for property values. | 
|  void | setOperator(String operator)Setter for the property operator. | 
|  void | setValues(String[] values)Setter for the property values. | 
|  String | toString()Returns diagnostic information. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public StringCriteriaField(String operator,
                           String value)
                    throws IllegalArgumentException
operator - the operator of the criteria.value - the value of the criteria.
IllegalArgumentException - if the operator is null. The exception will also be thrown if the value is null and the operator is neither 'IsNull' nor 'IsNotNull'.
public StringCriteriaField(String operator,
                           String[] values)
                    throws IllegalArgumentException
operator - the operator of the criteria.values - the value array of the criteria.
IllegalArgumentException - if the operator is null. The exception will also be thrown if the value is null and the operator is neither 'IsNull' nor 'IsNotNull'.public StringCriteriaField()
| Method Detail | 
public String getOperator()
getOperator in interface CriteriaFieldpublic Object[] returnValuesAsObjectArray()
returnValuesAsObjectArray in interface CriteriaFieldpublic String[] getValues()
public String toString()
public static StringCriteriaField getStringCriteriaField(String operator,
                                                         String value,
                                                         StringFieldMetaData meta)
operator - The operator of the criteria.value - The value for the criteria. Multiple values should be separated by comma.meta - The FieldMetaData object to obtain the layout for parsing.
public void setOperator(String operator)
operator - The value of the property operator.public void setValues(String[] values)
values - The value of the property values.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||