- java.lang.Object
-
- org.jooq.meta.jaxb.MatchersFieldType
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class MatchersFieldType extends Object implements Serializable, XMLAppendable
Declarative naming strategy configuration for field names.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringexpressionprotected MatcherRulefieldGetterprotected MatcherRulefieldIdentifierprotected MatcherRulefieldMemberprotected MatcherRulefieldSetter
-
Constructor Summary
Constructors Constructor Description MatchersFieldType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)StringgetExpression()This field matcher applies to all unqualified or qualified field names matched by this expression.MatcherRulegetFieldGetter()This rule influences the naming of generated getters (e.g. inTableRecordand/or POJOs) corresponding to thisFieldMatcherRulegetFieldIdentifier()This rule influences the naming of the generatedFieldidentifier.MatcherRulegetFieldMember()This rule influences the naming of generated members (e.g. in POJOs) corresponding to thisFieldMatcherRulegetFieldSetter()This rule influences the naming of generated setters (e.g. inTableRecordand/or POJOs) corresponding to thisFieldinthashCode()voidsetExpression(String value)This field matcher applies to all unqualified or qualified field names matched by this expression.voidsetFieldGetter(MatcherRule value)This rule influences the naming of generated getters (e.g. inTableRecordand/or POJOs) corresponding to thisFieldvoidsetFieldIdentifier(MatcherRule value)This rule influences the naming of the generatedFieldidentifier.voidsetFieldMember(MatcherRule value)This rule influences the naming of generated members (e.g. in POJOs) corresponding to thisFieldvoidsetFieldSetter(MatcherRule value)This rule influences the naming of generated setters (e.g. inTableRecordand/or POJOs) corresponding to thisFieldStringtoString()MatchersFieldTypewithExpression(String value)This field matcher applies to all unqualified or qualified field names matched by this expression.MatchersFieldTypewithFieldGetter(MatcherRule value)This rule influences the naming of generated getters (e.g. inTableRecordand/or POJOs) corresponding to thisFieldMatchersFieldTypewithFieldIdentifier(MatcherRule value)This rule influences the naming of the generatedFieldidentifier.MatchersFieldTypewithFieldMember(MatcherRule value)This rule influences the naming of generated members (e.g. in POJOs) corresponding to thisFieldMatchersFieldTypewithFieldSetter(MatcherRule value)This rule influences the naming of generated setters (e.g. inTableRecordand/or POJOs) corresponding to thisField
-
-
-
Field Detail
-
expression
protected String expression
-
fieldIdentifier
protected MatcherRule fieldIdentifier
-
fieldMember
protected MatcherRule fieldMember
-
fieldSetter
protected MatcherRule fieldSetter
-
fieldGetter
protected MatcherRule fieldGetter
-
-
Method Detail
-
getExpression
public String getExpression()
This field matcher applies to all unqualified or qualified field names matched by this expression. If left empty, this matcher applies to all fields.
-
setExpression
public void setExpression(String value)
This field matcher applies to all unqualified or qualified field names matched by this expression. If left empty, this matcher applies to all fields.
-
getFieldIdentifier
public MatcherRule getFieldIdentifier()
This rule influences the naming of the generatedFieldidentifier.
-
setFieldIdentifier
public void setFieldIdentifier(MatcherRule value)
This rule influences the naming of the generatedFieldidentifier.
-
getFieldMember
public MatcherRule getFieldMember()
This rule influences the naming of generated members (e.g. in POJOs) corresponding to thisField
-
setFieldMember
public void setFieldMember(MatcherRule value)
This rule influences the naming of generated members (e.g. in POJOs) corresponding to thisField
-
getFieldSetter
public MatcherRule getFieldSetter()
This rule influences the naming of generated setters (e.g. inTableRecordand/or POJOs) corresponding to thisField
-
setFieldSetter
public void setFieldSetter(MatcherRule value)
This rule influences the naming of generated setters (e.g. inTableRecordand/or POJOs) corresponding to thisField
-
getFieldGetter
public MatcherRule getFieldGetter()
This rule influences the naming of generated getters (e.g. inTableRecordand/or POJOs) corresponding to thisField
-
setFieldGetter
public void setFieldGetter(MatcherRule value)
This rule influences the naming of generated getters (e.g. inTableRecordand/or POJOs) corresponding to thisField
-
withExpression
public MatchersFieldType withExpression(String value)
This field matcher applies to all unqualified or qualified field names matched by this expression. If left empty, this matcher applies to all fields.
-
withFieldIdentifier
public MatchersFieldType withFieldIdentifier(MatcherRule value)
This rule influences the naming of the generatedFieldidentifier.
-
withFieldMember
public MatchersFieldType withFieldMember(MatcherRule value)
This rule influences the naming of generated members (e.g. in POJOs) corresponding to thisField
-
withFieldSetter
public MatchersFieldType withFieldSetter(MatcherRule value)
This rule influences the naming of generated setters (e.g. inTableRecordand/or POJOs) corresponding to thisField
-
withFieldGetter
public MatchersFieldType withFieldGetter(MatcherRule value)
This rule influences the naming of generated getters (e.g. inTableRecordand/or POJOs) corresponding to thisField
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-