org.neodatis.odb.core.layers.layer2.instance
Interface FullInstantiationHelper
-
public interface FullInstantiationHelperIn some cases, classes does not have empty constructors or constructors that can be called with null parameters. So when NeoDatis cannot create empty instances by Reflection, the user can help NeoDatis registering a full instantiation helper. This Full instantiation Helper will receive the data of the object in a NonNativeObjectInfo (which is a meta representation of an java insatnce that contain all data) The user then needs to get the data from the nnoi (NonNativeObjectInfo) and build the instance to return to NeoDatis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Objectinstantiate(NonNativeObjectInfo nnoi)
-
-
-
Method Detail
-
instantiate
java.lang.Object instantiate(NonNativeObjectInfo nnoi)
- Parameters:
nnoi- The NonNativeObjectInfo that contain all the data of the object that must be built- Returns:
- The java instance
-
-
DataMelt 3.0 © DataMelt by jWork.ORG