|
JADE Java Persistence API 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Entity
Specifies a Java class to be included in the JADE Java persistence.
| Optional Element Summary | |
|---|---|
DefaultStyle |
defaultStyle
NONE means that each property in the entity class must have an explicit @DbField, @DbProperty, or @Transient annotation. FIELD means that each non-annotated property is treated as if it were annotated with @DbField() PROPERTY means that each non-annotated property is treated as if it were annotated with @DbProperty() TRANSIENT means that each non-annotated property is treated as if it were annotated with @Transient() |
java.lang.String |
mapFile
JADE class map file name, defaults to schema default map file name |
java.lang.String |
name
JADE class name. |
public abstract java.lang.String name
public abstract DefaultStyle defaultStyle
public abstract java.lang.String mapFile
|
JADE Java Persistence API 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||