Class CommentType

    • Field Detail

      • expression

        protected String expression
      • message

        protected String message
      • deprecated

        protected Boolean deprecated
      • includeSchemaComment

        protected Boolean includeSchemaComment
    • Constructor Detail

      • CommentType

        public CommentType()
    • Method Detail

      • getExpression

        public String getExpression()
        A regular expression matching all objects that should be commented.
      • setExpression

        public void setExpression​(String value)
        A regular expression matching all objects that should be commented.
      • getMessage

        public String getMessage()
        A comment that should be added to objects matched by this configuration.
      • setMessage

        public void setMessage​(String value)
        A comment that should be added to objects matched by this configuration.
      • isDeprecated

        public Boolean isDeprecated()
        Whether the comment is a deprecation notice.
        Returns:
        possible object is Boolean
      • setDeprecated

        public void setDeprecated​(Boolean value)
        Sets the value of the deprecated property.
        Parameters:
        value - allowed object is Boolean
      • isIncludeSchemaComment

        public Boolean isIncludeSchemaComment()
        Whether the schema comment (if available) should be included and prepended to the message.
        Returns:
        possible object is Boolean
      • setIncludeSchemaComment

        public void setIncludeSchemaComment​(Boolean value)
        Sets the value of the includeSchemaComment property.
        Parameters:
        value - allowed object is Boolean
      • withExpression

        public CommentType withExpression​(String value)
        A regular expression matching all objects that should be commented.
      • withMessage

        public CommentType withMessage​(String value)
        A comment that should be added to objects matched by this configuration.
      • withIncludeSchemaComment

        public CommentType withIncludeSchemaComment​(Boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object