Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.datastax.driver.mapping.annotations;
 
 
Defines that the annotated field (that must be a Java Enum) must be persisted as an enumerated type.

The optional com.datastax.driver.mapping.EnumType value defined how the enumeration must be persisted.

public @interface Enumerated {
    
How the enumeration must be persisted.

Returns:
the EnumType to use for mapping this enumeration.
    EnumType value() default .;
New to GrepCode? Check out our FAQ X