- java.lang.Object
-
- org.jooq.meta.jaxb.MatchersEnumType
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class MatchersEnumType extends Object implements Serializable, XMLAppendable
Declarative naming strategy configuration for enum names.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MatcherRuleenumClassprotected StringenumImplementsprotected Stringexpression
-
Constructor Summary
Constructors Constructor Description MatchersEnumType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)MatcherRulegetEnumClass()This rule influences the naming of the generatedEnumTypeobject.StringgetEnumImplements()This string provides additional interfaces that a generatedEnumTypeshould implement.StringgetExpression()This enum matcher applies to all unqualified or qualified enum names matched by this expression.inthashCode()voidsetEnumClass(MatcherRule value)This rule influences the naming of the generatedEnumTypeobject.voidsetEnumImplements(String value)This string provides additional interfaces that a generatedEnumTypeshould implement.voidsetExpression(String value)This enum matcher applies to all unqualified or qualified enum names matched by this expression.StringtoString()MatchersEnumTypewithEnumClass(MatcherRule value)This rule influences the naming of the generatedEnumTypeobject.MatchersEnumTypewithEnumImplements(String value)This string provides additional interfaces that a generatedEnumTypeshould implement.MatchersEnumTypewithExpression(String value)This enum matcher applies to all unqualified or qualified enum names matched by this expression.
-
-
-
Field Detail
-
expression
protected String expression
-
enumClass
protected MatcherRule enumClass
-
enumImplements
protected String enumImplements
-
-
Method Detail
-
getExpression
public String getExpression()
This enum matcher applies to all unqualified or qualified enum names matched by this expression. If left empty, this matcher applies to all enums.
-
setExpression
public void setExpression(String value)
This enum matcher applies to all unqualified or qualified enum names matched by this expression. If left empty, this matcher applies to all enums.
-
getEnumClass
public MatcherRule getEnumClass()
This rule influences the naming of the generatedEnumTypeobject.
-
setEnumClass
public void setEnumClass(MatcherRule value)
This rule influences the naming of the generatedEnumTypeobject.
-
getEnumImplements
public String getEnumImplements()
This string provides additional interfaces that a generatedEnumTypeshould implement.
-
setEnumImplements
public void setEnumImplements(String value)
This string provides additional interfaces that a generatedEnumTypeshould implement.
-
withExpression
public MatchersEnumType withExpression(String value)
This enum matcher applies to all unqualified or qualified enum names matched by this expression. If left empty, this matcher applies to all enums.
-
withEnumClass
public MatchersEnumType withEnumClass(MatcherRule value)
This rule influences the naming of the generatedEnumTypeobject.
-
withEnumImplements
public MatchersEnumType withEnumImplements(String value)
This string provides additional interfaces that a generatedEnumTypeshould implement.
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-