Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-05-15 05:42:05 +0000
committerslewis2008-05-15 05:42:05 +0000
commit5a8a3a5bb8d24bd9604c566868daa3cddab82775 (patch)
treefb611faa446e75acab693a988da65d46f1bc3d04
parent911b1247721313e424f4e114e8254a256a23059f (diff)
downloadorg.eclipse.ecf-5a8a3a5bb8d24bd9604c566868daa3cddab82775.tar.gz
org.eclipse.ecf-5a8a3a5bb8d24bd9604c566868daa3cddab82775.tar.xz
org.eclipse.ecf-5a8a3a5bb8d24bd9604c566868daa3cddab82775.zip
Added method to IDStoreAdapter
-rw-r--r--framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/storage/IIDStoreAdapter.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/storage/IIDStoreAdapter.java b/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/storage/IIDStoreAdapter.java
index 8e8433c5e..d7ff20f38 100644
--- a/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/storage/IIDStoreAdapter.java
+++ b/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/storage/IIDStoreAdapter.java
@@ -11,6 +11,8 @@
package org.eclipse.ecf.storage;
+import org.eclipse.ecf.core.identity.IDCreateException;
+
/**
* Adapter for retrieving ID name for storage.
*/
@@ -22,4 +24,11 @@ public interface IIDStoreAdapter {
*/
public String getNameForStorage();
+ /**
+ * Set the name of the ID instace from storage.
+ * @param valueFromStorage the value from {@link #getNameForStorage()}.
+ * @throws IDCreateException throws in valueFromStorage cannot be used to initialize
+ */
+ public void initializeFromStorage(String valueFromStorage) throws IDCreateException;
+
}

Back to the top