org.neodatis.odb.core.layers.layer1.introspector
Interface IObjectIntrospector

All Known Subinterfaces:
IClientObjectIntrospector
All Known Implementing Classes:
ClientObjectIntrospector, LocalObjectIntrospector, ServerObjectIntrospector

public interface IObjectIntrospector

Interface for ObjectInstropector. It has local and Client/Server implementation.

Author:
osmadja

Method Summary
 NonNativeObjectInfo buildNnoi(java.lang.Object object, ClassInfo classInfo, AbstractObjectInfo[] values, long[] attributesIdentification, int[] attributeIds, java.util.Map<java.lang.Object,NonNativeObjectInfo> alreadyReadObjects)
           
 void clear()
           
 IClassIntrospector getClassIntrospector()
           
 AbstractObjectInfo getMetaRepresentation(java.lang.Object object, ClassInfo ci, boolean recursive, java.util.Map<java.lang.Object,NonNativeObjectInfo> alreadyReadObjects, IIntrospectionCallback callback)
          retrieve object data
 

Method Detail

getMetaRepresentation

AbstractObjectInfo getMetaRepresentation(java.lang.Object object,
                                         ClassInfo ci,
                                         boolean recursive,
                                         java.util.Map<java.lang.Object,NonNativeObjectInfo> alreadyReadObjects,
                                         IIntrospectionCallback callback)
retrieve object data

Parameters:
object - The object to get meta representation
ci - The ClassInfo
recursive - To indicate that introspection must be recursive
alreadyReadObjects - A map with already read object, to avoid cyclic reference problem
Returns:
The object info

buildNnoi

NonNativeObjectInfo buildNnoi(java.lang.Object object,
                              ClassInfo classInfo,
                              AbstractObjectInfo[] values,
                              long[] attributesIdentification,
                              int[] attributeIds,
                              java.util.Map<java.lang.Object,NonNativeObjectInfo> alreadyReadObjects)

clear

void clear()

getClassIntrospector

IClassIntrospector getClassIntrospector()