@NotStorableClass public class ClassNameRecord extends AbstractHeapRecordable
heapRecordableManager, helperBinaryConversion, logger| Constructor and Description |
|---|
ClassNameRecord(HeapRecordableManager heapRecordableManager,
HelperBinaryConversion helperBinaryConversion) |
| Modifier and Type | Method and Description |
|---|---|
int |
byteSize() |
byte[] |
getClassName() |
int |
getClassNameIdentifier() |
DataRecordIdentifier |
getNextClassNameRecordDataRecordIdentifier() |
void |
marshall(byte[] binary)
from object state to binary form
|
void |
setClassName(byte[] className) |
void |
setClassNameIdentifier(int classNameIdentifier) |
void |
setNextClassNameRecordDataRecordIdentifier(DataRecordIdentifier nextClassNameRecordDataRecordIdentifier) |
String |
toString() |
void |
unmarshall(byte[] binary)
from binary form to object state
|
checkLoaded, clear, compareTo, equals, getDataRecordIdentifier, hashCode, isStateChanged, setDataRecordIdentifier, setStateHaveChanged, setSynchronizedWithFilepublic ClassNameRecord(HeapRecordableManager heapRecordableManager, HelperBinaryConversion helperBinaryConversion)
public int byteSize()
public void marshall(byte[] binary)
throws HeapRecordableException
IHeapRecordablebinary - where write the object stateHeapRecordableExceptionpublic void unmarshall(byte[] binary)
throws HeapRecordableException
IHeapRecordablebinary - where read the object stateHeapRecordableExceptionpublic byte[] getClassName()
public void setClassName(byte[] className)
throws ObjectIOException
ObjectIOExceptionpublic int getClassNameIdentifier()
public void setClassNameIdentifier(int classNameIdentifier)
throws ObjectIOException
ObjectIOExceptionpublic DataRecordIdentifier getNextClassNameRecordDataRecordIdentifier()
public void setNextClassNameRecordDataRecordIdentifier(DataRecordIdentifier nextClassNameRecordDataRecordIdentifier) throws ObjectIOException
ObjectIOExceptionpublic String toString()
toString in class AbstractHeapRecordableCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.