Automatic generation realizing method and device for entity classes

A technology of automatic generation and realization method, applied in the direction of program control device, etc., can solve the problems of low work efficiency, increased labor cost, large workload of developers, etc., to achieve the effect of convenient use, reduce coupling, and improve work efficiency

Active Publication Date: 2015-06-03
NANJING ZNV SOFTWARE CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The entity class must be a public class, and its access attribute must be set to public;
[0005] 2. The entity class must have a parameterless public constructor;
In the existing technology, these entity classes are manually written by developers, and the workload faced by developers is often very huge, which causes a large increase in labor costs to a certain extent, and its work efficiency is also low
In some applications, changes in requirements and business may also be involved. However, these changes in requirements and business will also involve the modi

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
  • Automatic generation realizing method and device for entity classes
  • Automatic generation realizing method and device for entity classes
  • Automatic generation realizing method and device for entity classes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Such as figure 1 As shown, a method for realizing the automatic generation of entity classes provided by Embodiment 1 of the present invention includes the following steps:

[0050] S10. Deploy a configuration file containing field data information of multiple entity classes;

[0051] S20. When the information system starts, read and parse the configuration file, and associate and store the parsed entity class name information and corresponding field data information in the entity information management interface;

[0052] S30. Obtain user input, and accordingly transfer the corresponding target entity class name to the entity information management interface;

[0053] S40. The entity information management interface obtains the field data information of the target entity class according to the name of the target entity class, compiles the class code after generating the class code according to at least one entity class rule, and obtains the no-parameter of the compiled ...

Embodiment 2

[0082] In another embodiment 2, the entity class automatic generation realization method provided by the present invention includes the following steps:

[0083] S60. Deploy a database containing field data information of multiple entity classes;

[0084] S70. When the information system starts, read and analyze the field data information of multiple entity classes from the database, and associate and store the parsed entity class name information and corresponding field data information in the entity information management interface ;

[0085] S80. Obtain user input, and accordingly transfer the corresponding target entity class name to the entity information management interface;

[0086] S90, and, the entity information management interface obtains the field data information of the target entity class according to the name of the target entity class, compiles the class code after generating the class code according to at least one entity class rule, and obtains the compile...

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 an automatic generation realizing method and an automatic generation realizing device for entity classes. The method comprises the steps of deploying a configuration document including field data information of a plurality of entity classes; reading and parsing the configuration document when an information system is started, and storing the name information of the parsed entity classes and the corresponding field data information into an entity information management interface; acquiring a user input, and transmitting the names of the corresponding target entity classes to an entity information management interface; acquiring the field data information of the target entity classes according to the names of the target entity classes by the entity information management interface, compiling class codes after the class codes are generated by at least one entity class rule, acquiring non-parameter constructors of the entities after the compiling, and executing the non-parameter constructors to generate and return a target entity object. By adopting the invention, a developer does not need to generate the entity classes by manual compiling or a third party tool, therefore the working efficiency of the developer can be improved.

Description

technical field [0001] The present invention relates to the technical field of computer applications, in particular to a method and device for realizing the automatic generation of entity classes. Background technique [0002] At present, in the process of information system development, it will involve the processing of a large amount of data and information, and most of the data and information need to be written by developers into entity classes, so that the system can use entity classes in different The attributes and relationships of these entity classes are needed for a long time, sometimes even in the entire life of the information system. Therefore, the entity class is particularly important for the development of the information system. [0003] The so-called entity class refers to the class used to model the information and related behaviors that must be stored. Its main responsibility is to store and manage data and information inside the information system. Enti...

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
IPC IPC(8): G06F9/44
Inventor 熊凡
Owner NANJING ZNV SOFTWARE CO LTD
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