com.jpattern.orm.annotation
Annotation Type Generator
@Target(value=FIELD)
@Retention(value=RUNTIME)
@Inherited
public @interface Generator
Define a field that is generated automatically on save action
- Author:
- Francesco Cina
08/giu/2011
|
Optional Element Summary |
long[] |
ifValueIn
The generator is activated only if the related field's
value is in the array. |
generatorType
public abstract GeneratorType generatorType
name
public abstract String name
ifValueIn
public abstract long[] ifValueIn
- The generator is activated only if the related field's
value is in the array.
If the array is empty the generator is always active.
- Returns:
- Default:
- {}
Copyright © 2013. All Rights Reserved.