code: private WriteConcern getWriteConcern(final Object clazzOrEntity) {
          WriteConcern wc = defConcern;
          if (clazzOrEntity != null) {
              final Entity entityAnn = getMapper().getMappedClass(clazzOrEntity).getEntityAnnotation();
              if (entityAnn != null && !entityAnn.concern().isEmpty()) {
                  wc = WriteConcern.valueOf(entityAnn.concern());
              }
          }
  
          return wc;
      }
docs: Gets the write concern for entity or returns the default write concern for this datastore
  
  @param clazzOrEntity the class or entity to use when looking up the WriteConcern