mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/utils/ReflectionsUtil.java
public static Method retrieveGetMethod(final Object containingObject, final String fieldName, 
            final Class<?> fieldType) throws ReflectionsUtilException
    {      
        if (fieldType.equals(Boolean.class) || fieldType.equals(boolean.class))
        {
            try
            {
                return containingObject.getClass().getMethod("is" + WordUtils.capitalize(fieldName), new Class<?>[] {});
            }
            catch (final SecurityException exception)
            {
                throw new ReflectionsUtilException(exception);
            }
            catch (final NoSuchMethodException exception)
            {
                throw new ReflectionsUtilException(exception);
            }
        }
        else
        {
            try
            {
                return containingObject.getClass().getMethod(
                        "get" + WordUtils.capitalize(fieldName), new Class<?>[] {});
            }
            catch (final SecurityException exception)
            {
                throw new ReflectionsUtilException(exception);
            }
            catch (final NoSuchMethodException exception)
            {
                throw new ReflectionsUtilException(exception);
            }
        }
    }
/**
     * Method used to retrieve the getter method for a field within the specified object.
     * 
     * @param containingObject
     *      Object that contains the getter method to be retrieved.
     * @param fieldName
     *      Name of the field within the object the getter method pertains to.
     * @param fieldType
     *      Class type of the field the getter method pertains to. Used to determine if the getter method is for a 
     *      boolean time in which is the "is" prefix is used instead of the standard "get" prefix.
     * @return
     *      The {@link Method} that represents the specified getter method within the object.
     * @throws ReflectionsUtilException
     *      Thrown if an error occurs while using reflections to retrieve the get method. 
     */
Method used to retrieve the getter method for a field within the specified object.

@param containingObject
Object that contains the getter method to be retrieved.
@param fieldName
Name of the field within the object the getter method pertains to.
@param fieldType
Class type of the field the getter method pertains to. Used to determine if the getter method is for a
boolean time in which is the "is" prefix is used instead of the standard "get" prefix.
@return
The  Method that represents the specified getter method within the object.
@throws ReflectionsUtilException
Thrown if an error occurs while using reflections to retrieve the get method.
Method used to retrieve the getter method for a field within the specified object . @param containingObject Object that contains the getter method to be retrieved . @param fieldName Name of the field within the object the getter method pertains to . @param fieldType Class type of the field the getter method pertains to . Used to determine if the getter method is for a boolean time in which is the " is " prefix is used instead of the standard " get " prefix . @return The Method that represents the specified getter method within the object . @throws ReflectionsUtilException Thrown if an error occurs while using reflections to retrieve the get method .
public static Method retrieveGetMethod(final Object containingObject, final String fieldName, 
            final Class<?> fieldType) throws ReflectionsUtilException
    {      
        if (fieldType.equals(Boolean.class) || fieldType.equals(boolean.class))
        {
            try
            {
                return containingObject.getClass().getMethod("is" + WordUtils.capitalize(fieldName), new Class<?>[] {});
            }
            catch (final SecurityException exception)
            {
                throw new ReflectionsUtilException(exception);
            }
            catch (final NoSuchMethodException exception)
            {
                throw new ReflectionsUtilException(exception);
            }
        }
        else
        {
            try
            {
                return containingObject.getClass().getMethod(
                        "get" + WordUtils.capitalize(fieldName), new Class<?>[] {});
            }
            catch (final SecurityException exception)
            {
                throw new ReflectionsUtilException(exception);
            }
            catch (final NoSuchMethodException exception)
            {
                throw new ReflectionsUtilException(exception);
            }
        }
    }
public static Method retrieveGetMethod ( final Object containingObject , final String fieldName , final Class < ? > fieldType ) throws ReflectionsUtilException { if ( fieldType . equals ( Boolean . class ) || fieldType . equals ( boolean . class ) ) { try { return containingObject . getClass ( ) . getMethod ( "is" + WordUtils . capitalize ( fieldName ) , new Class < ? > [ ] { } ) ; } catch ( final SecurityException exception ) { throw new ReflectionsUtilException ( exception ) ; } catch ( final NoSuchMethodException exception ) { throw new ReflectionsUtilException ( exception ) ; } } else { try { return containingObject . getClass ( ) . getMethod ( "get" + WordUtils . capitalize ( fieldName ) , new Class < ? > [ ] { } ) ; } catch ( final SecurityException exception ) { throw new ReflectionsUtilException ( exception ) ; } catch ( final NoSuchMethodException exception ) { throw new ReflectionsUtilException ( exception ) ; } } }
Method used to retrieve the getter method for a field within the specified object.
Method used to retrieve the getter method for a field within the specified object .