code: public BaseBo setAttributes(Map<String, Object> attrs) {
          Lock lock = lockForWrite();
          try {
              attributes = initAttributes(attrs);
              triggerPopulate();
              return this;
          } finally {
              lock.unlock();
          }
      }
docs: Set all BO's attributes.
  
  @param attrs
  @return