if (propertyMetadata.containsKey(PropertySourceMetadata.PROPERTY_SOURCE_METADATA)) {
propertyMetadata.remove(PropertySourceMetadata.PROPERTY_SOURCE_METADATA);
}
propertyMetadata.put(PropertyJustificationMetadata.PROPERTY_JUSTIFICATION, propertyJustificationMetadata);
} else if (sourceObject.length() > 0) {
PropertySourceMetadata sourceMetadata = createPropertySourceMetadata(sourceObject);
if (propertyMetadata.containsKey(PropertyJustificationMetadata.PROPERTY_JUSTIFICATION)) {
propertyMetadata.remove(PropertyJustificationMetadata.PROPERTY_JUSTIFICATION);
}
propertyMetadata.put(PropertySourceMetadata.PROPERTY_SOURCE_METADATA, sourceMetadata);
}