Package com.eduix.genexp.storage
Class AbstractStorageService
- java.lang.Object
-
- com.eduix.genexp.storage.AbstractStorageService
-
- All Implemented Interfaces:
StorageService
- Direct Known Subclasses:
DatabaseStorageService
public abstract class AbstractStorageService extends Object implements StorageService
An abstract implementation of a storage service- Author:
- Jarkko Leponiemi
-
-
Constructor Summary
Constructors Constructor Description AbstractStorageService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()booleanisApplicable(String type)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.eduix.genexp.storage.StorageService
exists, get, markDeleted, search, store
-
-
-
-
Field Detail
-
name
protected String name
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceStorageService- Returns:
- the name of the storage service
-
isApplicable
public boolean isApplicable(String type)
- Specified by:
isApplicablein interfaceStorageService- Parameters:
type- study element type- Returns:
- true, if storage service is applicable for the given study element type
-
-