com.bowstreet.util
Interface IDataAccess

All Known Subinterfaces:
Variables

public interface IDataAccess

Interface to access data by name through getXXX and setXXX methods.


Method Summary
 boolean getBoolean(java.lang.String name)
          Gets the named data as a boolean.
 double getDouble(java.lang.String name)
          Gets the named data as a double.
 float getFloat(java.lang.String name)
          Gets the named data as a float.
 int getInt(java.lang.String name)
          Gets the named data as an integer.
 java.util.Iterator getIterator()
          Gets an iterator to all of the names of the named data.
 long getLong(java.lang.String name)
          Gets the named data as a long.
 java.lang.Object getObject(java.lang.String strName)
          Gets the named data as a Object.
 java.lang.String getString(java.lang.String name)
          Gets the named data as a String.
 IXml getXml(java.lang.String name)
          Gets the named data as a IXml.
 void setBoolean(java.lang.String name, boolean value)
          Sets the named data with the specified boolean value.
 void setDouble(java.lang.String name, double value)
          Sets the named data with the specified double value.
 void setFloat(java.lang.String name, float value)
          Sets the named data with the specified float value.
 void setInt(java.lang.String name, int value)
          Sets the named data with the specified integer value.
 void setLong(java.lang.String name, long value)
          Sets the named data with the specified long value.
 void setObject(java.lang.String strName, java.lang.Object value)
          Sets the named data with the specified Object value.
 void setString(java.lang.String name, java.lang.String value)
          Sets the named data with the specified String value.
 void setXml(java.lang.String name, IXml value)
          Sets the named data with the specified IXml value.
 

Method Detail

getBoolean

boolean getBoolean(java.lang.String name)
Gets the named data as a boolean.

Parameters:
name - The name of the boolean value to get.
Returns:
the boolean value of the named data.

getDouble

double getDouble(java.lang.String name)
Gets the named data as a double.

Parameters:
name - The name of the double value to get.
Returns:
the double value of the named data.

getFloat

float getFloat(java.lang.String name)
Gets the named data as a float.

Parameters:
name - The name of the float value to get.
Returns:
the float value of the named data.

getInt

int getInt(java.lang.String name)
Gets the named data as an integer.

Parameters:
name - The name of the integer value to get.
Returns:
the integer value of the named data.

getIterator

java.util.Iterator getIterator()
Gets an iterator to all of the names of the named data.

Returns:
the Iterator of all of the names of the named data.

getLong

long getLong(java.lang.String name)
Gets the named data as a long.

Parameters:
name - The name of the long value to get.
Returns:
the long value of the named data.

getObject

java.lang.Object getObject(java.lang.String strName)
Gets the named data as a Object.

Parameters:
strName - The name of the Object value to get.
Returns:
the Object value of the named data.

getString

java.lang.String getString(java.lang.String name)
Gets the named data as a String.

Parameters:
name - The name of the String value to get.
Returns:
the String value of the named data.

getXml

IXml getXml(java.lang.String name)
Gets the named data as a IXml.

Parameters:
name - The name of the IXml value to get.
Returns:
the IXml value of the named data.

setBoolean

void setBoolean(java.lang.String name,
                boolean value)
Sets the named data with the specified boolean value.

Parameters:
name - The name of the value to set.
value - The value to set on the specified name.

setDouble

void setDouble(java.lang.String name,
               double value)
Sets the named data with the specified double value.

Parameters:
name - The name of the value to set.
value - The value to set on the specified name.

setFloat

void setFloat(java.lang.String name,
              float value)
Sets the named data with the specified float value.

Parameters:
name - The name of the value to set.
value - The value to set on the specified name.

setInt

void setInt(java.lang.String name,
            int value)
Sets the named data with the specified integer value.

Parameters:
name - The name of the value to set.
value - The value to set on the specified name.

setLong

void setLong(java.lang.String name,
             long value)
Sets the named data with the specified long value.

Parameters:
name - The name of the value to set.
value - The value to set on the specified name.

setObject

void setObject(java.lang.String strName,
               java.lang.Object value)
Sets the named data with the specified Object value.

Parameters:
strName - The name of the value to set.
value - The value to set on the specified name.

setString

void setString(java.lang.String name,
               java.lang.String value)
Sets the named data with the specified String value.

Parameters:
name - The name of the value to set.
value - The value to set on the specified name.

setXml

void setXml(java.lang.String name,
            IXml value)
Sets the named data with the specified IXml value.

Parameters:
name - The name of the value to set.
value - The value to set on the specified name.


Copyright © 2009 IBM. All Rights Reserved.