All Packages Class Hierarchy This Package Previous Next Index
Class hep.analysis.AbstractNTupleEventData
java.lang.Object
|
+----hep.analysis.AbstractNTupleEventData
- public abstract class AbstractNTupleEventData
- extends Object
- implements NTupleEventData
Extend this class to get a simple implementation of the
NTupleEventData interface. By default, this class implements
all of the NTupleEventData methods but throws an EventDataException
from each. Therefore, a subclass should override the
methods corresponding to the types it wants to support
and leave the remaining method implementations to throw
exceptions.
- See Also:
- NTupleEventData, EventDataException
-
AbstractNTupleEventData()
-
-
findColumn(String)
- Returns the integer index for the column specified by
name
.
-
getBoolean(int)
- Override if your subclass supports
boolean
data types.
-
getBoolean(String)
- Override if your subclass supports
boolean
data types.
-
getDate(int)
- Override if your subclass supports Date data types.
-
getDate(String)
- Override if your subclass supports Date data types.
-
getDouble(int)
- Override if your subclass supports
double
data types.
-
getDouble(String)
- Override if your subclass supports
double
data types.
-
getInt(int)
- Override if your subclass supports
int
data types.
-
getInt(String)
- Override if your subclass supports
int
data types.
-
getObject(int)
- Override if your subclass supports Object data types.
-
getObject(String)
- Override if your subclass supports Object data types.
-
getString(int)
- Override if your subclass supports String data types.
-
getString(String)
- Override if your subclass supports String data types.
AbstractNTupleEventData
public AbstractNTupleEventData()
getDouble
public double getDouble(String name)
- Override if your subclass supports
double
data types. Throws
an EventDataException if not overridden.
- Parameters:
- name - the name of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getInt
public int getInt(String name)
- Override if your subclass supports
int
data types. Throws
an EventDataException if not overridden.
- Parameters:
- name - the name of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getDate
public Date getDate(String name)
- Override if your subclass supports Date data types. Throws
an EventDataException if not overridden.
- Parameters:
- name - the name of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getString
public String getString(String name)
- Override if your subclass supports String data types. Throws
an EventDataException if not overridden.
- Parameters:
- name - the name of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getBoolean
public boolean getBoolean(String name)
- Override if your subclass supports
boolean
data types. Throws
an EventDataException if not overridden.
- Parameters:
- name - the name of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getObject
public Object getObject(String name)
- Override if your subclass supports Object data types. Throws
an EventDataException if not overridden.
- Parameters:
- name - the name of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getDouble
public double getDouble(int column)
- Override if your subclass supports
double
data types. Throws
an EventDataException if not overridden.
- Parameters:
- column - the integer index of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getInt
public int getInt(int column)
- Override if your subclass supports
int
data types. Throws
an EventDataException if not overridden.
- Parameters:
- column - the integer index of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getDate
public Date getDate(int column)
- Override if your subclass supports Date data types. Throws
an EventDataException if not overridden.
- Parameters:
- column - the integer index of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getString
public String getString(int column)
- Override if your subclass supports String data types. Throws
an EventDataException if not overridden.
- Parameters:
- column - the integer index of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getBoolean
public boolean getBoolean(int column)
- Override if your subclass supports
boolean
data types. Throws
an EventDataException if not overridden.
- Parameters:
- column - the integer index of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
getObject
public Object getObject(int column)
- Override if your subclass supports Object data types. Throws
an EventDataException if not overridden.
- Parameters:
- column - the integer index of the field you want a value for
- Returns:
- the value of the specified field for the event that this object represents
- Throws: EventDataException
- if not overridden
All Packages Class Hierarchy This Package Previous Next Index