@Target({FIELD,METHOD}) @Retention(RUNTIME) @Documented public @interface Property
PojomaticPojomaticPolicy| Modifier and Type | Optional Element | Description |
|---|---|---|
String |
name |
The name used to identify the property in the standard
toString representation. |
PojomaticPolicy |
policy |
PojomaticPolicy policy
String name
toString representation. If
empty, the following algorithm is used to determine the name. For a property referenced by
field, the name of the field is used. For a property referenced by a method whose name is of
the form getSomeField, the name someField will be used. For a boolean property
referenced by a method whose name is of the form isSomeField, the name
someField will be used. For any other property referenced by a method, the name of
the method is used.toString representation.Copyright © 2008–2018. All rights reserved.