mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/protoconverter/MessageConverter.java
private static void handleExtendedMsgField(final Object jaxbObject, final Message protoMsg, 
            final FieldDescriptor fieldDesc) throws ObjectConverterException
    {
        //want to apply fields to the jaxb object parent
        final Message protoFieldValue = (Message)protoMsg.getField(fieldDesc);
        for (FieldDescriptor field : protoFieldValue.getDescriptorForType().getFields())
        {
            if (field.isRepeated())
            {
                handleRepeatedField(jaxbObject, protoFieldValue, field); 
            }
            else
            { 
                handleStandardField(jaxbObject, protoFieldValue, field);
            }
        }
    }
/**
     * Handles fields that are from an extended jaxb type going into the passed parent jaxb object. 
     * @param jaxbObject
     *      the object where the fields should be placed
     * @param protoMsg
     *      the proto msg containing the field
     * @param fieldDesc
     *      the field descriptor of the field to process
     * @throws ObjectConverterException
     *       if the child fields are not able to be set
     */
Handles fields that are from an extended jaxb type going into the passed parent jaxb object.
@param jaxbObject
the object where the fields should be placed
@param protoMsg
the proto msg containing the field
@param fieldDesc
the field descriptor of the field to process
@throws ObjectConverterException
if the child fields are not able to be set
Handles fields that are from an extended jaxb type going into the passed parent jaxb object . @param jaxbObject the object where the fields should be placed @param protoMsg the proto msg containing the field @param fieldDesc the field descriptor of the field to process @throws ObjectConverterException if the child fields are not able to be set
private static void handleExtendedMsgField(final Object jaxbObject, final Message protoMsg, 
            final FieldDescriptor fieldDesc) throws ObjectConverterException
    {
        final Message protoFieldValue = (Message)protoMsg.getField(fieldDesc);
        for (FieldDescriptor field : protoFieldValue.getDescriptorForType().getFields())
        {
            if (field.isRepeated())
            {
                handleRepeatedField(jaxbObject, protoFieldValue, field); 
            }
            else
            { 
                handleStandardField(jaxbObject, protoFieldValue, field);
            }
        }
    }
private static void handleExtendedMsgField ( final Object jaxbObject , final Message protoMsg , final FieldDescriptor fieldDesc ) throws ObjectConverterException { final Message protoFieldValue = ( Message ) protoMsg . getField ( fieldDesc ) ; for ( FieldDescriptor field : protoFieldValue . getDescriptorForType ( ) . getFields ( ) ) { if ( field . isRepeated ( ) ) { handleRepeatedField ( jaxbObject , protoFieldValue , field ) ; } else { handleStandardField ( jaxbObject , protoFieldValue , field ) ; } } }
Handles fields that are from an extended jaxb type going into the passed parent jaxb object.
Handles fields that are from an extended jaxb type going into the passed parent jaxb object .
//want to apply fields to the jaxb object parent