gate.util.persistence.AbstractPersistence Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gate-core Show documentation
Show all versions of gate-core Show documentation
GATE - general achitecture for text engineering - is open source
software capable of solving almost any text processing problem. This
artifact enables you to embed the core GATE Embedded with its essential
dependencies. You will able to use the GATE Embedded API and load and
store GATE XML documents. This artifact is the perfect dependency for
CREOLE plugins or for applications that need to customize the GATE
dependencies due to confict with their own dependencies or for lower
footprint.
The newest version!
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package gate.util.persistence;
import java.util.Map;
/**
*
* @author johann
*/
public abstract class AbstractPersistence implements Persistence {
private static final long serialVersionUID = -682494755574835875L;
/**
* The name of the controller, if any, that contains this persistence.
* For example the PR persistence will contain the name of the controller
* which (indirectly via the collection persistence) contains the PR.
*/
protected String containingControllerName;
/**
* A map that contains init parameter overrides for controllerName+resourecName
* keys. The key of this map is of the form
* containingControllerName+"\t"+resourceName and the value is a map that
* associates the parameter name with a parameter value. By default this field
* is null and no init parameters will ever get overriden. However a resource
* (for example a controller) can set this field and fill the map and
* subsequent resources will have their init parameters overriden based
* on the content of this map before they get created.
*/
protected Map> initParamOverrides;
}