Method Summary |
|
public String | getFallbackForward() Returns the name of the field that is returned if none of the predefined keys matches the lookup-value. |
public String | getField() Returns the name of the field from where to read the key value. |
public String | getForward(int index) Retrieves the forward-fieldname for the key at the given position. |
public String[] | getForward() Returns all forward-definitions as string-array. |
public int | getForwardCount() Returns the number of forward-definitions that have been defined. |
public Expression | getInstance() Return a completly separated copy of this function. |
public String | getKey(int index) Returns a key value at the given index.
Parameters: index - the index position of the key in the list. |
public String[] | getKey() Returns all defined keys as string array. |
public int | getKeyCount() Returns the number of keys defined in the expression. |
public String | getNullValue() Returns the value that is returned if the key-field evaluates to null . |
public Object | getValue() Performs the lookup by first querying the given field, and then mapping the retrived value into one of the
field names. |
public boolean | isIgnoreCase() Returns, whether the key-lookup should be case-insensitive. |
public void | setFallbackForward(String fallbackForward) Defines the name of the field that is returned if none of the predefined keys matches the lookup-value. |
public void | setField(String field) Defines the name of the field from where to read the key value. |
public void | setForward(int index, String value) Defines the forward-fieldname for the key at the given position. |
public void | setForward(String[] forwards) Defiens all forward-definitions using the values of the string-array. |
public void | setIgnoreCase(boolean ignoreCase) Defines, whether the key-lookup should be case-insensitive. |
public void | setKey(int index, String key) Defines a key value to which the lookup-field's value is compared. |
public void | setKey(String[] keys) Defines all keys using the values from the string array. |
public void | setNullValue(String nullValue) Defines the value that is returned if the key-field evaluates to null . |