/** * This method can be used to convert a given list of <code>MIProperty</code> to a configuration object. * * @param mProperties * The properties to be converted. * @return A filled configuration object. */ public static final Configuration modelPropertiesToConfiguration(final EList<MIProperty> mProperties) { final Configuration configuration = new Configuration(); // Run through the properties and convert every single of them for (final MIProperty mProperty : mProperties) { configuration.setProperty(mProperty.getName(), mProperty.getValue()); } return configuration; }
/** * This method can be used to convert a given list of <code>MIProperty</code> to a configuration object. * * @param mProperties * The properties to be converted. * @return A filled configuration object. */ public static final Configuration modelPropertiesToConfiguration(final EList<MIProperty> mProperties) { final Configuration configuration = new Configuration(); // Run through the properties and convert every single of them for (final MIProperty mProperty : mProperties) { configuration.setProperty(mProperty.getName(), mProperty.getValue()); } return configuration; }
globalConfiguration.setProperty(mProperty.getName(), mProperty.getValue());
globalConfiguration.setProperty(mProperty.getName(), mProperty.getValue());