eu.larkc.core.data
Class CheatingInMemoryObjectStore

java.lang.Object
  extended by eu.larkc.core.data.CheatingInMemoryObjectStore

public class CheatingInMemoryObjectStore
extends java.lang.Object

Cheating class to pass objects as object references. The data layer should be cleaned up and this class should no longer be used. Objects are never removed, so this is also a memory leak. FIXME: find an alternative and delete this class.

Author:
spyros

Method Summary
 java.lang.Object get(java.lang.String id)
          TODO Describe the purpose of this method.
static CheatingInMemoryObjectStore getInstance()
          Get the instance of the store TODO Describe the purpose of this method.
 java.lang.String storeObject(java.lang.Object object)
          Store an object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

storeObject

public java.lang.String storeObject(java.lang.Object object)
Store an object

Parameters:
object -
Returns:

getInstance

public static CheatingInMemoryObjectStore getInstance()
Get the instance of the store TODO Describe the purpose of this method.

Returns:

get

public java.lang.Object get(java.lang.String id)
TODO Describe the purpose of this method.

Parameters:
stringValue -
Returns: