mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/api/EnumConverter.java
public static BaseMessages.OperationMode convertJavaOperationModeToProto(final OperationMode operationMode)
    {
        if (OPERATION_MODE.containsKey(operationMode))
        {
            return OPERATION_MODE.get(operationMode);
        }
        throw new IllegalArgumentException(String.format("Invalid java operation mode specified: %s", 
                operationMode));
    }
/**
     * Method used to convert java based {@link OperationMode} to 
     * {@link mil.dod.th.core.remote.proto.BaseMessages.OperationMode}.
     * 
     * @param operationMode
     *      The java enumeration to be converted.
     * @return
     *      The proto equivalent enumeration.
     */


@param operationMode
The java enumeration to be converted.
@return
The proto equivalent enumeration.
@param operationMode The java enumeration to be converted . @return The proto equivalent enumeration .
public static BaseMessages.OperationMode convertJavaOperationModeToProto(final OperationMode operationMode)
    {
        if (OPERATION_MODE.containsKey(operationMode))
        {
            return OPERATION_MODE.get(operationMode);
        }
        throw new IllegalArgumentException(String.format("Invalid java operation mode specified: %s", 
                operationMode));
    }
public static BaseMessages . OperationMode convertJavaOperationModeToProto ( final OperationMode operationMode ) { if ( OPERATION_MODE . containsKey ( operationMode ) ) { return OPERATION_MODE . get ( operationMode ) ; } throw new IllegalArgumentException ( String . format ( "Invalid java operation mode specified: %s" , operationMode ) ) ; }
Method used to convert java based {@link OperationMode} to
 {@link mil.dod.th.core.remote.proto.BaseMessages.OperationMode}.
Method used to convert java based { @link OperationMode } to { @link mil . dod . th . core . remote . proto . BaseMessages . OperationMode } .