net.java.ao
Annotation Type Mutator


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

Marks a specific method as a mutator of a database field. This annotation can also be (and usually is) used to manually specify a field name which corresponds to a method; as in the following example:

public Company extends Entity {
     // ...
     
     @Mutator("url")
     public void setURL(URL url);
     // ...
 }

Author:
Daniel Spiewak

Required Element Summary
 String value
           
 

Element Detail

value

public abstract String value


Copyright © 2007-2015. All Rights Reserved.