edu.asu.diging.gilesecosystem.util.store.IDatabaseClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of giles-eco-util Show documentation
Show all versions of giles-eco-util Show documentation
Utility plugin for the Giles Ecoystem that for example provides utility classes
for properties or file management.
The newest version!
package edu.asu.diging.gilesecosystem.util.store;
import java.util.function.Function;
import edu.asu.diging.gilesecosystem.util.exceptions.UnstorableObjectException;
public interface IDatabaseClient {
public abstract String generateId();
public abstract String generateId(String prefix, Function f);
public abstract T store(T element) throws UnstorableObjectException;
public abstract void delete(T element);
public abstract T update(T element);
}