* @param defaultValue value that is used when no value exists so far
* @return String value of this property or default value when no value exists
*/
public String findOrCreateProperty(Class clazz, String propertyName, String defaultValue) {
PropertyManager pm = PropertyManager.getInstance();
Property property = pm.findProperty(null, null, null, PROPERTY_CATEGORY, createPropertyName(clazz, propertyName));
if (property == null) {
property = pm.createPropertyInstance(null, null, null, PROPERTY_CATEGORY, createPropertyName(clazz, propertyName), null, null, defaultValue, null);
pm.saveProperty(property);
}
return property.getStringValue();