java.io.Serializable
PrimaryKeyMetadata
, SecondaryKeyMetadata
public class FieldMetadata
extends java.lang.Object
implements java.io.Serializable
FieldMetadata
objects are thread-safe. Multiple threads may
safely call the methods of a shared FieldMetadata
object.
Constructor | Description |
---|---|
FieldMetadata(java.lang.String name,
java.lang.String className,
java.lang.String declaringClassName) |
Used by an
EntityModel to construct field metadata. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object other) |
|
java.lang.String |
getClassName() |
Returns the class name of the field type.
|
java.lang.String |
getDeclaringClassName() |
Returns the name of the class where the field is declared.
|
java.lang.String |
getName() |
Returns the field name.
|
int |
hashCode() |
|
java.lang.String |
toString() |
public FieldMetadata(java.lang.String name, java.lang.String className, java.lang.String declaringClassName)
EntityModel
to construct field metadata.name
- the field name.className
- the class name.declaringClassName
- the name of the class where the field is
declared.public java.lang.String getName()
public java.lang.String getClassName()
public java.lang.String getDeclaringClassName()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.