summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/gen
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/amazon/carbonado/gen')
-rw-r--r--src/main/java/com/amazon/carbonado/gen/StorableGenerator.java3
-rw-r--r--src/main/java/com/amazon/carbonado/gen/StorablePropertyMap.java3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java b/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java
index 9d3b4b4..cb60349 100644
--- a/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java
+++ b/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java
@@ -1629,8 +1629,7 @@ public final class StorableGenerator<S extends Storable> {
// Define reflection-like methods for manipulating properties by name.
addGetPropertyValueMethod();
addSetPropertyValueMethod();
- // Keep hidden until it is decided that this feature is useful.
- //addPropertyMapMethod();
+ addPropertyMapMethod();
// Define serialization methods.
addWriteToMethod();
diff --git a/src/main/java/com/amazon/carbonado/gen/StorablePropertyMap.java b/src/main/java/com/amazon/carbonado/gen/StorablePropertyMap.java
index e17dd01..cbf0d0b 100644
--- a/src/main/java/com/amazon/carbonado/gen/StorablePropertyMap.java
+++ b/src/main/java/com/amazon/carbonado/gen/StorablePropertyMap.java
@@ -41,8 +41,7 @@ import com.amazon.carbonado.info.StorableProperty;
*
* @author Brian S O'Neill
*/
-// Keep hidden until it is decided that this feature is useful.
-class StorablePropertyMap<S extends Storable> extends AbstractMap<String, Object> {
+public class StorablePropertyMap<S extends Storable> extends AbstractMap<String, Object> {
private static final Map<Class, Set<String>> cPropertyNamesForType =
new SoftValuedHashMap();