@Target({FIELD,METHOD}) @Retention(RUNTIME) @Documented public @interface PropertyFormat
String
representations of
properties. Note that using a PropertyFormat
annotation on a property does not influence
whether that property will be included in the toString
implementation. That is
determined solely by any Property
and AutoProperty
annotations on the POJO.PropertyFormatter
Modifier and Type | Required Element | Description |
---|---|---|
Class<? extends PropertyFormatter> |
value |
The formatter to use for creating a
String representation. |
Class<? extends PropertyFormatter> value
String
representation.String
representation.Copyright © 2008–2018. All rights reserved.