db4o 7.4

com.db4o.reflect.jdk
Class JdkField

java.lang.Object
  extended by 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.


Constructor Summary
JdkField(Reflector reflector_, java.lang.reflect.Field field_)
           
 
Method Summary
 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)
           
 void setAccessible()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdkField

public JdkField(Reflector reflector_,
                java.lang.reflect.Field field_)
Method Detail

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

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.