protected SFSDataWrapper transformObject ( Object value ) { ResponseParamsClass struct = null ; if ( context != null ) struct = context . getResponseParamsClass ( value . getClass ( ) ) ; if ( struct == null ) struct = new ResponseParamsClass ( value . getClass ( ) ) ; ISFSObject sfsObject = new ResponseParamSerializer ( ) . object2params ( struct , value ) ; return new SFSDataWrapper ( SFSDataType . SFS_OBJECT , sfsObject ) ; }
Transform a java pojo object to sfsobject