hep.aida.ref.tuple
Class ReadOnlyAbstractTuple

java.lang.Object
  extended by hep.aida.ref.event.AIDAObservable
      extended by hep.aida.ref.ManagedObject
          extended by hep.aida.ref.tuple.AbstractTuple
              extended by hep.aida.ref.tuple.ReadOnlyAbstractTuple
All Implemented Interfaces:
hep.aida.dev.IDevManagedObject, IManagedObject, ITuple, Connectable, FTuple
Direct Known Subclasses:
ChainedTuple

public abstract class ReadOnlyAbstractTuple
extends AbstractTuple

Base class for read only tuples. This implements all methods which modify the tuple to throw exceptions.


Nested Class Summary
 
Nested classes/interfaces inherited from class hep.aida.ref.tuple.AbstractTuple
AbstractTuple.AbstractTupleColumnFactory
 
Field Summary
 
Fields inherited from interface hep.aida.ref.tuple.FTuple
ROWS_UNKNOWN
 
Constructor Summary
ReadOnlyAbstractTuple(String name, String options)
           
ReadOnlyAbstractTuple(String name, String title, String options)
           
 
Method Summary
 void addRow()
          Add the current row to the ITuple.
 void fill(int index, org.freehep.util.Value value)
           
 void reset()
          Reset the ITuple.
 void resetRow()
          Clear the current(not yet added) row.
 
Methods inherited from class hep.aida.ref.tuple.AbstractTuple
annotation, column, column, columnByIndex, columnByName, columnDefaultString, columnDefaultValue, columnMax, columnMean, columnMin, columnName, columnNames, columnRms, columns, columnType, columnTypes, columnValue, columnValue, cursor, evaluateMax, evaluateMax, evaluateMin, evaluateMin, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, findColumn, findTuple, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getOptions, getRow, getShort, getString, getTuple, isInMemory, newInternalCursor, next, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, providesColumnDefaultValues, rows, setAnnotation, setRow, setTitle, skip, start, supportsMultipleCursors, supportsRandomAccess, title, tuple
 
Methods inherited from class hep.aida.ref.ManagedObject
isFillable, name, setFillable, setName, type, typeForClass
 
Methods inherited from class hep.aida.ref.event.AIDAObservable
addListener, isConnected, removeAllListeners, removeListener, setConnected, setValid, setValidForAll
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.ref.tuple.FTuple
name
 
Methods inherited from interface hep.aida.ref.event.Connectable
isConnected, setConnected
 

Constructor Detail

ReadOnlyAbstractTuple

public ReadOnlyAbstractTuple(String name,
                             String options)

ReadOnlyAbstractTuple

public ReadOnlyAbstractTuple(String name,
                             String title,
                             String options)
Method Detail

addRow

public void addRow()
            throws OutOfStorageException
Description copied from interface: ITuple
Add the current row to the ITuple. This method should be called after fill has been called for the columns; unfilled columns will be filled with their default value.

Specified by:
addRow in interface ITuple
Specified by:
addRow in class AbstractTuple
Throws:
OutOfStorageException - When the ITuple runs out of storage space.

fill

public void fill(int index,
                 org.freehep.util.Value value)
Specified by:
fill in class AbstractTuple

reset

public void reset()
Description copied from interface: ITuple
Reset the ITuple. All the rows are reset. The ITuple is as just created.

Specified by:
reset in interface ITuple
Specified by:
reset in class AbstractTuple

resetRow

public void resetRow()
Description copied from interface: ITuple
Clear the current(not yet added) row.

Specified by:
resetRow in interface ITuple
Specified by:
resetRow in class AbstractTuple


jHepWork 3.2 © jWork.org