org.fuchss.objectcasket.tablemodule.ModulePort Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of object-casket Show documentation
Show all versions of object-casket Show documentation
Object Casket is a simple O/R mapper that can be used together with the Java Persistence API (JPA). The aim is to provide a simple solution for small projects to store multi-related
entities in a simple manner.
package org.fuchss.objectcasket.tablemodule;
import org.fuchss.objectcasket.tablemodule.port.TableModuleFactory;
/**
* The access point to interact with abstract representations of databases.
* Through the static {@link ModulePort#PORT} object one obtains the
* {@link TableModuleFactory} to create, modify, and access the tables inside a
* database.
*/
public interface ModulePort {
/**
* Via this port one can access the table module component.
*/
ModulePort PORT = new TabModImpl();
/**
* This operation returns the {@link TableModuleFactory} the main object to
* create an abstraction of a database.
*
* @return The factory
*/
TableModuleFactory tableModuleFactory();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy