org.neodatis.odb.core.lookup
Class LookupImpl

java.lang.Object
  extended by org.neodatis.odb.core.lookup.LookupImpl
All Implemented Interfaces:
ILookup

public class LookupImpl
extends java.lang.Object
implements ILookup

A simple class to enable direct object lookup by object id

Author:
olivier

Constructor Summary
LookupImpl()
           
 
Method Summary
 java.lang.Object get(java.lang.String objectId)
           
 void set(java.lang.String objectId, java.lang.Object object)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupImpl

public LookupImpl()
Method Detail

get

public java.lang.Object get(java.lang.String objectId)
Specified by:
get in interface ILookup

set

public void set(java.lang.String objectId,
                java.lang.Object object)
Specified by:
set in interface ILookup

size

public int size()
Specified by:
size in interface ILookup