THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Planned rules for Object Conversion in Value Maps that should be applied to both API ValueMapDecorator and to JCR ValueMap implementation.
Rules for single values
Rule / Already supported by: | API ValueMapDecorator | jcr.resource ValueMap |
---|---|---|
Any Object -> String (via toString) | X | X |
String or any Number type -> Integer | X | X |
String or any Number type -> Long | X | X |
String or any Number type -> Double | X | X |
String -> Boolean | X | X |
Convert any type of (Long, Byte, Short, Integer Double, Float, Calendar, Date, Boolean, BigDecimal) -> to each of them | X |
Rules for Arrays
- Convert single value to singleton array if array is requested
- Convert array types if conversion is supported for the type of the array elements