mil.dod.th.ose.config/src/mil/dod/th/ose/config/loading/impl/OSGiConfigLoaderImpl.java
private Dictionary<String, Object> createPropertyMap(final String pid, final List<StringMapEntry> properties)
    {
        final List<AttributeDefinition> attributes = getAttributes(pid);
        final Dictionary<String, Object> propertyMap = new Hashtable<String, Object>();
        for (StringMapEntry prop: properties)
        {
            final AttributeDefinition definition = findDefinition(prop.getKey(), attributes);
            final Object actualValue = ConfigurationUtils.parseStringByType(definition.getType(), prop.getValue());
            propertyMap.put(prop.getKey(), actualValue);
        }
        return propertyMap;
    }
/**
     * Method that creates a dictionary of properties to be used when creating or updating a configuration.
     * 
     * @param pid
     *      PID of the configuration the properties pertain to.
     * @param properties
     *      StringMapEntry that represents the properties to create a dictionary for.
     * @return
     *      The dictionary that contains the key and value pairs that represent the properties for the specified
     *      configuration.
     */
Method that creates a dictionary of properties to be used when creating or updating a configuration.

@param pid
PID of the configuration the properties pertain to.
@param properties
StringMapEntry that represents the properties to create a dictionary for.
@return
The dictionary that contains the key and value pairs that represent the properties for the specified
configuration.
Method that creates a dictionary of properties to be used when creating or updating a configuration . @param pid PID of the configuration the properties pertain to . @param properties StringMapEntry that represents the properties to create a dictionary for . @return The dictionary that contains the key and value pairs that represent the properties for the specified configuration .
private Dictionary<String, Object> createPropertyMap(final String pid, final List<StringMapEntry> properties)
    {
        final List<AttributeDefinition> attributes = getAttributes(pid);
        final Dictionary<String, Object> propertyMap = new Hashtable<String, Object>();
        for (StringMapEntry prop: properties)
        {
            final AttributeDefinition definition = findDefinition(prop.getKey(), attributes);
            final Object actualValue = ConfigurationUtils.parseStringByType(definition.getType(), prop.getValue());
            propertyMap.put(prop.getKey(), actualValue);
        }
        return propertyMap;
    }
private Dictionary < String , Object > createPropertyMap ( final String pid , final List < StringMapEntry > properties ) { final List < AttributeDefinition > attributes = getAttributes ( pid ) ; final Dictionary < String , Object > propertyMap = new Hashtable < String , Object > ( ) ; for ( StringMapEntry prop : properties ) { final AttributeDefinition definition = findDefinition ( prop . getKey ( ) , attributes ) ; final Object actualValue = ConfigurationUtils . parseStringByType ( definition . getType ( ) , prop . getValue ( ) ) ; propertyMap . put ( prop . getKey ( ) , actualValue ) ; } return propertyMap ; }
Method that creates a dictionary of properties to be used when creating or updating a configuration.
Method that creates a dictionary of properties to be used when creating or updating a configuration .