@Target(value={CONSTRUCTOR,TYPE}) @Retention(value=SOURCE) public @interface Pojo
Modifier and Type | Optional Element and Description |
---|---|
Adapter[] |
adapter
Adapter configuration
|
Class[] |
interfaces
An array of interface to add to the Pojo.
|
boolean |
mutable
Indicates that the generated pojo will be mutable or not.
|
String |
name
The class name of the generated Pojo.
|
String |
prefix
The prefix to add to the annotated class in order to create the pojo name.
|
String |
relativePath
The relative path the pojo will be generated.
|
String |
suffix
The suffix to add to the annotated class in order to create the pojo name.
|
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 String name
public abstract String prefix
public abstract String suffix
public abstract String relativePath
public abstract Class superClass
public abstract Class[] interfaces
public abstract boolean withStaticBuilderMethod
public abstract boolean withStaticAdapterMethod
public abstract boolean withStaticMapAdapterMethod
public abstract Adapter[] adapter
Copyright © 2019 JBoss by Red Hat. All rights reserved.