private static String resolve(final PropertyDescriptor descriptor) { final DocumentName name = descriptor.getDocumentName(); final String target = name.getName(); // final String target = descriptor.getKey().toString(); return target; }
/** * Returns the name that uniquely identifies the property report within the * report set. * * @return the name that uniquely identifies the property report within the * report set. */ public String getLocalName() { final String metadataValue = descriptor.getDocumentMetaData().getName(); if (StringUtils.isBlank(metadataValue)) { return descriptor.getDocumentName().getName(); } return metadataValue; }