org.databene.benerator.storage
Class AbstractStorageSystem
java.lang.Object
org.databene.benerator.storage.AbstractStorageSystem
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, StorageSystem, DescriptorProvider
- Direct Known Subclasses:
- DBSystem, MemStore
public abstract class AbstractStorageSystem
- extends java.lang.Object
- implements StorageSystem
Abstract implementation of the StorageSystem interface.
When writing a custom implementation of SystemStorage interface,
inherit from this class for assuring future compatibility.
If the interface would change in future versions, the future
version of this class will try to compensate.
Created: 27.01.2008 07:25:39
- Since:
- 0.4.0
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataModel
protected DataModel dataModel
AbstractStorageSystem
public AbstractStorageSystem()
getDataModel
public DataModel getDataModel()
- Specified by:
getDataModel
in interface DescriptorProvider
setDataModel
public void setDataModel(DataModel dataModel)
- Specified by:
setDataModel
in interface DescriptorProvider
execute
public java.lang.Object execute(java.lang.String command)
- Description copied from interface:
StorageSystem
- Executes a command on the storage system
- Specified by:
execute
in interface StorageSystem
updater
public Consumer updater()
Copyright © 2013. All Rights Reserved.