|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={METHOD,FIELD,TYPE})
@Retention(value=RUNTIME)
public @interface TypeDiscriminatorUsed to distinguish a type's documents in the database. Declare on fields or getter methods in order for them to be used in generated views filter conditions. Declare on type in order specify a custom filter condition. A TypeDiscriminator declared on type level cannot be mixed with TypeDiscriminators declared onb fields.
| Optional Element Summary | |
|---|---|
String |
value
If TypeDiscriminator is declared on type level, a filter condition must be specified. |
public abstract String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||