From 5a6f044c4063a84d5d2cce56c3cff2aecb2feb68 Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 25 Sep 2002 17:32:27 +0000 Subject: [PATCH] Added getProperties() method to let others access the properties underlying this database mapping. --- src/helma/objectmodel/db/DbMapping.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/helma/objectmodel/db/DbMapping.java b/src/helma/objectmodel/db/DbMapping.java index 873b8679..0685f06d 100644 --- a/src/helma/objectmodel/db/DbMapping.java +++ b/src/helma/objectmodel/db/DbMapping.java @@ -18,7 +18,7 @@ import com.workingdogs.village.*; * relational database table. Basically it consists of a set of JavaScript property-to- * Database row bindings which are represented by instances of the Relation class. */ - + public final class DbMapping implements Updatable { // DbMappings belong to an application @@ -684,6 +684,10 @@ public final class DbMapping implements Updatable { public DbMapping getParentMapping () { return parentMapping; } + + public SystemProperties getProperties () { + return props; + } }