Lines Matching defs:class
24 * Indicates a secondary key field of an entity class. The value of the
29 * class, subclasses and superclasses. For a secondary key field in the entity
30 * class or one of its superclasses, all entity instances will be indexed by
39 * <p>For a given entity class and its superclasses and subclasses, no two
42 * class. {@link #name} may be specified to override this default.</p>
44 * <p>Using {@link #relate}, instances of the entity class are related to
50 * instances of another entity class using {@link #relatedEntity} and {@link
69 * Defines the relationship between instances of the entity class and the
122 * constrained to the set of primary key values for the given entity class.
124 * <p>The given class must be an entity class. This class is called the
127 * <p>When a related entity class is specified, a check (foreign key
146 Class relatedEntity() default void.class;
180 * <pre class="code">
181 * class Person {
182 * {@literal @SecondaryKey(relate=MANY_TO_ONE, relatedEntity=Person.class, name="parentSsn")}
187 * keys for a single entity class have the same field name. For example,
188 * an entity class and its subclass may both have a field named 'date',