net.karneim.pojobuilder
Annotation Type PropertyNames


@Target(value=METHOD)
@Retention(value=SOURCE)
public @interface PropertyNames

The PropertyNames annotation is used on a factory method in order to map the parameters to the property names of the pojo.


Required Element Summary
 String[] value
          An array of property names that maps the method parameters to the pojo's property names by index.
 

Element Detail

value

public abstract String[] value
An array of property names that maps the method parameters to the pojo's property names by index.



Copyright © 2013. All Rights Reserved.