/*
  * (non-Javadoc)
  * @see org.springframework.data.rest.core.mapping.ResourceMapping#getPath()
  */
 @Override
 public Path getPath() {
   return annotation != null && StringUtils.hasText(annotation.path())
       ? new Path(annotation.path())
       : new Path(property.getName());
 }
 /*
  * (non-Javadoc)
  * @see org.springframework.data.rest.core.mapping.ResourceMapping#getRel()
  */
 @Override
 public String getRel() {
   return annotation != null && StringUtils.hasText(annotation.rel())
       ? annotation.rel()
       : property.getName();
 }
 public static String relativePathToDomainStorageAttributeDirectory(
     String domainTypeName, Object idValue, PersistentProperty attrMeta) {
   return relativePathToDomainStorageDirectory(domainTypeName, idValue) + "/" + attrMeta.getName();
 }