All Packages Class Hierarchy This Package Previous Next Index
Interface hep.analysis.EventData
- public interface EventData
An implementation of this interface is used to provide data for
one event. 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.
- See Also:
- EventDataException
-
getBoolean(String)
- Returns a
boolean value for the field specified by the parameter name.
-
getDate(String)
- Returns a Date object for the field specified by the parameter
name.
-
getDouble(String)
- Returns a
double value for the field specified by the parameter name.
-
getInt(String)
- Returns an
int value for the field specified by the parameter name.
-
getObject(String)
- Returns an Object for the field specified by the parameter
name.
-
getString(String)
- Returns a String object for the field specified by the parameter
name.
getDouble
public abstract double getDouble(String name)
- Returns a
double value for the field specified by the parameter name.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
getInt
public abstract int getInt(String name)
- Returns an
int value for the field specified by the parameter name.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
getDate
public abstract Date getDate(String name)
- Returns a Date object for the field specified by the parameter
name.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
getBoolean
public abstract boolean getBoolean(String name)
- Returns a
boolean value for the field specified by the parameter name.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
getString
public abstract String getString(String name)
- Returns a String object for the field specified by the parameter
name.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
getObject
public abstract Object getObject(String name)
- Returns an Object for the field specified by the parameter
name.
- Parameters:
- name - the name of the field to access
- Throws: EventDataException
- if an inappropriate call to this method is made
All Packages Class Hierarchy This Package Previous Next Index