fieldsInfo = currentObject
.getAllDeclaredTransientOrNotFields();
}
currentObject.setFields(fieldsInfo);
if (inRootObject) {
final StoreRoot4 storeRoot = (StoreRoot4) currentObject
.getObject();
FieldInfo fieldInfo;
final ClassInfo currentObjectClassInfo = currentObject
.getClassInfo();
fieldInfo = currentObjectClassInfo.getFieldInfo(
StoreRoot4.class.getName(), "dataModelIdentifier");
// fieldInfo = new FieldInfo(currentObjectClassInfo,
// "dataModelIdentifier",
// classInfoFactory.getClassInfo(int.class),
// false, false);
currentObject.setValue(
2,
fieldInfo,
new ObjectAndPersistInfo(storeRoot
.getDataModelIdentifier(), false,
classInfoFactory
.getNoProxyClassInfo(int.class)));
fieldInfo = currentObjectClassInfo.getFieldInfo(
StoreRoot4.class.getName(),
"dataRecordIdOfpersistedStaticSet");
// fieldInfo = new FieldInfo(currentObjectClassInfo,
// "dataRecordIdOfpersistedStaticSet",
// classInfoFactory.getClassInfo(Set.class),
// false, false);
Set<Long> dataRecordIdOfpersistedStaticSet = storeRoot
.getDataRecordIdOfpersistedStaticSet();
if (dataRecordIdOfpersistedStaticSet == null) {
// use PTreeSet for persistence
dataRecordIdOfpersistedStaticSet = new PTreeSet<Long>();
storeRoot
.setDataRecordIdOfpersistedStaticSet(dataRecordIdOfpersistedStaticSet);
}
currentObject
.setValue(
3,