Method and device for supporting additional information by POJO extension

An access method and a technology for changing information, applied in the field of computer data processing, can solve the problem that POJO cannot support additional information such as the original value before the change, so as to increase learning costs and development workload, reduce workload and difficulty, and improve development efficiency effect

Inactive Publication Date: 2012-10-31
NEUSOFT CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0024] The purpose of the embodiments of the present invention is to provide a method and device for extending POJO to transfer data, so as to solve the problem that POJO cannot support additional information such as the original value before the change in the prior art, so that the existing UI solution can be efficiently Applications

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for supporting additional information by POJO extension
  • Method and device for supporting additional information by POJO extension
  • Method and device for supporting additional information by POJO extension

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0075] see figure 1 , which is a flow chart of a method for implementing data transfer using POJOs according to an embodiment of the present invention. This embodiment provides a change summary, specifically including:

[0076] Step 101, extend POJO;

[0077] Among them, the extended POJO can be newly created or already in use;

[0078] The steps to extend POJO can specifically include:

[0079] Set the unified parent class (UniPOJO) for business objects to inh...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for achieving data transmission by utilizing POJO. The method comprises extension of POJO, wherein the extension of the POJO specifically comprises: setting unified plain old java objects (UniPOJO) that can be inherited by business objects and UniPOJOList that can be dispatched. The method further comprises: collection of change information of data, namely transferring and saving the change information of data in the same state to a group of business POJO instance objects, and encapsulating each group of business POJO instance objects into the UniPOJOList, wherein each group of business POJO inherit the UniPOJO. The change information of data is transmitted to the background program through the UniPOJOList. In the embodiment of the invention, the problem that the POJO can not support and bear the additional information such as original value before change in the prior art is resolved.

Description

technical field [0001] The invention relates to the technical field of computer data processing, in particular to a method and a device for extending a simple traditional Java object (POJO) to realize supporting additional information. Background technique [0002] The object-oriented development method is the mainstream development method in the enterprise-level application development, and the relational database is the mainstream data storage system used in the enterprise-level application environment. Objects and relational data are two manifestations of business entities. Business entities are represented as objects in memory and as relational data in the database. There are associations and inheritance relationships between objects in memory, but in a database, the relational data model cannot directly express many-to-many associations and inheritance relationships. [0003] Many lightweight object-relational mapping (ORM, Object Relational Mapping) frameworks such as...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44
Inventor 殷坤柴永春纪勇
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products