JADE Java Persistence API
1.0

com.jadeworld.jade.persistence
Annotation Type Entity


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Entity

Specifies a Java class to be included in the JADE Java persistence.

Author:
JADE Development Centre, Jade Software Corporation Ltd.

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.
 

name

public abstract java.lang.String name
JADE class name. Defaults to the Java class name.

Default:
""

defaultStyle

public abstract 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()

Default:
TRANSIENT

mapFile

public abstract java.lang.String mapFile
JADE class map file name, defaults to schema default map file name

Default:
""

JADE Java Persistence API
1.0

Copyright © 2007 Jade Software Corporation