CN111399901A - State enumeration class generation method, device, server and storage medium - Google Patents
State enumeration class generation method, device, server and storage medium Download PDFInfo
- Publication number
- CN111399901A CN111399901A CN202010186057.0A CN202010186057A CN111399901A CN 111399901 A CN111399901 A CN 111399901A CN 202010186057 A CN202010186057 A CN 202010186057A CN 111399901 A CN111399901 A CN 111399901A
- Authority
- CN
- China
- Prior art keywords
- state enumeration
- class
- state
- enumeration class
- enumeration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/73—Program documentation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a state enumeration generation method, a state enumeration generation device, a state enumeration generation server and a storage medium, wherein the method comprises the following steps: acquiring state enumeration attribute information by analyzing a database field, and generating a state enumeration attribute file; generating a state enumeration class and corresponding description information according to the state enumeration class attribute file; according to the state enumeration class and the corresponding description information, a state enumeration class compiling file set is constructed; and persistently storing the state enumeration class compiled file set as a state enumeration class generation result. The embodiment of the invention reduces the manual creation of state enumeration description by developers and improves the working efficiency.
Description
Technical Field
The present invention relates to computer technologies, and in particular, to a method and an apparatus for generating state enumeration classes, a server, and a storage medium.
Background
A common Java developer generates Java code by using MyBatis reverse engineering, and if a database field defines a state type, a Java enumeration class needs to be created to describe meanings given by different states of the field. And Java enumerated classes are generally created and can only be created manually by a developer.
If the developer does not define Java enumeration classes containing different state values for the database field, the developer needs to check the definition of the database table once every time the developer uses the field, and the meanings represented by the different state values can be known without conforming to the code specification and the project maintenance; or each time a developer generates a Java description of a database, it is time consuming to manually create a corresponding state enumeration class.
Disclosure of Invention
Embodiments of the present invention provide a state enumeration type generation method, an apparatus, a server, and a storage medium, so as to reduce manual creation of state enumeration type descriptions by developers and improve work efficiency.
In one aspect, an embodiment of the present invention provides a method for generating a state enumeration class, including:
acquiring state enumeration attribute information by analyzing a database field, and generating a state enumeration attribute file;
generating a state enumeration class and corresponding description information according to the state enumeration class attribute file;
according to the state enumeration class and the corresponding description information, a state enumeration class compiling file set is constructed;
and persistently storing the state enumeration class compiled file set as a state enumeration class generation result.
In another aspect, an embodiment of the present invention provides a state enumeration class generation apparatus, including:
the attribute file generation module is used for acquiring state enumeration attribute information by analyzing the database field and generating a state enumeration attribute file;
the state enumeration class generation module is used for generating a state enumeration class and corresponding description information according to the state enumeration class attribute file;
the compiled file set building module is used for building a state enumeration type compiled file set according to the state enumeration type and the corresponding description information;
and the persistent storage module is used for persistently storing the state enumeration type compiled file set as a state enumeration type generation result.
On the other hand, an embodiment of the present invention further provides a server, where the server includes: one or more processors; a storage device, configured to store one or more programs, where when the one or more programs are executed by the one or more processors, the one or more processors implement the state enumeration class generation method according to any embodiment of the present invention.
In still another aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the state enumeration class generation method provided in any embodiment of the present invention.
According to the embodiment of the invention, the state enumeration type attribute information is acquired by analyzing the database field, so that the state enumeration type is generated and stored persistently, the problem of low working efficiency caused by manual creation of the state enumeration type description by a developer is solved, the effect of reducing manual creation of the state enumeration type description by the developer and improving the working efficiency is realized.
Drawings
Fig. 1 is a schematic flowchart of a state enumeration class generation method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a state enumeration class generation method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a state enumeration class generation apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. For example, a first module may be termed a second module, and, similarly, a second module may be termed a first module, without departing from the scope of the present application. The first module and the second module are both modules, but they are not the same module. The terms "first", "second", etc. are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
As shown in fig. 1, an embodiment of the present invention provides a state enumeration class generation method, which is suitable for use in a reverse engineering state enumeration class generation method, where the method may be performed by a state enumeration class generation device, where the device may be implemented by hardware and/or software, and the method specifically includes:
s110, acquiring state enumeration attribute information by analyzing a database field, and generating a state enumeration attribute file;
and the MyBatis executes and analyzes the field definition of the database, and reserves a plug-in interface when the Java memory data is generated, so that a user can realize other functions by self definition. In this embodiment, a plug-in is customized, illustratively, the generateenergy class is encoded to implement the plug adapter class. And when the MyBatis analyzes the configuration file and generates the Java file memory data mapped by the corresponding database, continuously executing the defined plug-in. The plug-in analyzes the memory description of the database field, wherein the analyzed database field comprises the comment content in the database code, so that when the state enumeration class of Java is generated, a comment corresponding to the state enumeration class is generated. And acquiring state enumeration type attribute information in the memory description of the database field according to a template defined by the plug-in, for example, data information related to the state enumeration type member attribute.
S120, generating a state enumeration class and corresponding description information according to the state enumeration class attribute file;
and generating a corresponding state enumeration class according to the state enumeration class attribute file matched by analysis, and setting description information such as member attributes, member methods and the like of the state enumeration class.
S130, constructing a state enumeration type compiling file set according to the state enumeration type and the corresponding description information;
the generated state enumeration classes are merged by the plug-in to form a state enumeration class compiling file set, and the state enumeration class compiling file set can be integrated with classes automatically generated by MyBatis.
S140, persistently storing the state enumeration type compiled file set as a state enumeration type generation result.
And the MyBatis framework persists the integrated compiled file class set to generate a file, and the result that the state enumeration class is generated by the user is achieved.
According to the technical scheme, the state enumeration type attribute information is acquired by analyzing the database field, so that the state enumeration type is generated and stored persistently, the problem that a developer creates the state enumeration type description manually and the working efficiency is low is solved, the effect of reducing the manual creation of the state enumeration type description by the developer and improving the working efficiency is achieved.
Example two
As shown in fig. 2, a second embodiment of the present invention provides a state enumeration class generation method, and a second embodiment of the present invention further optimizes the state enumeration class generation method based on the above technical solutions, where the method includes:
s210, traversing the memory description of the database field, and acquiring the database field with the data type of tinyint;
and traversing the memory description introspectedColumn of the database field, judging whether the memory description is of the tinyint type, and if so, indicating that the part of the field may be the memory description of the state enumeration class in the database. Therefore, the database field with the data type tinyint is selected from the database fields to further analyze and acquire the state enumeration type attribute information.
S220, analyzing the database field of tinyint according to a first regular expression to obtain enumeration content;
wherein, enumeration content is obtained according to a regular expression '[ \ D ] + ] [ \ u4e00- \ u9fa5] + ] [ \ D ] $' for subsequent extraction of enumeration values and enumeration description.
S230, analyzing the enumeration content according to a second regular expression to obtain an enumeration value; analyzing the enumeration content according to a third regular expression to obtain enumeration description;
wherein, according to ' [ \ D ] + [ \ D ] + ' and ' [ \ u4e00- \ u9fa5] +. + -. the enumeration value and the enumeration description are respectively analyzed and obtained for subsequently constructing the enumerated member attribute.
Optionally, for the database field with the data type tinyint, the database field with the data type tinyint may also be analyzed according to a fourth regular expression, and a header is obtained. Wherein, according to the regular expression '[ \ \ u4e00- \ \ u9fa5] +', extracting a title head for subsequent comment enumeration; correspondingly, the generating a state enumeration class and corresponding description information according to the state enumeration class attribute file includes: and setting the annotation content of the state enumeration class according to the header.
And automatically generating a corresponding enumeration name according to the database field definition annotation. For example:
the database has a 'RECON _ result' tinyint (4) NOT NU LL common 'reconciliation result, 1. reconciliation SUCCESS, 2. reconciliation failure' field, a RECON _ RESU L T _ ENUM enumeration class is generated, and has RECON _ RESU L T _ SUCCESS ("1", "reconciliation SUCCESS"), RECON _ RESU L T _ FAI L ("2", "reconciliation failure") members.
S240, encapsulating the analyzed and obtained fields into a JavaEnumAttr attribute object as the state enumeration type attribute file.
And encapsulating the obtained enumeration value and enumeration description and fields such as a header and the like into a JavaEnumAttr attribute object.
S250, generating the state enumeration class through a preset interface provided by a preset frame according to the JavaEnumAttr object;
wherein the state enumeration class can be generated through an interface Top L evenEnumeration provided by MyBatis.
S260, setting member attributes and member methods corresponding to the state enumeration class according to the content in the JavaEnumAttr object, and setting a static findByCode method.
S270, constructing a Generated JavaFile set according to the state enumeration class generated by Top L evenEnumeration.
Wherein, the Generated JavaFile set is constructed according to the Top L evenEnumation class obtained above and returned to MyBatis processing.
S280, persistently storing the state enumeration type compiled file set as a state enumeration type generation result.
According to the technical scheme of the embodiment, the MyBatis custom plug-in is newly added, so that the plug-in is executed after the MyBatis is generated, and the project has the function of automatically generating the state enumeration class.
EXAMPLE III
As shown in fig. 3, a state enumeration class generation device according to a third embodiment of the present invention is provided, and the state enumeration class generation device according to the third embodiment of the present invention can execute a state enumeration class-based generation method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. The state enumeration class generation device comprises a property file generation module 310, a state enumeration class generation module 320, a compiled file set construction module 330 and a persistent storage module 340.
The attribute file generating module 310 is configured to obtain state enumeration type attribute information by analyzing a database field, and generate a state enumeration type attribute file;
a state enumeration class generation module 320, configured to generate a state enumeration class and corresponding description information according to the state enumeration class attribute file;
a compiled file set constructing module 330, configured to construct a state enumeration type compiled file set according to the state enumeration type and the corresponding description information;
the persistent storage module 340 is configured to persistently store the state enumeration class compiled file set as a state enumeration class generation result.
Optionally, the property file generating module 310 includes:
a database field obtaining unit, configured to traverse the memory description of the database field and obtain the database field with a tinyint data type; an enumerated content obtaining unit, configured to analyze the database field of tinyint according to the first regular expression, and obtain enumerated content; an enumerated value obtaining unit, configured to parse the enumerated content according to a second regular expression, and obtain an enumerated value; an enumeration description obtaining unit, configured to parse the enumeration content according to a third regular expression to obtain an enumeration description; and the attribute file unit is used for encapsulating the fields acquired by analysis into a JavaEnumAttr attribute object as the state enumeration type attribute file. The property file generating module 310 further includes: and the title head acquisition unit is used for analyzing the database field of the tinyint according to the fourth regular expression to acquire a title head.
Optionally, the state enumeration class generating module 320 includes: and the annotation content setting unit is used for setting the annotation content of the state enumeration class according to the header.
Optionally, the state enumeration class generating module 320 includes:
a state enumeration class generation unit, configured to generate the state enumeration class through a preset interface provided by a preset frame according to the javaenumtr attribute object; and the description information setting unit is used for setting the member attribute and the member method corresponding to the state enumeration class and setting a static findBycode method according to the content in the JavaEnumAttr.
Optionally, the state enumeration class generating unit is specifically configured to:
the state enumeration class is generated through the Top L evenEnumeration interface provided by MyBatis.
Optionally, the compiled file set constructing module 330 is specifically configured to construct a generated java file set according to the state enumeration class generated by Top L evenEnumeration.
Example four
Fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, for example, to implement the state enumeration class generation method provided by the embodiment of the present invention, including:
acquiring state enumeration attribute information by analyzing a database field, and generating a state enumeration attribute file;
generating a state enumeration class and corresponding description information according to the state enumeration class attribute file;
according to the state enumeration class and the corresponding description information, a state enumeration class compiling file set is constructed;
and persistently storing the state enumeration class compiled file set as a state enumeration class generation result.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored thereon, and when the computer program is executed by a processor, the method for generating state enumeration classes according to the embodiments of the present invention includes:
acquiring state enumeration attribute information by analyzing a database field, and generating a state enumeration attribute file;
generating a state enumeration class and corresponding description information according to the state enumeration class attribute file;
according to the state enumeration class and the corresponding description information, a state enumeration class compiling file set is constructed;
and persistently storing the state enumeration class compiled file set as a state enumeration class generation result.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method for generating a state enumeration class, comprising:
acquiring state enumeration attribute information by analyzing a database field, and generating a state enumeration attribute file;
generating a state enumeration class and corresponding description information according to the state enumeration class attribute file;
according to the state enumeration class and the corresponding description information, a state enumeration class compiling file set is constructed;
and persistently storing the state enumeration class compiled file set as a state enumeration class generation result.
2. The method of claim 1, wherein the generating the state enumeration class attribute file by parsing the database field to obtain the state enumeration class attribute information comprises:
traversing the memory description of the database field, and acquiring the database field with the data type tinyint; analyzing the database field of tinyint according to a first regular expression to obtain enumerated content; analyzing the enumeration content according to a second regular expression to obtain an enumeration value; analyzing the enumeration content according to a third regular expression to obtain enumeration description; and encapsulating the fields acquired by analysis into a JavaEnumAttr attribute object as the state enumeration class attribute file.
3. The method according to claim 2, wherein the generating a state enumeration class and corresponding description information according to the state enumeration class attribute file comprises:
generating the state enumeration class through a preset interface provided by a preset frame according to the JavaEnumAttr attribute object; and setting member attributes and member methods corresponding to the state enumeration class and setting a static findByCode method according to the content in the JavaEnumAttr object.
4. The method according to claim 3, wherein the generating the state enumeration class according to the JavaEnumAttr object through a preset interface provided by a preset framework comprises:
the state enumeration class is generated through the Top L evenEnumeration interface provided by MyBatis.
5. The method according to claim 4, wherein constructing a state enumeration class compiled file set according to the state enumeration class and corresponding description information comprises:
and constructing a GeneratedJavaFile set according to the state enumeration class generated by Top L evenEnumeration.
6. The method according to claim 2, wherein after traversing the memory description of the database field and obtaining the database field with the data type tinyint, the method further comprises:
and analyzing the database field of the tinyint according to a fourth regular expression to obtain a header.
7. The method according to claim 6, wherein the generating a state enumeration class and corresponding description information according to the state enumeration class attribute file comprises:
and setting the annotation content of the state enumeration class according to the header.
8. A state enumeration class generation apparatus, comprising:
the attribute file generation module is used for acquiring state enumeration attribute information by analyzing the database field and generating a state enumeration attribute file;
the state enumeration class generation module is used for generating a state enumeration class and corresponding description information according to the state enumeration class attribute file;
the compiled file set building module is used for building a state enumeration type compiled file set according to the state enumeration type and the corresponding description information;
and the persistent storage module is used for persistently storing the state enumeration type compiled file set as a state enumeration type generation result.
9. A server, characterized in that the server comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the state enumeration class generation method of any of claims 1-7.
10. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing the state enumeration class generation method according to any one of claims 1-7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010186057.0A CN111399901B (en) | 2020-03-17 | 2020-03-17 | State enumeration class generation method, device, server and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010186057.0A CN111399901B (en) | 2020-03-17 | 2020-03-17 | State enumeration class generation method, device, server and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111399901A true CN111399901A (en) | 2020-07-10 |
| CN111399901B CN111399901B (en) | 2023-11-14 |
Family
ID=71432591
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010186057.0A Active CN111399901B (en) | 2020-03-17 | 2020-03-17 | State enumeration class generation method, device, server and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111399901B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112799718A (en) * | 2021-01-15 | 2021-05-14 | 亿企赢网络科技有限公司 | A method, device, electronic device and storage medium for generating an enumeration document |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040049764A1 (en) * | 2002-09-09 | 2004-03-11 | Bloch Joshua J. | Object-oriented enumerated type facility |
| CN110134427A (en) * | 2018-02-08 | 2019-08-16 | 北京京东尚科信息技术有限公司 | A method and device for generating code files |
| CN110795197A (en) * | 2019-11-08 | 2020-02-14 | 深圳前海环融联易信息科技服务有限公司 | Method and device for internationalizing enumerated classes, computer equipment and storage medium |
-
2020
- 2020-03-17 CN CN202010186057.0A patent/CN111399901B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040049764A1 (en) * | 2002-09-09 | 2004-03-11 | Bloch Joshua J. | Object-oriented enumerated type facility |
| CN110134427A (en) * | 2018-02-08 | 2019-08-16 | 北京京东尚科信息技术有限公司 | A method and device for generating code files |
| CN110795197A (en) * | 2019-11-08 | 2020-02-14 | 深圳前海环融联易信息科技服务有限公司 | Method and device for internationalizing enumerated classes, computer equipment and storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112799718A (en) * | 2021-01-15 | 2021-05-14 | 亿企赢网络科技有限公司 | A method, device, electronic device and storage medium for generating an enumeration document |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111399901B (en) | 2023-11-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110347598B (en) | Test script generation method and device, server and storage medium | |
| CN110780879B (en) | Decision execution method, device, equipment and medium based on intelligent compiling technology | |
| CN117909355A (en) | Database query instruction generation method, device, computer equipment and storage medium | |
| CN110688544A (en) | Method, device and storage medium for querying database | |
| CN110968305A (en) | Small program visualization generation method, device, device and storage medium | |
| CN108255837A (en) | A kind of SQL resolvers and method | |
| CN113296786A (en) | Data processing method and device, electronic equipment and storage medium | |
| CN113094625A (en) | Page element positioning method and device, electronic equipment and storage medium | |
| CN111078217A (en) | Brain graph generation method, apparatus and computer-readable storage medium | |
| CN114691161A (en) | Key-Value-based software system configuration method and device and electronic equipment | |
| CN116360735A (en) | Form generation method, device, equipment and medium | |
| CN116414689A (en) | Interface parameter verification method and system based on reflection mechanism | |
| CN114356322B (en) | Communication mapping method, device, equipment and storage medium for device configuration | |
| CN111506380A (en) | Rendering method, device, equipment and storage medium | |
| CN111399901A (en) | State enumeration class generation method, device, server and storage medium | |
| CN112860584A (en) | Test method and device based on workflow model | |
| CN118152373A (en) | Data migration method, device, equipment, medium and program product of database | |
| CN112445790A (en) | Report data storage method, device, equipment and medium | |
| CN113282293B (en) | Code identification method, device, equipment and storage medium | |
| CN116225902A (en) | Method, device and equipment for generating test cases | |
| CN115629828A (en) | State machine display method, device and medium | |
| CN114153868A (en) | Method, device, electronic device and storage medium for obtaining inspection rule file | |
| CN113687881A (en) | Metadata calling method and device, electronic equipment and storage medium | |
| CN112214981A (en) | Demonstration file generation method and device, electronic equipment and storage medium | |
| CN113687880A (en) | Method, device, equipment and medium for calling component |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.) Applicant after: Shenzhen Mingshu Information Co.,Ltd. Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.) Applicant before: Shenzhen Suishou Jinfu Information Technology Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |