mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/protoconverter/MessageConverter.java
private static void handleStandardField(final Object jaxbObject, final Message protoMsg, 
            final FieldDescriptor fieldDesc) throws ObjectConverterException
    {
        if  (!protoMsg.hasField(fieldDesc))
        {
            return;
        }
        final String protoFieldName = fieldDesc.getName();
        final Object protoFieldValue = protoMsg.getField(fieldDesc);
        if ("_base".equals(protoFieldName))
        {
            handleExtendedMsgField(jaxbObject, protoMsg, fieldDesc);
            return;
        }
        final Object jaxbValue = getJaxbValueForProtoField(fieldDesc.getType(), protoFieldValue);
        ConverterUtilities.setNonRepeatedValue(jaxbObject, jaxbValue, protoFieldName, fieldDesc.getType());
    }
/**
     * This method is responsible for handling any field not of the repeated type in a Google Protocol message being
     * converted to an object.
     *  
     * @param jaxbObject
     *          The JAXB object being created by the converter.
     * @param protoMsg
     *          The {@link Message} being converted to an object.
     * @param fieldDesc
     *          The {@link FieldDescriptor} of the repeated field being converted.
     * @throws ObjectConverterException
     *          When the messages field cannot be converted to an object.
     */
This method is responsible for handling any field not of the repeated type in a Google Protocol message being
converted to an object.

@param jaxbObject
The JAXB object being created by the converter.
@param protoMsg
The  Message being converted to an object.
@param fieldDesc
The  FieldDescriptor of the repeated field being converted.
@throws ObjectConverterException
When the messages field cannot be converted to an object.
This method is responsible for handling any field not of the repeated type in a Google Protocol message being converted to an object . @param jaxbObject The JAXB object being created by the converter . @param protoMsg The Message being converted to an object . @param fieldDesc The FieldDescriptor of the repeated field being converted . @throws ObjectConverterException When the messages field cannot be converted to an object .
private static void handleStandardField(final Object jaxbObject, final Message protoMsg, 
            final FieldDescriptor fieldDesc) throws ObjectConverterException
    {
        if  (!protoMsg.hasField(fieldDesc))
        {
            return;
        }
        final String protoFieldName = fieldDesc.getName();
        final Object protoFieldValue = protoMsg.getField(fieldDesc);
        if ("_base".equals(protoFieldName))
        {
            handleExtendedMsgField(jaxbObject, protoMsg, fieldDesc);
            return;
        }
        final Object jaxbValue = getJaxbValueForProtoField(fieldDesc.getType(), protoFieldValue);
        ConverterUtilities.setNonRepeatedValue(jaxbObject, jaxbValue, protoFieldName, fieldDesc.getType());
    }
private static void handleStandardField ( final Object jaxbObject , final Message protoMsg , final FieldDescriptor fieldDesc ) throws ObjectConverterException { if ( ! protoMsg . hasField ( fieldDesc ) ) { return ; } final String protoFieldName = fieldDesc . getName ( ) ; final Object protoFieldValue = protoMsg . getField ( fieldDesc ) ; if ( "_base" . equals ( protoFieldName ) ) { handleExtendedMsgField ( jaxbObject , protoMsg , fieldDesc ) ; return ; } final Object jaxbValue = getJaxbValueForProtoField ( fieldDesc . getType ( ) , protoFieldValue ) ; ConverterUtilities . setNonRepeatedValue ( jaxbObject , jaxbValue , protoFieldName , fieldDesc . getType ( ) ) ; }
This method is responsible for handling any field not of the repeated type in a Google Protocol message being
 converted to an object.
This method is responsible for handling any field not of the repeated type in a Google Protocol message being converted to an object .