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, toString
public String getSequenceName()
PrimaryKey.sequence()
annotation.public boolean equals(Object other)
equals
in class FieldMetadata
public int hashCode()
hashCode
in class FieldMetadata
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.