* @return A representation of the datastore property value that can be set
* on the pojo.
*/
Object datastoreValueToPojoValue(
ClassLoaderResolver clr, Object value, StateManager ownerSM, AbstractMemberMetaData ammd) {
ContainerMetaData cmd = ammd.getContainer();
if (pojoPropertyIsArray(ammd)) {
value = datastoreValueToPojoArray(value, ammd);
} else if (pojoPropertyIsCollection(cmd)) {
value = datastoreValueToPojoCollection(clr, value, ownerSM, ammd, cmd);
} else { // neither array nor collection