|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.mdl.util.TransAtomTable.TableChangeEvent
Base class for change events on TransAtomTables. The execute methods of the subclasses may only modify the instance variable data_ and must not perform any error checking on the provided arguments. Furthermore, the instance streamedTableSize_, which holds an estimator of the byte size of the table, must be kept up to date if updateStreamedSize_ is true.
| Constructor Summary | |
TransAtomTable.TableChangeEvent()
|
|
| Method Summary | |
void |
describe(DNode n)
describe puts all relevant information about this into the provided node. |
abstract boolean |
execute()
Executes this change event and modifies the table. |
abstract void |
externalize(XmaOutput out)
Writes the state to an output stream |
abstract byte |
getType()
Returns a type indicator used in serialization |
abstract void |
internalize(XmaInput in)
Reads the instance variables from an input stream |
abstract int |
streamedSize()
Returns the number of bytes this event requires when streamed to a byte array |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TransAtomTable.TableChangeEvent()
| Method Detail |
public abstract boolean execute()
public abstract byte getType()
public abstract int streamedSize()
public abstract void internalize(XmaInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public abstract void externalize(XmaOutput out)
throws java.io.IOException
java.io.IOExceptionpublic void describe(DNode n)
Descriptive
describe in interface Descriptiven - the node going to hold information about this.Descriptive.describe(at.spardat.xma.mdl.util.DNode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||