code: public String getName() {
      ResourceServices services = getServices();
      return (services != null) ? services.getResourceName() : null;
    }
docs: Returns the name of the resource.
  @return	the name of the resource