org.pojomatic.annotations
Annotation Type AutoProperty


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface AutoProperty

Assigns the defaults for Pojomatic at the class level and provides a way to configure the automatic detection of properties. Note that this can is overridden (case by case) by the Property} annotation.


Optional Element Summary
 AutoDetectPolicy autoDetect
          Specifies whether to auto-detect properties by their fields, getters or not at all.
 DefaultPojomaticPolicy policy
          Include properties in everything by default (unless otherwise stated by Property).
 

policy

public abstract DefaultPojomaticPolicy policy
Include properties in everything by default (unless otherwise stated by Property).

Default:
org.pojomatic.annotations.DefaultPojomaticPolicy.ALL

autoDetect

public abstract AutoDetectPolicy autoDetect
Specifies whether to auto-detect properties by their fields, getters or not at all.

Default:
org.pojomatic.annotations.AutoDetectPolicy.FIELD


Copyright © 2008-2010. All Rights Reserved.