javax.persistence
Annotation Type Enumerated


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Enumerated

The @Enumerated annotation marks a property as an enumerated type.


Optional Element Summary
 EnumType value
           
 

value

public abstract EnumType value
Default:
javax.persistence.EnumType.ORDINAL