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 |
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 representationci
- The ClassInforecursive
- To indicate that introspection must be recursivealreadyReadObjects
- 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()