class ValueMetaFactory {

  public static int getIdForValueMeta( String valueMetaName ) {
    for ( IPlugin plugin : pluginRegistry.getPlugins( ValueMetaPluginType.class ) ) {
      if ( valueMetaName != null && valueMetaName.equalsIgnoreCase( plugin.getName() ) ) {
        return Integer.valueOf( plugin.getIds()[ 0 ] );
      }
    }
    return IValueMeta.TYPE_NONE;
  }

  private  ValueMetaFactory();

}