summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-03-27 14:20:11 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-03-27 14:20:11 +0000
commitad7ac20484dd216eb7e58c803b465eef68297884 (patch)
tree35a978d53fb2d6bb3abb6bf60c0ee9052513af6f /src
parentd8451a8ee4a08fc8e8db6c5806620a600128c816 (diff)
Hide property map.
Diffstat (limited to 'src')
-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, 4 insertions, 2 deletions
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<S extends Storable> {
// 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<S extends Storable> extends AbstractMap<String, Object> {
+// Keep hidden until it is decided that this feature is useful.
+class StorablePropertyMap<S extends Storable> extends AbstractMap<String, Object> {
private static final Map<Class, Set<String>> cPropertyNamesForType =
new SoftValuedHashMap();