mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/asset/AssetTypesMgrImpl.java
private synchronized void eventGetAssetCapabilitiesResponseData(final GetCapabilitiesResponseData data, 
            final int systemId)
    {
        //get Capabilities
        try
        {
            final AssetCapabilities caps = (AssetCapabilities)m_Converter.convertToJaxb(data.getCapabilities());
            final String assetClassName = data.getProductType();
        
            final AssetFactoryModel model = findAssetFactoryModel(systemId, assetClassName);
            
            if (model != null)
            {
                model.setFactoryCaps(caps);
            }
        }
        catch (final ObjectConverterException exception)
        {
            Logging.log(LogService.LOG_ERROR, exception, 
                    "An error occurred trying to parse an asset capabilities object" 
                    + " of class type %s for system id 0x%08x ", data.getProductType(), systemId);
        }
    }
/**
     * Event response handling for the get asset capabilities request.
     * @param data
     *  the message that contains the response information
     * @param systemId
     *  the system id from which the response message originated
     */
Event response handling for the get asset capabilities request.
@param data
the message that contains the response information
@param systemId
the system id from which the response message originated
Event response handling for the get asset capabilities request . @param data the message that contains the response information @param systemId the system id from which the response message originated
private synchronized void eventGetAssetCapabilitiesResponseData(final GetCapabilitiesResponseData data, 
            final int systemId)
    {
        try
        {
            final AssetCapabilities caps = (AssetCapabilities)m_Converter.convertToJaxb(data.getCapabilities());
            final String assetClassName = data.getProductType();
            final AssetFactoryModel model = findAssetFactoryModel(systemId, assetClassName);
            if (model != null)
            {
                model.setFactoryCaps(caps);
            }
        }
        catch (final ObjectConverterException exception)
        {
            Logging.log(LogService.LOG_ERROR, exception, 
                    "An error occurred trying to parse an asset capabilities object" 
                    + " of class type %s for system id 0x%08x ", data.getProductType(), systemId);
        }
    }
private synchronized void eventGetAssetCapabilitiesResponseData ( final GetCapabilitiesResponseData data , final int systemId ) { try { final AssetCapabilities caps = ( AssetCapabilities ) m_Converter . convertToJaxb ( data . getCapabilities ( ) ) ; final String assetClassName = data . getProductType ( ) ; final AssetFactoryModel model = findAssetFactoryModel ( systemId , assetClassName ) ; if ( model != null ) { model . setFactoryCaps ( caps ) ; } } catch ( final ObjectConverterException exception ) { Logging . log ( LogService . LOG_ERROR , exception , "An error occurred trying to parse an asset capabilities object" + " of class type %s for system id 0x%08x " , data . getProductType ( ) , systemId ) ; } }
Event response handling for the get asset capabilities request.
Event response handling for the get asset capabilities request .
//get Capabilities