Class ptype = TypeHelper.GetType(ptypeId);
if (ptype == null) {
throw new ClassNotFoundException("Cannot find class with typId,target class: " + f.getType().getName() + ",typeId:" + ptypeId);
}
if (IGaeaSerializer.class.isAssignableFrom(ptype)) {
IGaeaSerializer value = (IGaeaSerializer) ptype.newInstance();
value.Derialize(inStream);
f.set(obj, value);
} else {
Object value = SerializerFactory.GetSerializer(ptype).ReadObject(inStream, f.getType());
f.set(obj, value);
}