|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.persist.model.FieldMetadata com.sleepycat.persist.model.PrimaryKeyMetadata
public class PrimaryKeyMetadata
The metadata for a primary key field. A primary key may be specified with
the PrimaryKey
annotation.
PrimaryKeyMetadata
objects are thread-safe. Multiple threads may
safely call the methods of a shared PrimaryKeyMetadata
object.
Constructor Summary | |
---|---|
PrimaryKeyMetadata(String name,
String className,
String declaringClassName,
String sequenceName)
Used by an EntityModel to construct primary key metadata. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
String |
getSequenceName()
Returns the name of the sequence for assigning key values. |
int |
hashCode()
|
Methods inherited from class com.sleepycat.persist.model.FieldMetadata |
---|
getClassName, getDeclaringClassName, getName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PrimaryKeyMetadata(String name, String className, String declaringClassName, String sequenceName)
EntityModel
to construct primary key metadata.
Method Detail |
---|
public String getSequenceName()
PrimaryKey.sequence()
annotation.
public boolean equals(Object other)
equals
in class FieldMetadata
public int hashCode()
hashCode
in class FieldMetadata
|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |