public class PrimaryKeyMetadata extends FieldMetadata
PrimaryKey annotation.
PrimaryKeyMetadata objects are thread-safe. Multiple threads may
safely call the methods of a shared PrimaryKeyMetadata object.
| Constructor and Description |
|---|
PrimaryKeyMetadata(String name,
String className,
String declaringClassName,
String sequenceName)
Used by an
EntityModel to construct primary key metadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getSequenceName()
Returns the name of the sequence for assigning key values.
|
int |
hashCode() |
getClassName, getDeclaringClassName, getName, toStringpublic String getSequenceName()
PrimaryKey.sequence() annotation.public boolean equals(Object other)
equals in class FieldMetadatapublic int hashCode()
hashCode in class FieldMetadataCopyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.