pl.edu.pjwstk.yaod.store.defaultstore.transientstore
Class TransientAtomID

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.store.defaultstore.transientstore.TransientRecordID
        |
        +--pl.edu.pjwstk.yaod.store.defaultstore.transientstore.TransientAtomID
All Implemented Interfaces:
AtomID, ObjectID, java.io.Serializable

public class TransientAtomID
extends TransientRecordID
implements AtomID, java.io.Serializable

Author:
M. Lentner, raist@ertel.com.pl
See Also:
Serialized Form

Constructor Summary
TransientAtomID(short store, short block, short slot)
           
 
Method Summary
 boolean equals(java.lang.Object par)
          Sprawdza czy dwa identyfikatory dotycza tego samego obiektu.
 short getStoreID()
          Zwraca identyfikator skladu (czesc oid)
 int hashCode()
          Zwraca klucz haszowania, potrzebny do wyszukania atomu o podanym identyfikatorze w buforze obiektow.
 java.lang.String toString()
          Zwraca oid w czytelnej postaci, np. do wypisania na ekranie.
 
Methods inherited from class pl.edu.pjwstk.yaod.store.defaultstore.transientstore.TransientRecordID
getBlockID, getSlotID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransientAtomID

public TransientAtomID(short store,
                       short block,
                       short slot)
Method Detail

getStoreID

public short getStoreID()
Description copied from interface: ObjectID
Zwraca identyfikator skladu (czesc oid)
Specified by:
getStoreID in interface ObjectID
Following copied from interface: pl.edu.pjwstk.yaod.objects.ObjectID
Returns:
identyfikator skladu.

hashCode

public int hashCode()
Description copied from interface: AtomID
Zwraca klucz haszowania, potrzebny do wyszukania atomu o podanym identyfikatorze w buforze obiektow.
Specified by:
hashCode in interface AtomID
Overrides:
hashCode in class java.lang.Object
Following copied from interface: pl.edu.pjwstk.yaod.atoms.AtomID
Returns:
wartosc klucza.

equals

public boolean equals(java.lang.Object par)
Description copied from interface: ObjectID
Sprawdza czy dwa identyfikatory dotycza tego samego obiektu.
Specified by:
equals in interface ObjectID
Overrides:
equals in class java.lang.Object
Following copied from interface: pl.edu.pjwstk.yaod.objects.ObjectID
Returns:
 

toString

public java.lang.String toString()
Description copied from interface: ObjectID
Zwraca oid w czytelnej postaci, np. do wypisania na ekranie.
Specified by:
toString in interface ObjectID
Overrides:
toString in class java.lang.Object
Following copied from interface: pl.edu.pjwstk.yaod.objects.ObjectID
Returns:
string zawierajacy oid.