Package com.db4o.reflect.jdk
Class JdkField
- java.lang.Object
-
- com.db4o.reflect.jdk.JdkField
-
- All Implemented Interfaces:
ReflectField
public class JdkField extends java.lang.Object implements ReflectField
Reflection implementation for Field to map to JDK reflection.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(java.lang.Object onObject)
ReflectClass
getFieldType()
The ReflectClass returned by this method should have been provided by the parent reflector.java.lang.String
getName()
java.lang.Object
indexEntry(java.lang.Object orig)
ReflectClass
indexType()
The ReflectClass returned by this method should have been provided by the parent reflector.boolean
isPublic()
boolean
isStatic()
boolean
isTransient()
void
set(java.lang.Object onObject, java.lang.Object attribute)
java.lang.String
toString()
-
-
-
Constructor Detail
-
JdkField
public JdkField(Reflector reflector_, java.lang.reflect.Field field_)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceReflectField
-
getFieldType
public ReflectClass getFieldType()
Description copied from interface:ReflectField
The ReflectClass returned by this method should have been provided by the parent reflector.- Specified by:
getFieldType
in interfaceReflectField
- Returns:
- the ReflectClass representing the field type as provided by the parent reflector
-
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interfaceReflectField
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceReflectField
-
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interfaceReflectField
-
get
public java.lang.Object get(java.lang.Object onObject)
- Specified by:
get
in interfaceReflectField
-
set
public void set(java.lang.Object onObject, java.lang.Object attribute)
- Specified by:
set
in interfaceReflectField
-
indexEntry
public java.lang.Object indexEntry(java.lang.Object orig)
- Specified by:
indexEntry
in interfaceReflectField
-
indexType
public ReflectClass indexType()
Description copied from interface:ReflectField
The ReflectClass returned by this method should have been provided by the parent reflector.- Specified by:
indexType
in interfaceReflectField
- Returns:
- the ReflectClass representing the index type as provided by the parent reflector
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-