|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pl.edu.pjwstk.yaod.store.defaultstore.persistentstore.PersistentRecordID
Klasa reprezentuje identyfikator rekordu w trwalym skladzie obiektow.
Constructor Summary | |
PersistentRecordID(AbstractBlockID blockID,
short slot)
Tworzy nowy identyfikator rekordu. |
|
PersistentRecordID(byte[] rawPtr)
Tworzy nowy identyfikator rekordu na bazie jego zserializowanej wersji. |
Method Summary | |
AbstractBlockID |
getBlockID()
Zwraca identyfikator bloku. |
short |
getSlotID()
Zwraca numer slotu. |
void |
setBlockID(AbstractBlockID block)
Ustala identyfikator bloku. |
void |
setSlotID(short id)
Ustala numer slotu. |
byte[] |
toByteArray()
Serializuje identyfikator rekordu. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PersistentRecordID(AbstractBlockID blockID, short slot)
blockID
- identyfikator bloku.slot
- numer slotu w bloku.public PersistentRecordID(byte[] rawPtr)
rawPtr
- zserializowany identyfikator rekordu.Method Detail |
public short getSlotID()
public void setSlotID(short id)
id
- numer slotu.public AbstractBlockID getBlockID()
public void setBlockID(AbstractBlockID block)
block
- identyfikator bloku.public byte[] toByteArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |