PropertyBridge propertyBridge,
MappingEngine engine) throws RepositoryAccessException {
String predicateName = propertyBridge.getPredicateName();
for (DProperty property : contentObject.getProperties()) {
DPropertyDefinition propDef = property.getDefinition();
// propDef returns null if a * named property comes
// TODO after handling * named properties, remove the null check
if (propDef == null) {
logger.warn("Property definition could not be got for property {}", property.getName());
continue;
}
String propName = propDef.getName();
String propFullName = propDef.getNamespace() + ":" + propDef.getName();
if (propName.equals(predicateName) || propName.contains(predicateName)
|| propFullName.equals(predicateName)) {
AnnotationType annotation = getAnnotation(propertyBridge.getPropertyAnnotation());
processContentObjectProperty(property, propDef, contentObject, individual, annotation, engine);
// property found break the loop