ix.util.reflect
Annotation Type Body


@Retention(value=RUNTIME)
@Target(value=FIELD)
@Inherited
@Documented
public @interface Body

Annotation that marks a field as the main "body" of the object. Its primary use is to suggest how the field should be translated into notations such as XML. Typically the other fields would have to be expressed as attributes, and the body would have to be a list or set.

See Also:
CompactXMLTranslator