db4o 6.1

com.db4o.reflect.self
Class SelfReflector

java.lang.Object
  extended by com.db4o.reflect.self.SelfReflector
All Implemented Interfaces:
Reflector

public class SelfReflector
extends java.lang.Object
implements Reflector


Constructor Summary
SelfReflector(SelfReflectionRegistry registry)
           
 
Method Summary
 ReflectArray array()
          returns an IArray object, the equivalent to java.lang.reflect.Array.
 boolean constructorCallsSupported()
          specifiy whether parameterized Constructors are supported.
 java.lang.Object deepClone(java.lang.Object context)
           
 ReflectClass forClass(java.lang.Class clazz)
          returns an IClass for a Class
 ReflectClass forName(java.lang.String className)
          returns an IClass class reflector for a class name or null if no such class is found
 ReflectClass forObject(java.lang.Object a_object)
          returns an IClass for an object or null if the passed object is null.
 boolean isCollection(ReflectClass claxx)
           
 void setParent(Reflector reflector)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfReflector

public SelfReflector(SelfReflectionRegistry registry)
Method Detail

array

public ReflectArray array()
Description copied from interface: Reflector
returns an IArray object, the equivalent to java.lang.reflect.Array.

Specified by:
array in interface Reflector

constructorCallsSupported

public boolean constructorCallsSupported()
Description copied from interface: Reflector
specifiy whether parameterized Constructors are supported.

The support of Constructors is optional. If Constructors are not supported, every persistent class needs a public default constructor with zero parameters.

Specified by:
constructorCallsSupported in interface Reflector

forClass

public ReflectClass forClass(java.lang.Class clazz)
Description copied from interface: Reflector
returns an IClass for a Class

Specified by:
forClass in interface Reflector

forName

public ReflectClass forName(java.lang.String className)
Description copied from interface: Reflector
returns an IClass class reflector for a class name or null if no such class is found

Specified by:
forName in interface Reflector

forObject

public ReflectClass forObject(java.lang.Object a_object)
Description copied from interface: Reflector
returns an IClass for an object or null if the passed object is null.

Specified by:
forObject in interface Reflector

isCollection

public boolean isCollection(ReflectClass claxx)
Specified by:
isCollection in interface Reflector

setParent

public void setParent(Reflector reflector)
Specified by:
setParent in interface Reflector

deepClone

public java.lang.Object deepClone(java.lang.Object context)

db4o 6.1