code: public long asUInt() {
          long res = others;
  
          for (ObjectRight right : rights) {
              res += right.getValue();
          }
  
          return res;
      }
docs: Gets rights as unsigned int.
  
  @return rights as unsigned int.