pl.edu.pjwstk.yaod.store.javastore
Class JavaAtomID

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.store.javastore.JavaAtomID
All Implemented Interfaces:
AtomID, ObjectID

public class JavaAtomID
extends java.lang.Object
implements AtomID


Constructor Summary
JavaAtomID(int id)
           
 
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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaAtomID

public JavaAtomID(int id)
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.