Package org.modelmapper.convention
Class NamingConventions
- java.lang.Object
-
- org.modelmapper.convention.NamingConventions
-
public class NamingConventions extends Object
NamingConvention
implementations.
-
-
Field Summary
Fields Modifier and Type Field Description static NamingConvention
JAVABEANS_ACCESSOR
JavaBeans naming convention for accessors.static NamingConvention
JAVABEANS_MUTATOR
JavaBeans naming convention for mutators.static NamingConvention
NONE
Represents no naming convention.
-
Constructor Summary
Constructors Constructor Description NamingConventions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NamingConvention
builder()
Creates NameTransformer for builder.static NamingConvention
builder(String prefix)
Creates NamingConvention for builder.
-
-
-
Field Detail
-
JAVABEANS_ACCESSOR
public static final NamingConvention JAVABEANS_ACCESSOR
JavaBeans naming convention for accessors.
-
JAVABEANS_MUTATOR
public static final NamingConvention JAVABEANS_MUTATOR
JavaBeans naming convention for mutators.
-
NONE
public static final NamingConvention NONE
Represents no naming convention. This conventionapplies
to all property names, allowing all properties to be eligible for matching.
-
-
Method Detail
-
builder
public static NamingConvention builder()
Creates NameTransformer for builder.- Returns:
- a NamingConvention
-
builder
public static NamingConvention builder(String prefix)
Creates NamingConvention for builder.- Parameters:
prefix
- the prefix for the setter of the builder- Returns:
- a NamingConvention
-
-