mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/advanced/BundleModel.java
private void calculateState(final int state)
    {
        switch (state)
        {
            case Bundle.INSTALLED:
                m_State = "Installed";
                break;
            case Bundle.RESOLVED:
                m_State = "Resolved";
                break;
            case Bundle.STARTING:
                m_State = "Starting";
                break;
            case Bundle.STOPPING:
                m_State = "Stopping";
                break;
            case Bundle.ACTIVE:
                m_State = "Active";
                break;
            case Bundle.UNINSTALLED:
                m_State = "Uninstalled";
                break;
            default:
                m_State = "State Could Not Be Determined";
                break;
        }
    }
/**
     * Method used to convert the integer value of the bundle state enumeration to a string.
     * 
     * @param state
     *          Enumeration representing the state of the bundle.
     */
Method used to convert the integer value of the bundle state enumeration to a string.

@param state
Enumeration representing the state of the bundle.
Method used to convert the integer value of the bundle state enumeration to a string . @param state Enumeration representing the state of the bundle .
private void calculateState(final int state)
    {
        switch (state)
        {
            case Bundle.INSTALLED:
                m_State = "Installed";
                break;
            case Bundle.RESOLVED:
                m_State = "Resolved";
                break;
            case Bundle.STARTING:
                m_State = "Starting";
                break;
            case Bundle.STOPPING:
                m_State = "Stopping";
                break;
            case Bundle.ACTIVE:
                m_State = "Active";
                break;
            case Bundle.UNINSTALLED:
                m_State = "Uninstalled";
                break;
            default:
                m_State = "State Could Not Be Determined";
                break;
        }
    }
private void calculateState ( final int state ) { switch ( state ) { case Bundle . INSTALLED : m_State = "Installed" ; break ; case Bundle . RESOLVED : m_State = "Resolved" ; break ; case Bundle . STARTING : m_State = "Starting" ; break ; case Bundle . STOPPING : m_State = "Stopping" ; break ; case Bundle . ACTIVE : m_State = "Active" ; break ; case Bundle . UNINSTALLED : m_State = "Uninstalled" ; break ; default : m_State = "State Could Not Be Determined" ; break ; } }
Method used to convert the integer value of the bundle state enumeration to a string.
Method used to convert the integer value of the bundle state enumeration to a string .