code: public boolean equivalent(Object obj) {
          if (this == obj)
              return true;
          if (obj == null)
              return false;
          if (getClass() != obj.getClass())
              return false;
          RepositoryResourceImpl other = (RepositoryResourceImpl) obj;
          if (_asset == null) {
              if (other._asset != null)
                  return false;
          } else if (!_asset.equivalent(other._asset))
              return false;
          return true;
      }
docs: Checks if the two resources are equivalent by checking if the assets
  are equivalent.
  
  @param obj
  @return