code: public String getTitle() {
          final String key = String.format("pm.entity.%s", getId());
          final String message = pm.message(key);
          if (key.equals(message)) {
              if (getExtendzEntity() != null) {
                  return getExtendzEntity().getTitle();
              }
          }
          return message;
      }
docs: Returns the internationalized entity title