|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.persist.impl.FieldInfo
class FieldInfo
A field definition used by ComplexFormat and CompositeKeyFormat.
| Constructor Summary | |
|---|---|
FieldInfo(Field field)
|
|
| Method Summary | |
|---|---|
(package private) void |
collectRelatedFormats(Catalog catalog,
Map<String,Format> newFormats)
|
int |
compareTo(FieldInfo o)
|
boolean |
equals(Object other)
|
RawType |
getExpandedType()
Returns the type of the field, expanding parameterized types if they were declared for this field. |
(package private) static FieldInfo |
getField(List<FieldInfo> fields,
String fieldName)
|
(package private) Class |
getFieldClass()
|
(package private) static List<FieldInfo> |
getInstanceFields(Class cls)
Returns a list of all non-transient non-static fields that are declared in the given class. |
String |
getName()
Returns the name of the field. |
Format |
getType()
Returns the type of the field, without expanding parameterized types, or null if the type is an interface type or the Object class. |
(package private) void |
initialize(Catalog catalog)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
FieldInfo(Field field)
| Method Detail |
|---|
static List<FieldInfo> getInstanceFields(Class cls)
static FieldInfo getField(List<FieldInfo> fields,
String fieldName)
void collectRelatedFormats(Catalog catalog,
Map<String,Format> newFormats)
void initialize(Catalog catalog)
Class getFieldClass()
public String getName()
RawField
getName in interface RawFieldpublic Format getType()
RawField
getType in interface RawFieldpublic RawType getExpandedType()
RawFieldRawField.getType().
getExpandedType in interface RawFieldpublic int compareTo(FieldInfo o)
compareTo in interface Comparable<FieldInfo>public boolean equals(Object other)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||