public class NameTransformers extends Object
NameTransformer implementations.| Modifier and Type | Field and Description |
|---|---|
static NameTransformer |
JAVABEANS_ACCESSOR
Transforms accessor names to their simple property name according to the JavaBeans convention.
|
static NameTransformer |
JAVABEANS_MUTATOR
Transforms mutator names to their simple property name according to the JavaBeans convention.
|
| Constructor and Description |
|---|
NameTransformers() |
| Modifier and Type | Method and Description |
|---|---|
static NameTransformer |
builder()
Creates NameTransformer for builder.
|
static NameTransformer |
builder(String prefix)
Creates NameTransformer for builder.
|
public static final NameTransformer JAVABEANS_ACCESSOR
public static final NameTransformer JAVABEANS_MUTATOR
public static NameTransformer builder()
public static NameTransformer builder(String prefix)
prefix - the prefix for the setter of the builderCopyright © 2011–2021. All rights reserved.