summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/access/EODatabaseChannel.java
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-05-20 17:58:16 -0400
committerBenjamin Culkin <scorpress@gmail.com>2024-05-20 17:58:16 -0400
commit40a9d99496e098562f090fb7ffce9e749011b131 (patch)
tree437df24d65470582e943e494a52db8ed65a881ae /projects/net.wotonomy.persistence/src/main/java/net/wotonomy/access/EODatabaseChannel.java
parentff072dfe782f6f22123cd4ba050828d35c0d0fbd (diff)
Formatting pass
Diffstat (limited to 'projects/net.wotonomy.persistence/src/main/java/net/wotonomy/access/EODatabaseChannel.java')
-rw-r--r--projects/net.wotonomy.persistence/src/main/java/net/wotonomy/access/EODatabaseChannel.java37
1 files changed, 19 insertions, 18 deletions
diff --git a/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/access/EODatabaseChannel.java b/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/access/EODatabaseChannel.java
index 10424e9..72427ef 100644
--- a/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/access/EODatabaseChannel.java
+++ b/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/access/EODatabaseChannel.java
@@ -27,11 +27,11 @@ import net.wotonomy.foundation.NSDictionary;
import net.wotonomy.foundation.NSMutableArray;
/**
-*
-* @author ezamudio@nasoft.com
-* @author $Author: cgruber $
-* @version $Revision: 894 $
-*/
+ *
+ * @author ezamudio@nasoft.com
+ * @author $Author: cgruber $
+ * @version $Revision: 894 $
+ */
public class EODatabaseChannel {
protected EODatabaseContext _context;
@@ -65,14 +65,15 @@ public class EODatabaseChannel {
EOGlobalID gid = _currEntity.globalIDForRow(r);
Object eo = _currEC.objectForGlobalID(gid);
if (eo == null) {
- eo = EOClassDescription.classDescriptionForEntityName(_currEntity.name()).createInstanceWithEditingContext(_currEC, gid);
+ eo = EOClassDescription.classDescriptionForEntityName(_currEntity.name())
+ .createInstanceWithEditingContext(_currEC, gid);
if (eo instanceof EOKeyValueCodingAdditions)
- ((EOKeyValueCodingAdditions)eo).takeValuesFromDictionary(r);
+ ((EOKeyValueCodingAdditions) eo).takeValuesFromDictionary(r);
else
EOKeyValueCodingAdditions.DefaultImplementation.takeValuesFromDictionary(eo, r);
} else {
if (isRefreshingObjects()) {
- //TODO: refresh object (how?)
+ // TODO: refresh object (how?)
}
}
return eo;
@@ -120,19 +121,19 @@ public class EODatabaseChannel {
}
/*
- * $Log$
- * Revision 1.2 2006/02/16 16:47:14 cgruber
- * Move some classes in to "internal" packages and re-work imports, etc.
+ * $Log$ Revision 1.2 2006/02/16 16:47:14 cgruber Move some classes in to
+ * "internal" packages and re-work imports, etc.
*
- * Also use UnsupportedOperationExceptions where appropriate, instead of WotonomyExceptions.
+ * Also use UnsupportedOperationExceptions where appropriate, instead of
+ * WotonomyExceptions.
*
- * Revision 1.1 2006/02/16 13:19:57 cgruber
- * Check in all sources in eclipse-friendly maven-enabled packages.
+ * Revision 1.1 2006/02/16 13:19:57 cgruber Check in all sources in
+ * eclipse-friendly maven-enabled packages.
*
- * Revision 1.2 2003/08/29 21:15:46 chochos
- * use EOEntity's globalIDForRow method.
+ * Revision 1.2 2003/08/29 21:15:46 chochos use EOEntity's globalIDForRow
+ * method.
*
- * Revision 1.1 2003/08/19 01:54:43 chochos
- * The EODatabase layer still needs a lot of work, but it's on its way...
+ * Revision 1.1 2003/08/19 01:54:43 chochos The EODatabase layer still needs a
+ * lot of work, but it's on its way...
*
*/ \ No newline at end of file