| java.lang.Object org.jaffa.components.finder.RawCriteriaField
RawCriteriaField | public class RawCriteriaField implements CriteriaField(Code) | | This class will be used by the Finder components to hold a Raw criteria.
|
Constructor Summary | |
public | RawCriteriaField(String operator, byte[] value) Adds a Criteria.
Parameters: operator - the operator of the criteria. Parameters: value - the value of the criteria. throws: IllegalArgumentException - if the operator is null. | public | RawCriteriaField(String operator, byte[][] values) Adds a Criteria.
Parameters: operator - the operator of the criteria. Parameters: values - the value array of the criteria. throws: IllegalArgumentException - if the operator is null. | public | RawCriteriaField() Default constructor.
NOTE: This was added to support tools, which create instances of this class by bean introspection. |
Method Summary | |
public String | getOperator() Getter for property operator. | public static RawCriteriaField | getRawCriteriaField(String operator, String value, RawFieldMetaData meta) This will generate a CriteriaField object based on the input parameters.
Parameters: operator - The operator of the criteria. Parameters: value - The value for the criteria. | public byte[][] | getValues() Getter for property values. | public Object[] | returnValuesAsObjectArray() Getter for property values. | public void | setOperator(String operator) Setter for the property operator.
NOTE: This was added to support tools, which create instances of this class by bean introspection. | public void | setValues(byte[][] values) Setter for the property values.
NOTE: This was added to support tools, which create instances of this class by bean introspection. | public String | toString() Returns diagnostic information. |
RawCriteriaField | public RawCriteriaField(String operator, byte[] value) throws IllegalArgumentException(Code) | | Adds a Criteria.
Parameters: operator - the operator of the criteria. Parameters: value - the value of the criteria. throws: 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'. |
RawCriteriaField | public RawCriteriaField(String operator, byte[][] values) throws IllegalArgumentException(Code) | | Adds a Criteria.
Parameters: operator - the operator of the criteria. Parameters: values - the value array of the criteria. throws: 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'. |
RawCriteriaField | public RawCriteriaField()(Code) | | Default constructor.
NOTE: This was added to support tools, which create instances of this class by bean introspection. In all other cases, it is recommended to use the static methods to instantiate this class.
|
getOperator | public String getOperator()(Code) | | Getter for property operator.
Value of property operator. |
getRawCriteriaField | public static RawCriteriaField getRawCriteriaField(String operator, String value, RawFieldMetaData meta)(Code) | | This will generate a CriteriaField object based on the input parameters.
Parameters: operator - The operator of the criteria. Parameters: value - The value for the criteria. Multiple values should be separated by comma. Parameters: meta - The FieldMetaData object to obtain the layout for parsing. a CriteriaField object based on the input parameters. |
getValues | public byte[][] getValues()(Code) | | Getter for property values.
An array of values for the Criteria. |
returnValuesAsObjectArray | public Object[] returnValuesAsObjectArray()(Code) | | Getter for property values.
This basically invokes the getValues() method.
An array of values for the Criteria. |
setOperator | public void setOperator(String operator)(Code) | | Setter for the property operator.
NOTE: This was added to support tools, which create instances of this class by bean introspection. In all other cases, it is recommended to use the static methods to instantiate this class.
Parameters: operator - The value of the property operator. |
setValues | public void setValues(byte[][] values)(Code) | | Setter for the property values.
NOTE: This was added to support tools, which create instances of this class by bean introspection. In all other cases, it is recommended to use the static methods to instantiate this class.
Parameters: values - The value of the property values. |
toString | public String toString()(Code) | | Returns diagnostic information.
diagnostic information. |
|
|