org.joda.beans
Annotation Type BeanDefinition


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface BeanDefinition

Annotation defining a bean for code generation.

This annotation must be used on classes that should be treated as beans.


Optional Element Summary
 String builderScope
          The scope of the builder class, currently just for immutable beans.
 String style
          The style of bean generation.
 

style

public abstract String style
The style of bean generation.

By default, this follows 'smart' rules. Set to 'minimal' to generate a minimal amount of code. Set to 'full' to generate the full code.

Default:
"smart"

builderScope

public abstract String builderScope
The scope of the builder class, currently just for immutable beans.

By default, this follows 'smart' rules. Set to 'private' to generate a private builder. Set to 'public' to generate a public builder.

Default:
"smart"


Copyright © 2007–2013 Joda.org. All rights reserved.