org.pojomatic.annotations
Annotation Type PropertyFormat


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
@Documented
public @interface PropertyFormat

Specifies formatting information to be used for creating 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.

See Also:
PropertyFormatter

Required Element Summary
 java.lang.Class<? extends PropertyFormatter> value
          The formatter to use for creating a String representation.
 

Element Detail

value

public abstract java.lang.Class<? extends PropertyFormatter> value
The formatter to use for creating a String representation.



Copyright © 2008-2009. All Rights Reserved.