org.hypergraphdb.handle
Class DefaultLiveHandle

java.lang.Object
  extended by org.hypergraphdb.handle.DefaultLiveHandle
All Implemented Interfaces:
HGLiveHandle, HGHandle
Direct Known Subclasses:
DefaultManagedLiveHandle

public class DefaultLiveHandle
extends java.lang.Object
implements HGLiveHandle


Constructor Summary
DefaultLiveHandle(java.lang.Object ref, HGPersistentHandle persistentHandle, byte flags)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 byte getFlags()
           
 HGPersistentHandle getPersistentHandle()
           
 java.lang.Object getRef()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLiveHandle

public DefaultLiveHandle(java.lang.Object ref,
                         HGPersistentHandle persistentHandle,
                         byte flags)
Method Detail

getFlags

public final byte getFlags()
Specified by:
getFlags in interface HGLiveHandle

getRef

public final java.lang.Object getRef()
Specified by:
getRef in interface HGLiveHandle

getPersistentHandle

public final HGPersistentHandle getPersistentHandle()
Specified by:
getPersistentHandle in interface HGLiveHandle

equals

public final boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object