org.gudy.azureus2.pluginsimpl.local.ddb
Class DDBaseKeyImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ddb.DDBaseKeyImpl
All Implemented Interfaces:
DistributedDatabaseKey

public class DDBaseKeyImpl
extends java.lang.Object
implements DistributedDatabaseKey

Author:
parg

Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.ddb.DistributedDatabaseKey
FL_ANON, FL_BRIDGED
 
Constructor Summary
protected DDBaseKeyImpl(java.lang.Object _key)
           
protected DDBaseKeyImpl(java.lang.Object _key, java.lang.String _description)
           
 
Method Summary
protected  byte[] getBytes()
           
 java.lang.String getDescription()
           
 int getFlags()
           
 java.lang.Object getKey()
           
 void setFlags(int _flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDBaseKeyImpl

protected DDBaseKeyImpl(java.lang.Object _key)
                 throws DistributedDatabaseException
Throws:
DistributedDatabaseException

DDBaseKeyImpl

protected DDBaseKeyImpl(java.lang.Object _key,
                        java.lang.String _description)
                 throws DistributedDatabaseException
Throws:
DistributedDatabaseException
Method Detail

getKey

public java.lang.Object getKey()
Specified by:
getKey in interface DistributedDatabaseKey

getBytes

protected byte[] getBytes()

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface DistributedDatabaseKey

getFlags

public int getFlags()
Specified by:
getFlags in interface DistributedDatabaseKey
Returns:

setFlags

public void setFlags(int _flags)
Specified by:
setFlags in interface DistributedDatabaseKey