code: public String getSimpleName() {
          String n = getName();
          int pos = n.indexOf(".");
          if (pos == -1)
              return n;
          else
              return n.substring(pos+1);
      }
docs: Returns name of entity without namespace. If name has no
  namspace, this method returns a value identical to getName()