mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/advanced/configuration/SystemMetaTypeMgrImpl.java
private void handleMetaInfoResponse(final int controllerId, final GetMetaTypeInfoResponseData response)
    {
        final List<MetaTypeInfoType> metaInfoList = response.getMetaTypeList();
        
        for (MetaTypeInfoType metaInfo: metaInfoList)
        {
            if (metaInfo.getOcd().getDescription().equals(ConfigurationConstants.PARTIAL_OBJECT_CLASS_DEFINITION))
            {
                Logging.log(
                    LogService.LOG_INFO, "Ignoring partial ObjectClassDefinition with PID [%s] from system id 0x%08x.", 
                        metaInfo.getPid(), controllerId);
                continue;
            }
            final MetaTypeModel metaModel = tryAddMetaTypeModel(metaInfo.getBundleId(), metaInfo.getPid(), 
                    controllerId, metaInfo.getIsFactory());
            for (AttributeDefinitionType attributeInfo: metaInfo.getAttributesList())
            {
                final AttributeModel attribute = new AttributeModel(attributeInfo);
                tryAddAttribute(metaModel, attribute);
            }
            cleanupAttributes(metaModel, metaInfo.getAttributesList());
        }
        //Build meta type model updated event.
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, controllerId);
        final Event metaTypeModelUpdated = new Event(TOPIC_METATYPE_MODEL_UPDATED, props);
        //Post the meta type model updated event.
        m_EventAdmin.postEvent(metaTypeModelUpdated);
    }
/**
     * Method that handles a meta  type information response message.
     * 
     * @param controllerId
     *      ID of the controller the response originated from.
     * @param response
     *      The {@link GetMetaTypeInfoResponseData} message that contains the data.
     */
Method that handles a meta  type information response message.

@param controllerId
ID of the controller the response originated from.
@param response
The  GetMetaTypeInfoResponseData message that contains the data.
Method that handles a meta type information response message . @param controllerId ID of the controller the response originated from . @param response The GetMetaTypeInfoResponseData message that contains the data .
private void handleMetaInfoResponse(final int controllerId, final GetMetaTypeInfoResponseData response)
    {
        final List<MetaTypeInfoType> metaInfoList = response.getMetaTypeList();
        for (MetaTypeInfoType metaInfo: metaInfoList)
        {
            if (metaInfo.getOcd().getDescription().equals(ConfigurationConstants.PARTIAL_OBJECT_CLASS_DEFINITION))
            {
                Logging.log(
                    LogService.LOG_INFO, "Ignoring partial ObjectClassDefinition with PID [%s] from system id 0x%08x.", 
                        metaInfo.getPid(), controllerId);
                continue;
            }
            final MetaTypeModel metaModel = tryAddMetaTypeModel(metaInfo.getBundleId(), metaInfo.getPid(), 
                    controllerId, metaInfo.getIsFactory());
            for (AttributeDefinitionType attributeInfo: metaInfo.getAttributesList())
            {
                final AttributeModel attribute = new AttributeModel(attributeInfo);
                tryAddAttribute(metaModel, attribute);
            }
            cleanupAttributes(metaModel, metaInfo.getAttributesList());
        }
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, controllerId);
        final Event metaTypeModelUpdated = new Event(TOPIC_METATYPE_MODEL_UPDATED, props);
        m_EventAdmin.postEvent(metaTypeModelUpdated);
    }
private void handleMetaInfoResponse ( final int controllerId , final GetMetaTypeInfoResponseData response ) { final List < MetaTypeInfoType > metaInfoList = response . getMetaTypeList ( ) ; for ( MetaTypeInfoType metaInfo : metaInfoList ) { if ( metaInfo . getOcd ( ) . getDescription ( ) . equals ( ConfigurationConstants . PARTIAL_OBJECT_CLASS_DEFINITION ) ) { Logging . log ( LogService . LOG_INFO , "Ignoring partial ObjectClassDefinition with PID [%s] from system id 0x%08x." , metaInfo . getPid ( ) , controllerId ) ; continue ; } final MetaTypeModel metaModel = tryAddMetaTypeModel ( metaInfo . getBundleId ( ) , metaInfo . getPid ( ) , controllerId , metaInfo . getIsFactory ( ) ) ; for ( AttributeDefinitionType attributeInfo : metaInfo . getAttributesList ( ) ) { final AttributeModel attribute = new AttributeModel ( attributeInfo ) ; tryAddAttribute ( metaModel , attribute ) ; } cleanupAttributes ( metaModel , metaInfo . getAttributesList ( ) ) ; } final Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( SharedPropertyConstants . EVENT_PROP_CONTROLLER_ID , controllerId ) ; final Event metaTypeModelUpdated = new Event ( TOPIC_METATYPE_MODEL_UPDATED , props ) ; m_EventAdmin . postEvent ( metaTypeModelUpdated ) ; }
Method that handles a meta  type information response message.
Method that handles a meta type information response message .
//Build meta type model updated event. //Post the meta type model updated event.