Class Comments
java.lang.Object
com.dassault_systemes.modeler.kerml.model.Comments
Utility class to work with
Comment-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetBodyOrEmpty(Comment comment) Returns the body of the comment, or an empty string if the body is null.
-
Constructor Details
-
Comments
public Comments()
-
-
Method Details
-
getBodyOrEmpty
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
-