diff options
author | Ibrahim Sallam | 2010-05-16 06:20:12 +0000 |
---|---|---|
committer | Ibrahim Sallam | 2010-05-16 06:20:12 +0000 |
commit | 06ae318a596109c4e4ae372bc50dd22e516999e7 (patch) | |
tree | 028cb07c5e1a031f3e357404a9ffb7c8557c34e5 /plugins | |
parent | 9442764824884ece1b2e84a4fd53ddce6bb18070 (diff) | |
download | cdo-06ae318a596109c4e4ae372bc50dd22e516999e7.tar.gz cdo-06ae318a596109c4e4ae372bc50dd22e516999e7.tar.xz cdo-06ae318a596109c4e4ae372bc50dd22e516999e7.zip |
Added nameObj() that accepts ooObj type of objects, other calls of nameObj() delegate to this one.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyScope.java | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyScope.java b/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyScope.java index 6088fe226f..d67c33a93c 100644 --- a/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyScope.java +++ b/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/db/ObjyScope.java @@ -186,11 +186,16 @@ public class ObjyScope public void nameObj(String objName, ooId oid) { ooObj object = ooObj.create_ooObj(oid); + nameObj(objName, object); + } - if (!object.isPersistent()) - { - getContainerObj().cluster(object); - } - getContainerObj().nameObj(object, objName); + public void nameObj(String objName, ooObj obj) + { + // if (!obj.isPersistent()) + // { + // getContainerObj().cluster(obj); + // } + getContainerObj().nameObj(obj, objName); } + } |