@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Attribute
The annotated method MUST NOT have any parameters. The annotated method MAY have a default implementation, which will be used to determine the default value for the attribute.
The schema created for a particular annotated method is controlled by a TypeAdapter
. The
adapter for a method is chosen as follows:
TypeAdapter
, it is used.TypeAdapter
is inferred from the return type of the method.Config
Copyright © 2010-2018, ForgeRock All Rights Reserved.