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.


Method Index

 o getBooleanValue(String)
Retrieves the named value as a boolean.
 o getCharsValue(String)
Retrieves the named value as a character array.
 o getDoubleValue(String)
Retrieves the named value as a double.
 o getFloatValue(String)
Retrieves the named value as a float.
 o getIntValue(String)
Retrieves the named value as an int.
 o getLongValue(String)
Retrieves the named value as a long.
 o getShortValue(String)
Retrieves the named value as a short.
 o getStringValue(String)
Retrieves the named value as a String.
 o getValueAs(String, Class)
Retrieves the named value as an instance of the given class.

Methods

 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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