code: protected static CommonContent transformCommonContent(CSNodeWrapper node) {
          final CommonContent commonContent;
          if (node.getNodeType() == CommonConstants.CS_NODE_COMMON_CONTENT) {
              commonContent = new CommonContent(node.getTitle());
          } else {
              throw new IllegalArgumentException("The passed node is not a Comment");
          }
  
          commonContent.setUniqueId(node.getId() == null ? null : node.getId().toString());
  
          return commonContent;
      }
docs: Transform a Common Content CSNode entity into a Comment object that can be added to a Content Specification.
  
  @param node The CSNode to be transformed.
  @return The transformed Comment object.