mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/comms/CommsLayerTypesMgrImpl.java
private void addCapabilities(final int systemId, final BaseCapabilities caps, final String commsFQCN)
    {
        Map<String, Object> capabilities = new HashMap<String, Object>();
        
        synchronized (m_Capabilities)
        {
            if (m_Capabilities.containsKey(systemId))
            {
                capabilities = m_Capabilities.get(systemId);
            }
            else 
            {
                m_Capabilities.put(systemId, capabilities);
            }   
        }        
        capabilities.put(commsFQCN, caps);
    }
/**
     * Function to add a new capabilities object to the set of known capabilties objects.
     * @param systemId
     *  the id of the system that the capabilties object pertains to
     * @param caps
     *  the capabilties object that is to be added
     * @param commsFQCN
     *  the fully qualified class name that the to be saved capabilties object refers to
     */
Function to add a new capabilities object to the set of known capabilties objects.
@param systemId
the id of the system that the capabilties object pertains to
@param caps
the capabilties object that is to be added
@param commsFQCN
the fully qualified class name that the to be saved capabilties object refers to
Function to add a new capabilities object to the set of known capabilties objects . @param systemId the id of the system that the capabilties object pertains to @param caps the capabilties object that is to be added @param commsFQCN the fully qualified class name that the to be saved capabilties object refers to
private void addCapabilities(final int systemId, final BaseCapabilities caps, final String commsFQCN)
    {
        Map<String, Object> capabilities = new HashMap<String, Object>();
        synchronized (m_Capabilities)
        {
            if (m_Capabilities.containsKey(systemId))
            {
                capabilities = m_Capabilities.get(systemId);
            }
            else 
            {
                m_Capabilities.put(systemId, capabilities);
            }   
        }        
        capabilities.put(commsFQCN, caps);
    }
private void addCapabilities ( final int systemId , final BaseCapabilities caps , final String commsFQCN ) { Map < String , Object > capabilities = new HashMap < String , Object > ( ) ; synchronized ( m_Capabilities ) { if ( m_Capabilities . containsKey ( systemId ) ) { capabilities = m_Capabilities . get ( systemId ) ; } else { m_Capabilities . put ( systemId , capabilities ) ; } } capabilities . put ( commsFQCN , caps ) ; }
Function to add a new capabilities object to the set of known capabilties objects.
Function to add a new capabilities object to the set of known capabilties objects .