gr.uoa.di.madgik.rr.access
Class InMemoryStore

java.lang.Object
  extended by gr.uoa.di.madgik.rr.access.InMemoryStore

public class InMemoryStore
extends Object


Method Summary
static void clear()
           
static boolean containsItemType(String type)
           
static IRRElement getItem(Class<?> type, String id)
           
static Set<IRRElement> getItems(Class<?> type)
           
static boolean hasItem(Class<?> type, String id)
           
static void removeItem(Class<?> type, String id)
           
static void setItem(Class<?> type, IRRElement item)
           
static void setItems(Class<?> type, Set<? extends IRRElement> items)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setItems

public static void setItems(Class<?> type,
                            Set<? extends IRRElement> items)
                     throws ResourceRegistryException
Throws:
ResourceRegistryException

setItem

public static void setItem(Class<?> type,
                           IRRElement item)
                    throws ResourceRegistryException
Throws:
ResourceRegistryException

removeItem

public static void removeItem(Class<?> type,
                              String id)

getItems

public static Set<IRRElement> getItems(Class<?> type)

getItem

public static IRRElement getItem(Class<?> type,
                                 String id)

hasItem

public static boolean hasItem(Class<?> type,
                              String id)

clear

public static void clear()

containsItemType

public static boolean containsItemType(String type)


Copyright © 2012. All Rights Reserved.