play.modules.morphia
Annotation Type Model.Column


@Retention(value=RUNTIME)
@Target(value=FIELD)
public static @interface Model.Column


Optional Element Summary
 Class<?> concreteClass
          Specify the concrete class to instantiate.
 String value
          The name of the key to store the field in; Defaults to the field name.
 

value

public abstract String value
The name of the key to store the field in; Defaults to the field name.

Default:
"."

concreteClass

public abstract Class<?> concreteClass
Specify the concrete class to instantiate.

Default:
java.lang.Object.class


Copyright © 2012. All Rights Reserved.