|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
@Documented
public @interface Property
Specify how a property should get mapped to the Datastore.
All properties are mapped by default unless annotated with Transient.
| Optional Element Summary | |
|---|---|
java.lang.Class<?> |
converter
The Converter class to use with this attribute. |
boolean |
required
Marks this attribute as required. |
boolean |
unindexed
Marks this attribute as unindexed. |
java.lang.String |
value
The name of the datastore property. |
public abstract java.lang.String value
public abstract boolean required
public abstract boolean unindexed
All attributes are indexed by default
except Text and Blob data types.
public abstract java.lang.Class<?> converter
Converter class to use with this attribute.
If not specified, the default converter for this attribute type will be used
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||