- java.lang.Object
-
- org.jooq.meta.jaxb.CommentType
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class CommentType extends Object implements Serializable, XMLAppendable
The documentation configuration.This feature is available in the commercial distribution only.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Booleandeprecatedprotected Stringexpressionprotected BooleanincludeSchemaCommentprotected Stringmessage
-
Constructor Summary
Constructors Constructor Description CommentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)StringgetExpression()A regular expression matching all objects that should be commented.StringgetMessage()A comment that should be added to objects matched by this configuration.inthashCode()BooleanisDeprecated()Whether the comment is a deprecation notice.BooleanisIncludeSchemaComment()Whether the schema comment (if available) should be included and prepended to the message.voidsetDeprecated(Boolean value)Sets the value of the deprecated property.voidsetExpression(String value)A regular expression matching all objects that should be commented.voidsetIncludeSchemaComment(Boolean value)Sets the value of the includeSchemaComment property.voidsetMessage(String value)A comment that should be added to objects matched by this configuration.StringtoString()CommentTypewithDeprecated(Boolean value)CommentTypewithExpression(String value)A regular expression matching all objects that should be commented.CommentTypewithIncludeSchemaComment(Boolean value)CommentTypewithMessage(String value)A comment that should be added to objects matched by this configuration.
-
-
-
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 isBoolean
-
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 isBoolean
-
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.
-
withDeprecated
public CommentType withDeprecated(Boolean value)
-
withIncludeSchemaComment
public CommentType withIncludeSchemaComment(Boolean value)
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-