mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/asset/AssetTypesMgrImpl.java
private synchronized AssetFactoryModel findAssetFactoryModel(final int controllerId, final String productType)
    {
        final Set<AssetFactoryModel> models = m_AssetFactories.get(controllerId);
        if (models != null)
        {
            for (AssetFactoryModel model : models)
            {
                if (model.getFullyQualifiedAssetType().equals(productType))
                {
                    return model;
                }
            }
        }
        return null;
    }
/**
     * Find asset factory model in look up.
     * @param controllerId
     *    the controller id that the factory belongs to
     * @param productType
     *     the name of the product that the factory creates
     * @return
     *    the asset factory model that represents the request factory, or null if not found
     */
Find asset factory model in look up.
@param controllerId
the controller id that the factory belongs to
@param productType
the name of the product that the factory creates
@return
the asset factory model that represents the request factory, or null if not found
Find asset factory model in look up . @param controllerId the controller id that the factory belongs to @param productType the name of the product that the factory creates @return the asset factory model that represents the request factory or null if not found
private synchronized AssetFactoryModel findAssetFactoryModel(final int controllerId, final String productType)
    {
        final Set<AssetFactoryModel> models = m_AssetFactories.get(controllerId);
        if (models != null)
        {
            for (AssetFactoryModel model : models)
            {
                if (model.getFullyQualifiedAssetType().equals(productType))
                {
                    return model;
                }
            }
        }
        return null;
    }
private synchronized AssetFactoryModel findAssetFactoryModel ( final int controllerId , final String productType ) { final Set < AssetFactoryModel > models = m_AssetFactories . get ( controllerId ) ; if ( models != null ) { for ( AssetFactoryModel model : models ) { if ( model . getFullyQualifiedAssetType ( ) . equals ( productType ) ) { return model ; } } } return null ; }
Find asset factory model in look up.
Find asset factory model in look up .