Code example for Field

Methods: getGenericType

0
                sobj = wrapper;
            } 
            //TODO XXX this is hot fix for compatibility it MUST BE FIXED 
            UMOArray list = mFactory.createProvider(UMOArray.class, valueName);
            sobj.putArray(valueName, list);
            Class<?> genericClass = (Class<?>) ((ParameterizedType) field.getGenericType()).getActualTypeArguments()[0];
            for (int i = 0, d = ourList.size(); i < d; i++) {
                listItem = ourList.get(i);
 
                Object adaptItemValue = mJavaAdaptersManager.adaptMarshal(listItem, pack, genericClass, ownerClass);
 
                umoListItem = processObject(adaptItemValue, valueName, ownerClass);
                list.put(valueName, umoListItem);
            } 
//            } 
 
        } else if (objClass.isArray()) {
            //TODO Need to implement 
        } else { 
            Object adaptValue = mJavaAdaptersManager.adaptMarshal(obj, pack, objClass, ownerClass);