net.sf.adatagenerator.mutators
Annotation Type Mutate


Deprecated.

@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Mutate

Indicates that the annotated set method should be modified during duplicate generation. This annotation should be used only with one-parameter set methods that return void and follow the Java Beans programming conventions.

Author:
rphall

Required Element Summary
 String name
          Deprecated. The name of an FieldMutatorInstance object
 
Optional Element Summary
 String[] groups
          Deprecated. The named groups of mutators of which this mutator is a member.
 

Element Detail

name

public abstract String name
Deprecated. 
The name of an FieldMutatorInstance object

groups

public abstract String[] groups
Deprecated. 
The named groups of mutators of which this mutator is a member. Groups a way of labeling mutators with a similar purpose across the fields on which they operate. For example, in the case of a person record with name, birth date and address information, one might define a twin group, a family group, a household group, and a default all group. There might be only two mutators in the twin which modifies the first and middle names of a person. There might an additional mutator in the family group which modifies the birth date field. There might be an additional mutator in the household group which modifies the last name field. Finally, the address mutator might be part of the default unrelated group, in addition to all of the other mutators.

Default:
"unrelated"


Copyright © 2011-2012. All Rights Reserved.