org.vertexium.sql.collections.Storable Maven / Gradle / Ivy
The newest version!
package org.vertexium.sql.collections;
import java.util.Map;
/**
* This represents an object that can store itself to a persistent container.
*/
public interface Storable {
/**
* Set the Map which represents this object's persistent container, as well as an optional context.
*/
void setContainer(Map map, U context);
/**
* Store the state of this object to its container.
*/
void store();
}