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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JdkField
public JdkField(Reflector reflector_,
java.lang.reflect.Field field_)
getName
public java.lang.String getName()
- Specified by:
getName
in interface ReflectField
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 interface ReflectField
- Returns:
- the ReflectClass representing the field type as provided by the parent reflector
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interface ReflectField
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interface ReflectField
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface ReflectField
setAccessible
public void setAccessible()
get
public java.lang.Object get(java.lang.Object onObject)
- Specified by:
get
in interface ReflectField
set
public void set(java.lang.Object onObject,
java.lang.Object attribute)
- Specified by:
set
in interface ReflectField
indexEntry
public java.lang.Object indexEntry(java.lang.Object orig)
- Specified by:
indexEntry
in interface ReflectField
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 interface ReflectField
- Returns:
- the ReflectClass representing the index type as provided by the parent reflector
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 2007 db4objects Inc. All rights reserved.