code: public Content getContent() {
          if (getContents() != null && !getContents().isEmpty()) {
              final Content c = getContents().get(0);
              return c;
          }
          return null;
      }
docs: Convenience method to get first content object in content collection. Atom 1.0 allows only
  one content element per entry.