/** * Creates the property comment instance. * * @return the property comment instance. */ public PropertyComment build() { return new PropertyComment(this); }
/** * Returns the property value comment. * <p> * If the {@link #getComment() comment} is <code>null</code>, this method * returns safely <code>null</code>. * </p> * * @return the property value comment. */ public PropertyValueComment getValueComment() { if (comment != null) { return comment.getValueComment(); } return null; }
/** * Returns the property comment. * <p> * If the {@link #getComment() comment} is <code>null</code>, this method * returns safely <code>null</code>. * </p> * * @return the property comment. */ public String getCommentText() { if (comment != null) { return comment.getText(); } return null; }