Revision: 18177
http://sourceforge.net/p/gate/code/18177
Author: johann_p
Date: 2014-07-11 16:00:30 +0000 (Fri, 11 Jul 2014)
Log Message:
-----------
If I add a file I better check it in too ... d'oh.
Added Paths:
-----------
gate/trunk/src/main/gate/util/persistence/AbstractPersistence.java
Added: gate/trunk/src/main/gate/util/persistence/AbstractPersistence.java
===================================================================
--- gate/trunk/src/main/gate/util/persistence/AbstractPersistence.java
(rev 0)
+++ gate/trunk/src/main/gate/util/persistence/AbstractPersistence.java
2014-07-11 16:00:30 UTC (rev 18177)
@@ -0,0 +1,31 @@
+/*
+ * 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 {
+ /**
+ * 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<String,Map<String,Object>> initParamOverrides;
+}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs