mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/protoconverter/ConverterUtilities.java
public static boolean isSet(final Object parentJaxbObject, final String protoFieldName) 
            throws ObjectConverterException
    {
        Method isSetMethod;//NOCHECKSTYLE will get assigned in try/catch

        try
        {
            isSetMethod = parentJaxbObject.getClass().getMethod(getIsSetAccessorName(protoFieldName));
        }
        catch (final NoSuchMethodException exception)
        {
            throw new ObjectConverterException(exception);
        }
        
        try
        {
            return (Boolean)isSetMethod.invoke(parentJaxbObject);
        }
        catch (final IllegalAccessException exception)
        {
            throw new ObjectConverterException(exception);
        }
        catch (final InvocationTargetException exception)
        {
            throw new ObjectConverterException(exception);
        }
    }
/**
     * This method checks to see if the specified field in the object is set. If the field is set the the method
     * returns true otherwise it returns false.
     * 
     * @param parentJaxbObject
     *          The object with the field that is being checked.
     * @param protoFieldName
     *          The name of the field within the object that is being checked.
     * @return
     *          True or false depending on whether the specified field is set or not.
     * @throws ObjectConverterException
     *          When the method is unable to determine if the field is set or not.
     */
This method checks to see if the specified field in the object is set. If the field is set the the method
returns true otherwise it returns false.

@param parentJaxbObject
The object with the field that is being checked.
@param protoFieldName
The name of the field within the object that is being checked.
@return
True or false depending on whether the specified field is set or not.
@throws ObjectConverterException
When the method is unable to determine if the field is set or not.
This method checks to see if the specified field in the object is set . If the field is set the the method returns true otherwise it returns false . @param parentJaxbObject The object with the field that is being checked . @param protoFieldName The name of the field within the object that is being checked . @return True or false depending on whether the specified field is set or not . @throws ObjectConverterException When the method is unable to determine if the field is set or not .
public static boolean isSet(final Object parentJaxbObject, final String protoFieldName) 
            throws ObjectConverterException
    {
        Method isSetMethod;
        try
        {
            isSetMethod = parentJaxbObject.getClass().getMethod(getIsSetAccessorName(protoFieldName));
        }
        catch (final NoSuchMethodException exception)
        {
            throw new ObjectConverterException(exception);
        }
        try
        {
            return (Boolean)isSetMethod.invoke(parentJaxbObject);
        }
        catch (final IllegalAccessException exception)
        {
            throw new ObjectConverterException(exception);
        }
        catch (final InvocationTargetException exception)
        {
            throw new ObjectConverterException(exception);
        }
    }
public static boolean isSet ( final Object parentJaxbObject , final String protoFieldName ) throws ObjectConverterException { Method isSetMethod ; try { isSetMethod = parentJaxbObject . getClass ( ) . getMethod ( getIsSetAccessorName ( protoFieldName ) ) ; } catch ( final NoSuchMethodException exception ) { throw new ObjectConverterException ( exception ) ; } try { return ( Boolean ) isSetMethod . invoke ( parentJaxbObject ) ; } catch ( final IllegalAccessException exception ) { throw new ObjectConverterException ( exception ) ; } catch ( final InvocationTargetException exception ) { throw new ObjectConverterException ( exception ) ; } }
This method checks to see if the specified field in the object is set.
This method checks to see if the specified field in the object is set .
//NOCHECKSTYLE will get assigned in try/catch