Package org.mojavemvc.core.SignatureParameters

Examples of org.mojavemvc.core.SignatureParameters.Parameter


            Object value = mapRow[1];
            if (key instanceof String && value instanceof Class<?>) {

                Object paramValue = parametersMap.get((String) key);
               
                Parameter param = SignatureParameters.getParameterFromType((Class<?>) value);
                param.populateArgs(args, paramValue);

            } else if (key instanceof Class && value instanceof List) {

                populateArgsForForms((Class<?>) key, parametersMap, (List<PropertyDescriptor>) value, args);
               
View Full Code Here


                Method setter = propertyDescriptor.getWriteMethod();
                /* there should be only one parameter type */
                Class<?> setterParamType = setter.getParameterTypes()[0];
                List<Object> setterArgs = new ArrayList<Object>();
               
                Parameter param = SignatureParameters.getParameterFromType(setterParamType);
                param.populateArgs(setterArgs, val);

                setter.invoke(formBean, setterArgs.toArray());
            }

            if (formBean instanceof Submittable) {
View Full Code Here

TOP

Related Classes of org.mojavemvc.core.SignatureParameters.Parameter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.