private void addProperties ( BaseProfileDescriptor pomDescriptor , Properties properties , Store store ) { Set < Entry < Object , Object > > entrySet = properties . entrySet ( ) ; for ( Entry < Object , Object > entry : entrySet ) { PropertyDescriptor propertyDescriptor = store . create ( PropertyDescriptor . class ) ; propertyDescriptor . setName ( entry . getKey ( ) . toString ( ) ) ; propertyDescriptor . setValue ( entry . getValue ( ) . toString ( ) ) ; pomDescriptor . getProperties ( ) . add ( propertyDescriptor ) ; } }
Adds information about defined properties .