|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An implementation of this interface is used to provide data for one event from a simple NTuple with named columns. A variety of methods allow access to particular fields for the event that this object represents. Throw an EventDataException if an inappropriate call to one of these methods is made.
EventDataException| Method Summary | |
int |
findColumn(java.lang.String name)
Returns the integer index for the column specified by name. |
boolean |
getBoolean(int column)
Returns a boolean value for the field specified by the parameter column. |
boolean |
getBoolean(java.lang.String name)
Deprecated. getBoolean(int) less expensive and recommended |
java.util.Date |
getDate(int column)
Returns a Date object for the field specified by the parameter column. |
java.util.Date |
getDate(java.lang.String name)
Deprecated. getDate(int) less expensive and recommended |
double |
getDouble(int column)
Returns a double value for the field specified by the parameter column. |
double |
getDouble(java.lang.String name)
Deprecated. getDouble(int) less expensive and recommended |
int |
getInt(int column)
Returns an int value for the field specified by the parameter column. |
int |
getInt(java.lang.String name)
Deprecated. getInt(int) less expensive and recommended |
java.lang.Object |
getObject(int column)
Returns an Object for the field specified by the parameter column. |
java.lang.Object |
getObject(java.lang.String name)
Deprecated. getObject(int) less expensive and recommended |
java.lang.String |
getString(int column)
Returns a String object for the field specified by the parameter column. |
java.lang.String |
getString(java.lang.String name)
Deprecated. getString(int) less expensive and recommended |
| Method Detail |
public double getDouble(java.lang.String name)
double value for the field specified by the parameter name.name - the name of the field to accessEventDataException - if an inappropriate call to this method is madegetDouble(int)public int getInt(java.lang.String name)
int value for the field specified by the parameter name.name - the name of the field to accessEventDataException - if an inappropriate call to this method is madegetInt(int)public java.util.Date getDate(java.lang.String name)
name.name - the name of the field to accessEventDataException - if an inappropriate call to this method is madegetDate(int)public boolean getBoolean(java.lang.String name)
boolean value for the field specified by the parameter name.name - the name of the field to accessEventDataException - if an inappropriate call to this method is madegetBoolean(int)public java.lang.String getString(java.lang.String name)
name.name - the name of the field to accessEventDataException - if an inappropriate call to this method is madegetString(int)public java.lang.Object getObject(java.lang.String name)
name.name - the name of the field to accessEventDataException - if an inappropriate call to this method is madegetObject(int)public double getDouble(int column)
double value for the field specified by the parameter column.column - the integer index for the data column, as returned from
findColumn(String)EventDataException - if an inappropriate call to this method is madefindColumn(String)public int getInt(int column)
int value for the field specified by the parameter column.column - the integer index for the data column, as returned from
findColumn(String)EventDataException - if an inappropriate call to this method is madefindColumn(String)public java.util.Date getDate(int column)
column.column - the integer index for the data column, as returned from
findColumn(String)EventDataException - if an inappropriate call to this method is madefindColumn(String)public boolean getBoolean(int column)
boolean value for the field specified by the parameter column.column - the integer index for the data column, as returned from
findColumn(String)EventDataException - if an inappropriate call to this method is madefindColumn(String)public java.lang.String getString(int column)
column.column - the integer index for the data column, as returned from
findColumn(String)EventDataException - if an inappropriate call to this method is madefindColumn(String)public java.lang.Object getObject(int column)
column.column - the integer index for the data column, as returned from
findColumn(String)EventDataException - if an inappropriate call to this method is madefindColumn(String)public int findColumn(java.lang.String name)
name. Use the
return value for the argument to the methods of the form
XXX getXXX(int column)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||