From ad7ac20484dd216eb7e58c803b465eef68297884 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Thu, 27 Mar 2008 14:20:11 +0000 Subject: Hide property map. --- src/main/java/com/amazon/carbonado/gen/StorableGenerator.java | 3 ++- src/main/java/com/amazon/carbonado/gen/StorablePropertyMap.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/amazon/carbonado') diff --git a/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java b/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java index cb60349..9d3b4b4 100644 --- a/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java +++ b/src/main/java/com/amazon/carbonado/gen/StorableGenerator.java @@ -1629,7 +1629,8 @@ public final class StorableGenerator { // Define reflection-like methods for manipulating properties by name. addGetPropertyValueMethod(); addSetPropertyValueMethod(); - addPropertyMapMethod(); + // Keep hidden until it is decided that this feature is useful. + //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 cbf0d0b..e17dd01 100644 --- a/src/main/java/com/amazon/carbonado/gen/StorablePropertyMap.java +++ b/src/main/java/com/amazon/carbonado/gen/StorablePropertyMap.java @@ -41,7 +41,8 @@ import com.amazon.carbonado.info.StorableProperty; * * @author Brian S O'Neill */ -public class StorablePropertyMap extends AbstractMap { +// Keep hidden until it is decided that this feature is useful. +class StorablePropertyMap extends AbstractMap { private static final Map> cPropertyNamesForType = new SoftValuedHashMap(); -- cgit v1.2.3