mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/utils/ReflectionsUtil.java
public static Object retrieveInnerObject(final Object containingObject, final String fieldName, 
            final Class<?> fieldType) throws ReflectionsUtilException
    {   
        final Method getMethod = retrieveGetMethod(containingObject, fieldName, fieldType);
        try
        {
            return getMethod.invoke(containingObject, new Object[] {});
        }
        catch (final IllegalArgumentException exception)
        {
            throw new ReflectionsUtilException(exception);
        }
        catch (final IllegalAccessException exception)
        {
            throw new ReflectionsUtilException(exception);
        }
        catch (final InvocationTargetException exception)
        {
            throw new ReflectionsUtilException(exception);
        }
    }
/**
     * Method used to retrieve an inner object from within a reference object.
     * 
     * @param containingObject
     *      The object that contains the inner object to be retrieved.
     * @param fieldName
     *      Name of the field that represents the inner object.
     * @param fieldType
     *      Class that represents the class type of the inner object.
     * @return
     *      Object that is a reference to the inner object retrieved from the containing object.    
     * @throws ReflectionsUtilException
     *      Thrown if an error occurs while using reflections to retrieve the inner object.
     */
Method used to retrieve an inner object from within a reference object.

@param containingObject
The object that contains the inner object to be retrieved.
@param fieldName
Name of the field that represents the inner object.
@param fieldType
Class that represents the class type of the inner object.
@return
Object that is a reference to the inner object retrieved from the containing object.
@throws ReflectionsUtilException
Thrown if an error occurs while using reflections to retrieve the inner object.
Method used to retrieve an inner object from within a reference object . @param containingObject The object that contains the inner object to be retrieved . @param fieldName Name of the field that represents the inner object . @param fieldType Class that represents the class type of the inner object . @return Object that is a reference to the inner object retrieved from the containing object . @throws ReflectionsUtilException Thrown if an error occurs while using reflections to retrieve the inner object .
public static Object retrieveInnerObject(final Object containingObject, final String fieldName, 
            final Class<?> fieldType) throws ReflectionsUtilException
    {   
        final Method getMethod = retrieveGetMethod(containingObject, fieldName, fieldType);
        try
        {
            return getMethod.invoke(containingObject, new Object[] {});
        }
        catch (final IllegalArgumentException exception)
        {
            throw new ReflectionsUtilException(exception);
        }
        catch (final IllegalAccessException exception)
        {
            throw new ReflectionsUtilException(exception);
        }
        catch (final InvocationTargetException exception)
        {
            throw new ReflectionsUtilException(exception);
        }
    }
public static Object retrieveInnerObject ( final Object containingObject , final String fieldName , final Class < ? > fieldType ) throws ReflectionsUtilException { final Method getMethod = retrieveGetMethod ( containingObject , fieldName , fieldType ) ; try { return getMethod . invoke ( containingObject , new Object [ ] { } ) ; } catch ( final IllegalArgumentException exception ) { throw new ReflectionsUtilException ( exception ) ; } catch ( final IllegalAccessException exception ) { throw new ReflectionsUtilException ( exception ) ; } catch ( final InvocationTargetException exception ) { throw new ReflectionsUtilException ( exception ) ; } }
Method used to retrieve an inner object from within a reference object.
Method used to retrieve an inner object from within a reference object .