@Target(value={CONSTRUCTOR,TYPE})
@Retention(value=SOURCE)
public @interface Pojo
| Modifier and Type | Optional Element and Description |
|---|---|
Adapter[] |
adapter
Adapter configuration
|
java.lang.Class[] |
interfaces
An array of interface to add to the Pojo.
|
boolean |
mutable
Indicates that the generated pojo will be mutable or not.
|
java.lang.String |
name
The class name of the generated Pojo.
|
java.lang.String |
prefix
The prefix to add to the annotated class in order to create the pojo name.
|
java.lang.String |
relativePath
The relative path the pojo will be generated.
|
java.lang.String |
suffix
The suffix to add to the annotated class in order to create the pojo name.
|
java.lang.Class |
superClass
The super class to add to the generated pojo.
|
boolean |
withStaticAdapterMethod
Flag to include static mapping methods in the generated pojo.
|
boolean |
withStaticBuilderMethod
Flag to include static builder method in the generated pojo.
|
boolean |
withStaticMapAdapterMethod
Flag to incluce mapping methods from map instances.
|
public abstract boolean mutable
public abstract java.lang.String name
public abstract java.lang.String prefix
public abstract java.lang.String suffix
public abstract java.lang.String relativePath
public abstract java.lang.Class superClass
public abstract java.lang.Class[] interfaces
public abstract boolean withStaticBuilderMethod
public abstract boolean withStaticAdapterMethod
public abstract boolean withStaticMapAdapterMethod
public abstract Adapter[] adapter
Copyright © 2020. All Rights Reserved.