java.lang.Object
com.dassault_systemes.modeler.kerml.model.Comments

@OpenApiAll public class Comments extends Object
Utility class to work with Comment
  • Constructor Details

    • Comments

      public Comments()
  • Method Details

    • getBodyOrEmpty

      public static String getBodyOrEmpty(Comment comment)
      Returns the body of the comment, or an empty string if the body is null.
      Parameters:
      comment - the comment
      Returns:
      comment body, or empty string if none