diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado')
-rw-r--r-- | src/main/java/com/amazon/carbonado/gen/StorableGenerator.java | 3 | ||||
-rw-r--r-- | src/main/java/com/amazon/carbonado/gen/StorablePropertyMap.java | 3 |
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();
|