| 
 | Berkeley DB version 5.3.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sleepycat.persist.model.EntityMetadata
public class EntityMetadata
The metadata for a persistent entity class.  An entity class may be
 specified with the Entity annotation.
 
EntityMetadata objects are thread-safe.  Multiple threads may
 safely call the methods of a shared EntityMetadata object.
| Constructor Summary | |
|---|---|
| EntityMetadata(String className,
               PrimaryKeyMetadata primaryKey,
               Map<String,SecondaryKeyMetadata> secondaryKeys)Used by an EntityModelto construct entity metadata. | |
| Method Summary | |
|---|---|
|  boolean | equals(Object other) | 
|  String | getClassName()Returns the name of the entity class. | 
|  PrimaryKeyMetadata | getPrimaryKey()Returns the primary key metadata for this entity. | 
|  Map<String,SecondaryKeyMetadata> | getSecondaryKeys()Returns an unmodifiable map of key name to secondary key metadata, or an empty map if no secondary keys are defined for this entity. | 
|  int | hashCode() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EntityMetadata(String className,
                      PrimaryKeyMetadata primaryKey,
                      Map<String,SecondaryKeyMetadata> secondaryKeys)
EntityModel to construct entity metadata.
| Method Detail | 
|---|
public String getClassName()
public PrimaryKeyMetadata getPrimaryKey()
PrimaryKey annotation.
public Map<String,SecondaryKeyMetadata> getSecondaryKeys()
SecondaryKey annotations.
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object| 
 | Berkeley DB version 5.3.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||