mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/protoconverter/JaxbConverter.java
private static Message handleMultitype(final Object value) throws ObjectConverterException 
    {
        Multitype convertedMultitype = null;
        if (SharedMessageUtils.isValueConvertableToMultitype(value))
        {
            convertedMultitype = SharedMessageUtils.convertObjectToMultitype(value);
        }
        else 
        {
            throw new ObjectConverterException("The value: " + value + " is not able to be converted to multitype!");
        }
        return convertedMultitype;
    }
/**
     * This method handles converting a field in a JAXB class to a {@link Multitype} message.
     * 
     * @param value
     *          The value to be set for the multitype.
     * @return
     *          The multitpye message created from the provided value.        
     * @throws ObjectConverterException
     *          Thrown if the value is not able to be converted to a multitype.
     */
This method handles converting a field in a JAXB class to a  Multitype message.

@param value
The value to be set for the multitype.
@return
The multitpye message created from the provided value.
@throws ObjectConverterException
Thrown if the value is not able to be converted to a multitype.
This method handles converting a field in a JAXB class to a Multitype message . @param value The value to be set for the multitype . @return The multitpye message created from the provided value . @throws ObjectConverterException Thrown if the value is not able to be converted to a multitype .
private static Message handleMultitype(final Object value) throws ObjectConverterException 
    {
        Multitype convertedMultitype = null;
        if (SharedMessageUtils.isValueConvertableToMultitype(value))
        {
            convertedMultitype = SharedMessageUtils.convertObjectToMultitype(value);
        }
        else 
        {
            throw new ObjectConverterException("The value: " + value + " is not able to be converted to multitype!");
        }
        return convertedMultitype;
    }
private static Message handleMultitype ( final Object value ) throws ObjectConverterException { Multitype convertedMultitype = null ; if ( SharedMessageUtils . isValueConvertableToMultitype ( value ) ) { convertedMultitype = SharedMessageUtils . convertObjectToMultitype ( value ) ; } else { throw new ObjectConverterException ( "The value: " + value + " is not able to be converted to multitype!" ) ; } return convertedMultitype ; }
This method handles converting a field in a JAXB class to a {@link Multitype} message.
This method handles converting a field in a JAXB class to a { @link Multitype } message .