@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, setSynchronizedWithFile
public ClassNameRecord(HeapRecordableManager heapRecordableManager, HelperBinaryConversion helperBinaryConversion)
public int byteSize()
public void marshall(byte[] binary) throws HeapRecordableException
IHeapRecordable
binary
- where write the object stateHeapRecordableException
public void unmarshall(byte[] binary) throws HeapRecordableException
IHeapRecordable
binary
- where read the object stateHeapRecordableException
public byte[] getClassName()
public void setClassName(byte[] className) throws ObjectIOException
ObjectIOException
public int getClassNameIdentifier()
public void setClassNameIdentifier(int classNameIdentifier) throws ObjectIOException
ObjectIOException
public DataRecordIdentifier getNextClassNameRecordDataRecordIdentifier()
public void setNextClassNameRecordDataRecordIdentifier(DataRecordIdentifier nextClassNameRecordDataRecordIdentifier) throws ObjectIOException
ObjectIOException
public String toString()
toString
in class AbstractHeapRecordable
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.