All Packages Class Hierarchy This Package Previous Next Index
Interface vnet.yawb.YAWBDataStore
- public interface YAWBDataStore
Implementations of this interface stores information from a search result
or other data retrieval operation for use by YAWB components.
-
getBooleanValue(String)
- Retrieves the named value as a boolean.
-
getCharsValue(String)
- Retrieves the named value as a character array.
-
getDoubleValue(String)
- Retrieves the named value as a double.
-
getFloatValue(String)
- Retrieves the named value as a float.
-
getIntValue(String)
- Retrieves the named value as an int.
-
getLongValue(String)
- Retrieves the named value as a long.
-
getShortValue(String)
- Retrieves the named value as a short.
-
getStringValue(String)
- Retrieves the named value as a String.
-
getValueAs(String, Class)
- Retrieves the named value as an instance of the given class.
getStringValue
public abstract String getStringValue(String name) throws YAWBException
- Retrieves the named value as a String.
- Parameters:
- name - name of the value.
- Returns:
- vamed value.
- Throws: YAWBException
- when the data connot be represented
as a String.
getCharsValue
public abstract char[] getCharsValue(String name) throws YAWBException
- Retrieves the named value as a character array.
- Parameters:
- name - name of the value.
- Returns:
- vamed value.
- Throws: YAWBException
- when the data connot be represented
as a character array.
getIntValue
public abstract int getIntValue(String name) throws YAWBException
- Retrieves the named value as an int.
- Parameters:
- name - name of the value.
- Returns:
- vamed value.
- Throws: YAWBException
- when the data connot be represented
as an int.
getShortValue
public abstract short getShortValue(String name) throws YAWBException
- Retrieves the named value as a short.
- Parameters:
- name - name of the value.
- Returns:
- vamed value.
- Throws: YAWBException
- when the data connot be represented
as a short.
getLongValue
public abstract long getLongValue(String name) throws YAWBException
- Retrieves the named value as a long.
- Parameters:
- name - name of the value.
- Returns:
- vamed value.
- Throws: YAWBException
- when the data connot be represented
as a long.
getFloatValue
public abstract float getFloatValue(String name) throws YAWBException
- Retrieves the named value as a float.
- Parameters:
- name - name of the value.
- Returns:
- vamed value.
- Throws: YAWBException
- when the data connot be represented
as a float.
getDoubleValue
public abstract double getDoubleValue(String name) throws YAWBException
- Retrieves the named value as a double.
- Parameters:
- name - name of the value.
- Returns:
- vamed value.
- Throws: YAWBException
- when the data connot be represented
as a double.
getBooleanValue
public abstract boolean getBooleanValue(String name) throws YAWBException
- Retrieves the named value as a boolean.
- Parameters:
- name - name of the value.
- Returns:
- vamed value.
- Throws: YAWBException
- when the data connot be represented
as a boolean.
getValueAs
public abstract Object getValueAs(String name,
Class type) throws YAWBException
- Retrieves the named value as an instance of the given class. The class
must accept a single string as a constructor value as the result of
getStringValue() will be passed to it.
- Parameters:
- name - name of the value.
- type - class to instantiate.
- Returns:
- vamed value.
- Throws: YAWBException
- when the data connot be represented
as a boolean.
All Packages Class Hierarchy This Package Previous Next Index