code: public Map<String, Object> getAttributes() {
          if (attributes == null) {
              return null;
          }
          Lock lock = lockForRead();
          try {
              return cloneData(attributes);
          } finally {
              lock.unlock();
          }
      }
docs: Get all BO's attributes as a map.
  
  @return
  @since 0.8.2