JP2005100198A - Programing device, programing method, program, and recording medium - Google Patents

Programing device, programing method, program, and recording medium Download PDF

Info

Publication number
JP2005100198A
JP2005100198A JP2003334589A JP2003334589A JP2005100198A JP 2005100198 A JP2005100198 A JP 2005100198A JP 2003334589 A JP2003334589 A JP 2003334589A JP 2003334589 A JP2003334589 A JP 2003334589A JP 2005100198 A JP2005100198 A JP 2005100198A
Authority
JP
Japan
Prior art keywords
item
code
program
information
data
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
Application number
JP2003334589A
Other languages
Japanese (ja)
Other versions
JP4695331B2 (en
Inventor
Hiroyuki Nakagawa
裕之 中川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon IT Solutions Inc
Original Assignee
Canon Software Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Canon Software Inc filed Critical Canon Software Inc
Priority to JP2003334589A priority Critical patent/JP4695331B2/en
Publication of JP2005100198A publication Critical patent/JP2005100198A/en
Application granted granted Critical
Publication of JP4695331B2 publication Critical patent/JP4695331B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To dramatically enhance productivity, maintenability and versatility by defining the definition of the preparation of a tabulation table by a Web application in the framework of task specifications, and using the definition of the task application and the definition of the tabulation table which are identical. <P>SOLUTION: The information of a plurality of data items showing their arrangement in a database and information to designate the data items to be tabulated are preliminarily stored in an input/output table 109. A code generating part 107 is characterized by generating a "program code to generate and display a tabulation table to tabulate data corresponding to the data items" based on the information of each data item and the information to designate the data items to be tabulated stored in the input/output table 109. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、集計表とそれを制御するウェブアプリケーションの一連のプログラムコードを生成するプログラム生成装置およびプログラム生成方法およびプログラムおよび記録媒体に関するものである。   The present invention relates to a program generation apparatus, a program generation method, a program, and a recording medium that generate a summary table and a series of program codes of a web application that controls the summary table.

従来、アプリケーションにおける集計表作成ではデータテーブルに蓄えられた情報のうち、特定の情報を抽出することをねらった、特定観点のデータ集計を行い、集計表を作成する専用プログラムが提供されていた。   Conventionally, when creating a summary table in an application, a dedicated program has been provided for creating a summary table by performing a data summary from a specific viewpoint, aiming to extract specific information from the information stored in the data table.

しかし、その様な手段ではデータテーブルの仕様変更や必要とされる情報の観点の変化の度に、新しく集計を行い集計表を作成するプログラムを作成しなければならなくなり、時間とコストの負担が大きいという問題があった。   However, with such a method, every time the specification of the data table is changed or the viewpoint of the required information is changed, it is necessary to create a program for creating a new tabulation and creating a tabulation table. There was a problem of being big.

この問題に対し特開2000−315242号公報に示される「集計表作成装置および集計表作成プログラム記憶媒体」では、複数のDBの項目を読みとり、その項目を画面上に集計表示し、ユーザーが集計表の項目として必要とする項目を選択し、どのような処理を行わせるか指示することで、データテーブルのデータから値を集計し、集計表として画面に表示するという技術が提示されている。   To solve this problem, the “tabulation table creation device and the tabulation table creation program storage medium” disclosed in Japanese Patent Application Laid-Open No. 2000-315242 reads items of a plurality of DBs, displays the items on the screen, and displays the totals. A technique has been proposed in which values are selected from data in a data table and displayed on a screen as a total table by selecting a necessary item as a table item and instructing what kind of processing is to be performed.

このように集計表の作成を単純化することで生産性が向上し、データテーブルの仕様変更や情報の観点の変化に柔軟に対応することが出来るようになった。
特開2000−315242号公報
By simplifying the creation of the summary table in this way, productivity has improved, and it has become possible to flexibly cope with changes in the specifications of data tables and changes in the viewpoint of information.
JP 2000-315242 A

しかしながら、上記特許文献1に示される従来の集計表作成装置は、集計表を作る専用アプリケーションを本来の業務アプリケーションとは別に用意するものであり、集計表の定義は業務アプリケーションとは別に定義しなくてはならず、非常に煩雑であった。   However, the conventional summary table creation device disclosed in Patent Document 1 prepares a dedicated application for creating a summary table separately from the original business application, and the definition of the summary table is not defined separately from the business application. It must not be very complicated.

また、上記特許文献1に示される従来の集計表作成装置では、業務アプリケーションとの連携には変換・インポートプログラム等が必要となり、開発に時間がかかってしまい非効率的であるという問題点があった。   In addition, the conventional tabulation table creation apparatus disclosed in Patent Document 1 requires a conversion / import program or the like for cooperation with a business application, which takes time for development and is inefficient. It was.

さらに、上記特許文献1に示される従来の集計表作成装置は、集計表のソート順変更などの単純な仕様変更があった場合には、再度、集計表の定義を行わなければならないという問題点があり、生産性、保守性、汎用性に問題がある。   Further, the conventional summary table creation device disclosed in Patent Document 1 has a problem that the summary table must be defined again when there is a simple specification change such as a change in the sort order of the summary table. There are problems with productivity, maintainability, and versatility.

本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、複数のデータ項目のデータベースへの配置と前記いずれかのデータ項目を集計すべきデータ項目に指定する集計項目指定情報とを記憶手段に記憶しておき、該記憶手段に記憶される前記各データ項目の情報及び集計項目指定情報とに基づいて「前記データ項目に対応するデータを集計する集計表を生成表示するプログラムコード」を生成するので、業務仕様の枠組みの中で集計表の生成と表示について定義し、自動生成できる。また、業務アプリケーションの定義と集計表の定義は同一のものを使用できるので生産性、保守性を格段に向上することができるプログラム生成装置およびプログラム生成方法およびプログラムおよび記録媒体を提供することである。   The present invention has been made in order to solve the above-described problems, and an object of the present invention is to arrange a plurality of data items in a database and totalize designating one of the data items as a data item to be totaled. The item designation information is stored in the storage means, and based on the information of each data item and the summary item designation information stored in the storage means, a “summary table for summing up data corresponding to the data items is generated. "Program code to be displayed" is generated, so the generation and display of summary tables can be defined and automatically generated within the framework of business specifications. Another object of the present invention is to provide a program generation device, a program generation method, a program, and a recording medium that can significantly improve productivity and maintainability because the same business application definition and summary table definition can be used. .

本発明の第1の発明は、ウェブアプリケーションプログラムを生成するプログラム生成装置において、データベースへの配置を示す複数のデータ項目の情報及び集計すべきデータ項目を指定する情報とを記憶する記憶手段(図1に示す外部記憶装置104内の入出力テーブル109に格納されれる業務処理情報(図10))と、前記記憶手段に記憶される前記各データ項目の情報及び集計すべきデータ項目を指定する情報とに基づいて、「前記データ項目に対応するデータを集計する集計表を生成表示するプログラムコード」を生成する生成手段(図1に示すコード生成部107,図16のステップS503,S504,図17,図18)とを有することを特徴とする。   According to a first aspect of the present invention, in a program generation device for generating a web application program, storage means for storing information on a plurality of data items indicating arrangement in a database and information for designating data items to be aggregated (FIG. 1 and business process information (FIG. 10) stored in the input / output table 109 in the external storage device 104, information specifying each data item stored in the storage means, and information specifying the data items to be aggregated Based on the above, generation means (code generation unit 107 shown in FIG. 1, steps S503, S504 in FIG. 16, steps S503, FIG. 17) that generates “a program code for generating and displaying a summary table for aggregating data corresponding to the data items” , FIG. 18).

本発明の第2の発明は、前記記憶手段は、前記集計表の種別を示す情報(図4に示す入出力テーブル109内の列5の表示分類)をも記憶するものであり、前記生成手段は、前記記憶手段に記憶される集計表の種別を示す情報に基づいて、「前記種別を示す情報に対応する集計表を生成表示するプログラムコード」を生成する(図17のステップS603〜S607)ことを特徴とする。   According to a second aspect of the present invention, the storage means also stores information indicating the type of the tabulation table (display classification of column 5 in the input / output table 109 shown in FIG. 4), and the generation means Generates “a program code for generating and displaying a summary table corresponding to the information indicating the type” based on the information indicating the type of the summary table stored in the storage unit (steps S603 to S607 in FIG. 17). It is characterized by that.

本発明の第3の発明は、前記生成手段は、前記記憶手段に記憶されるデータ項目に基づいて、「前記データ項目によりソート表示処理可能な集計表を生成表示するプログラムコード」を生成する(図17のステップS610)ことを特徴とする。   According to a third aspect of the present invention, the generating means generates "program code for generating and displaying a summary table that can be sorted and displayed by the data items" based on the data items stored in the storage means ( Step S610 in FIG. 17 is characterized.

本発明の第4の発明は、前記記憶手段は、前記各データ項目の情報毎に、当該データ項目を前記ソート表示処理の対象とするか否かを特定する情報(図4に示す入出力テーブル109内の列10のソート機能)をも記憶するものであり、前記生成手段は、「前記ソート表示処理の対象となるデータ項目によりソート表示処理可能な集計表を生成表示するプログラムコード」を生成する(図17のステップS609,S610)ことを特徴とする。   According to a fourth aspect of the present invention, for each piece of information of each data item, the storage means specifies information specifying whether or not the data item is the target of the sort display process (the input / output table shown in FIG. 4). 109 is also stored, and the generation unit generates “a program code for generating and displaying a summary table that can be sorted and displayed by the data item to be sorted and displayed”. (Steps S609 and S610 in FIG. 17).

本発明の第5の発明は、ウェブアプリケーションプログラムを生成するプログラム生成方法において、予めデータベースへの配置を示す複数のデータ項目の情報及び集計すべきデータ項目を指定する情報とを記憶する記憶手段に記憶される前記各データ項目の情報及び集計すべきデータ項目を指定する情報とに基づいて、「該データ項目に対応するデータを集計する集計表を生成表示するプログラムコード」を生成する生成工程(図16のステップS503,S504,図17,図18)を有することを特徴とする。   According to a fifth aspect of the present invention, in the program generation method for generating the web application program, the storage means stores in advance information on a plurality of data items indicating arrangement in the database and information specifying data items to be aggregated. A generation step of generating “a program code for generating and displaying an aggregation table for aggregating data corresponding to the data items” based on the stored information on each data item and information specifying the data items to be aggregated ( Steps S503 and S504 in FIG. 16 and FIGS. 17 and 18) are provided.

本発明の第6の発明は、第5の発明に記載されたプログラム生成方法を実行するためのプログラムであることを特徴とする。   A sixth invention of the present invention is a program for executing the program generation method described in the fifth invention.

本発明の第7の発明は、第5の発明に記載されたプログラム生成方法を実行するためのプログラムを記録媒体にコンピュータが読み取り可能に記憶させたことを特徴とする。   A seventh aspect of the present invention is characterized in that a program for executing the program generation method described in the fifth aspect is stored in a recording medium so as to be readable by a computer.

本発明によれば、データベースへの配置を示す複数のデータ項目の情報及び集計すべきデータ項目を指定する情報とを記憶手段に記憶しておき、該記憶手段に記憶される前記各データ項目の情報及び集計すべきデータ項目を指定する情報とに基づいて「前記データ項目に対応するデータを集計する集計表を生成表示するプログラムコード」を生成するので、業務仕様の枠組みの中で集計表の生成と表示について定義し、自動生成できる。   According to the present invention, information on a plurality of data items indicating arrangement in a database and information specifying data items to be aggregated are stored in a storage means, and each of the data items stored in the storage means is stored. Based on the information and the information that specifies the data items to be aggregated, a "program code for generating and displaying a summary table for aggregating data corresponding to the data items" is generated. Generation and display can be defined and automatically generated.

また、ウェブアプリケーションによる集計表の生成において、その定義を業務仕様の枠組みの中で定義でき、業務アプリケーションの定義と集計表の定義は同一のものを使用できるので生産性、保守性、汎用性を格段に向上することができる。   In addition, when generating a summary table by a web application, the definition can be defined within the framework of business specifications, and the same business application definition and summary table definition can be used, thus improving productivity, maintainability, and versatility. It can be significantly improved.

さらに、生成された集計表において、項目のソートについては再度定義を変更する必要なく集計表示された画面からリアルタイムに変更できるコードが自動的に生成されるため、生産性、保守性の向上につながる。   Furthermore, in the generated summary table, code that can be changed in real time is automatically generated from the displayed screen without having to change the definition for sorting items again, leading to improved productivity and maintainability. .

また、集計表の定義に変更を加えることなく、一覧表示と集計表の切り替えが相互にでき、それらの仕組みが自動生成されるので生産性、汎用性を格段に向上することができる等の効果を奏する。   In addition, it is possible to switch between the list display and the summary table without changing the definition of the summary table, and the mechanism is automatically generated so that the productivity and versatility can be greatly improved. Play.

以下、図を参照して本発明のアプリケーション開発システムについて説明する。   The application development system of the present invention will be described below with reference to the drawings.

図1は、本発明の一実施形態を示すプログラム生成装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of a program generation apparatus showing an embodiment of the present invention.

図において、101は入力装置で、キーボードやマウス等のポインティングデバイス等に相当し、業務仕様情報(データ項目のデータベースへの配置とデータ項目間の関係、即ちあるデータがどのような条件のもとにどのようなデータから求められるかを示す情報等)の入力を行うことが可能である。   In the figure, reference numeral 101 denotes an input device, which corresponds to a pointing device such as a keyboard or a mouse, and has business specification information (arrangement of data items in a database and the relationship between data items, that is, under what conditions certain data is present) It is possible to input information indicating what kind of data is to be obtained.

102は表示装置で、CRT,LCD等で構成され、業務仕様情報の入力画面や、該入力画面から入力された業務仕様情報、生成されたプログラムコード等を表示可能である。104はハードディスク等の外部記憶装置で、入力された業務仕様を記憶するための入出力テーブル109、生成されたプログラムコード(JSPコード112,サーブレット(Servlet)コード113,Beanコード114)等を記憶するものである。   Reference numeral 102 denotes a display device, which is composed of a CRT, LCD, or the like, and can display a business specification information input screen, business specification information input from the input screen, a generated program code, and the like. An external storage device 104 such as a hard disk stores an input / output table 109 for storing input business specifications, generated program codes (JSP code 112, servlet code 113, bean code 114), and the like. Is.

103は処理装置で、CPU,ROM,RAM等から構成され、CPUがROM,外部記憶装置104又はその他の記録媒体に格納されるプログラムをRAM上にロードして実行することにより実現されるものであり、画面制御部105,コード生成部107を備える。   A processing unit 103 includes a CPU, a ROM, a RAM, and the like, and is realized by the CPU loading and executing a program stored in the ROM, the external storage device 104, or other recording medium on the RAM. And includes a screen control unit 105 and a code generation unit 107.

画面制御部105は、入力装置101から業務仕様情報の入力を行うために表示装置102の画面(不図示)を制御する業務仕様記述部116を有する。   The screen control unit 105 includes a business specification description unit 116 that controls a screen (not shown) of the display device 102 in order to input business specification information from the input device 101.

コード生成部107は、入力装置101から入力された又は外部記憶装置104から読み出された業務仕様情報に基づいてプログラムコード(JSPコード112,サーブレット(Servlet)コード113,Beanコード114)を生成し、外部記憶装置104に記憶させる。   The code generation unit 107 generates a program code (JSP code 112, servlet code 113, bean code 114) based on the business specification information input from the input device 101 or read from the external storage device 104. And stored in the external storage device 104.

108は全体制御部で、画面制御部105,コード生成部107等の各部の制御を行う。   An overall control unit 108 controls each unit such as the screen control unit 105 and the code generation unit 107.

図2は、図1に示したコード生成部107によって生成したサーブレット、JSP、およびBeanを利用したウェブアプリケーションシステムの全体構成の一例を示す図である。   FIG. 2 is a diagram showing an example of the entire configuration of a web application system using a servlet, JSP, and Bean generated by the code generation unit 107 shown in FIG.

コード生成部107によって生成されたサーブレット、JSP、およびBeanは、それぞれ実行可能な状態で、サーバ304側のアプリケーションサーバ306上に配置される。   The servlet, JSP, and Bean generated by the code generation unit 107 are arranged on the application server 306 on the server 304 side in an executable state.

このWebアプリケーションシステムは、クライアント301からウェブブラウザ302によって利用される。ウェブブラウザ302からJSP309にアクセスすることにより、HTMLページ303を生成し、クライアント301側に返送する。そして、ウェブブラウザ302上には、JSP309から送信されるHTMLページ303が表示される。   This Web application system is used by the Web browser 302 from the client 301. By accessing the JSP 309 from the web browser 302, an HTML page 303 is generated and returned to the client 301 side. Then, an HTML page 303 transmitted from the JSP 309 is displayed on the web browser 302.

また、Webブラウザ302からのリクエストは、HTTP経由でサーバ304側に送信される。サーバ304にはHTTPサーバ305とアプリケーションサーバ306があり、アプリケーションサーバ306にはサーブレットやJSPの実行環境が含まれている。   A request from the Web browser 302 is transmitted to the server 304 side via HTTP. The server 304 includes an HTTP server 305 and an application server 306, and the application server 306 includes a servlet and JSP execution environment.

サーバ304側にリクエストが送信されると、リクエストに応じて該当するサーブレット307が起動される。サーブレット307は、対応するBean308に処理を要求する。さらに、Bean308はDBアクセスオブジェクト310を利用してデータベース311にアクセスし、業務に関する処理やデータ加工などを行い、その処理結果を保持する。DBアクセスオブジェクト310は、業務を分析、設計した結果、作成されるクラスや、再利用可能な既存のクラスである。   When a request is transmitted to the server 304 side, the corresponding servlet 307 is activated according to the request. The servlet 307 requests the corresponding Bean 308 to perform processing. Further, the Bean 308 accesses the database 311 using the DB access object 310, performs business-related processing and data processing, and holds the processing result. The DB access object 310 is a class created as a result of analyzing and designing a business, or an existing class that can be reused.

次に、サーブレット307からJSP309にBean308を渡し、JSP309を呼び出す。JSP309は、Bean308で保持する処理結果を参照して、HTMLページを生成し、クライアント301側に返送する。クライアント301側に返送されたHTMLページは、Webブラウザ302上に表示される。   Next, the Bean 308 is passed from the servlet 307 to the JSP 309 and the JSP 309 is called. The JSP 309 refers to the processing result held by the Bean 308, generates an HTML page, and returns it to the client 301 side. The HTML page returned to the client 301 is displayed on the Web browser 302.

サーブレット307は、Webブラウザ302からのリクエストの受け付け、Bean308への処理要求、およびJSP309の呼び出しという、それぞれの間をつなぎ、制御する役割を持つ。JSP309はHTMLページを出力するための表示に関することを受け持ち、Bean308はデータベース311へのアクセス等の業務に関する処理を受け持つ。Bean308やJSP309を利用せず、サーブレット307のみでWebブラウザ302からのリクエストを処理することは可能であるが、Bean308やJSP309を利用してそれぞれの役割を明確に分離することで、機能分担を簡潔に把握することができる。   The servlet 307 has a role of controlling the connection between receiving requests from the Web browser 302, processing requests to the Bean 308, and calling the JSP 309. The JSP 309 is responsible for the display for outputting the HTML page, and the Bean 308 is responsible for processing related to operations such as access to the database 311. Although it is possible to process a request from the Web browser 302 using only the servlet 307 without using the Bean 308 or JSP 309, the role sharing is simplified by clearly separating each role using the Bean 308 or JSP 309. Can grasp.

図3は、本発明のプログラム生成装置における第1の制御処理手順の一例を示すフローチャートであり、図1に示した処理装置103の全体制御部108の動作に対応する。なお、S101〜S105は各ステップを示す。   FIG. 3 is a flowchart showing an example of a first control processing procedure in the program generation apparatus of the present invention, and corresponds to the operation of the overall control unit 108 of the processing apparatus 103 shown in FIG. In addition, S101-S105 show each step.

図1に示した処理装置103は、コード生成する業務仕様(入出力テーブル)の入力を行う入力モードと、入力された業務仕様(入出力テーブル)からプログラムコードを生成する生成モードとを有する。   The processing apparatus 103 shown in FIG. 1 has an input mode for inputting a business specification (input / output table) for generating a code and a generation mode for generating a program code from the input business specification (input / output table).

まず、全体制御部108が起動されると、ステップS101において、入力装置101からオペレータの指示により選択されたモードが生成モードか入力モードかを判定し、入力モードが選択されたと判定した場合には、ステップS102に進み、全体制御部108は、画面制御部105を起動する。   First, when the overall control unit 108 is activated, in step S101, it is determined whether the mode selected by the operator's instruction from the input device 101 is the generation mode or the input mode, and if it is determined that the input mode has been selected. In step S102, the overall control unit 108 activates the screen control unit 105.

起動された画面制御部105は、ステップS103において、業務仕様記述部116により業務仕様入力画面(不図示)を表示させ、生成するウェブアプリケーションのアプリケーション名,オペレータからの業務仕様の一形態である入出力テーブルへの項目入力を受け付け、該入出力テーブルを外部記憶装置104に格納し、処理を終了する。   In step S103, the activated screen control unit 105 causes the business specification description unit 116 to display a business specification input screen (not shown), and the application name of the web application to be generated, which is a form of business specifications from the operator. An item input to the output table is accepted, the input / output table is stored in the external storage device 104, and the process ends.

一方、ステップS101において、入力装置101からオペレータの指示により選択されたモードが生成モードであると判定した場合には、ステップS104に進み、全体制御部108は、外部記憶装置104に格納された入出力テーブルを読み出し、該読み出した入出力テーブル内の業務仕様情報に基づいてコード生成を行う。   On the other hand, if it is determined in step S101 that the mode selected by the operator's instruction from the input device 101 is the generation mode, the process proceeds to step S104, and the overall control unit 108 receives the input stored in the external storage device 104. The output table is read, and code generation is performed based on the business specification information in the read input / output table.

そして、ステップS105において、全体制御部108は、生成されたコードを、オペレータの指示により表示装置102に表示したり、外部記憶装置104に書き込む出力処理を行う。   In step S <b> 105, the overall control unit 108 performs an output process of displaying the generated code on the display device 102 or writing to the external storage device 104 in accordance with an operator instruction.

以下、図4を参照して、本発明のプログラム生成装置における業務仕様情報(入出力テーブル)について説明する。図示しない入力画面から入力される業務仕様情報は、内部的には図4に示すような入出力テーブルの形式で保存される。   Hereinafter, with reference to FIG. 4, the business specification information (input / output table) in the program generation apparatus of the present invention will be described. Business specification information input from an input screen (not shown) is stored internally in the form of an input / output table as shown in FIG.

図4は、本発明のプログラム生成装置における業務仕様情報(図1に示した入出力テーブル109)について説明する模式図である。   FIG. 4 is a schematic diagram for explaining the business specification information (the input / output table 109 shown in FIG. 1) in the program generation apparatus of the present invention.

図4において、列1は、データファイル番号を示したものであり、データファイルを構成するデータ項目として列2のデータファイル項目枝番がある。   In FIG. 4, column 1 indicates the data file number, and there is a data file item branch number of column 2 as a data item constituting the data file.

列3はデータファイルの名称であり、列4はデータファイル項目枝番に対応する各データ項目の名称である。   Column 3 is the name of the data file, and column 4 is the name of each data item corresponding to the data file item branch number.

列5は、集計表の形式を指定するための表示分類を示すものであり、一次元表(後述する図8,図9に示す)であることを示す「H1」、又は二次元表(後述する図10,図11に示す)であること示す「H2」、又は一覧表(後述する図12に示す)であることを示す「H0」が指定される。なお、列5に「H1」,「H2」,「H0」のいずれかが指定される項目は、表には表示されないルート項目を示す。   Column 5 shows the display classification for designating the form of the tabulation table, “H1” indicating a one-dimensional table (shown in FIGS. 8 and 9 described later), or a two-dimensional table (described later). "H2" indicating that the data is a list (shown in FIG. 12 to be described later) or "H0" is specified. Note that an item for which any one of “H1”, “H2”, and “H0” is specified in column 5 indicates a route item that is not displayed in the table.

列6は、実際に数を集計する項目とその集計方法を指定するための演算分類を示すものであり、「T1」が指定された場合には一次元表または二次元表において縦の合計演算を行うことを示しており、「T2」が指定された場合には2次元表において横の合計演算を行うことを示している。   Column 6 shows the items for actually counting the numbers and the calculation classification for specifying the counting method. When “T1” is specified, the vertical total calculation is performed in the one-dimensional table or the two-dimensional table. When “T2” is designated, the horizontal total calculation is performed in the two-dimensional table.

列7は加工式を示すものであり、図5に示すように、この加工式に「<」が指定された場合には、指定された項目をキーに表の内容を昇順で表示することを示し、「>」が指定された場合には、指定された項目をキーに表の内容を降順で表示すること示す。また、この加工式に、「*」又は「**」が指定された場合には、指定された親項目の単位に列6の演算分類で「T1」又は「T2」が指定された項目の値を集計し表示する(但し、「*」の場合は対象データが2件以上の場合のみ表示する)ことを示す。   Column 7 shows the processing formula. As shown in FIG. 5, when "<" is specified in this processing formula, the contents of the table are displayed in ascending order using the specified item as a key. When “>” is designated, the contents of the table are displayed in descending order using the designated item as a key. In addition, when “*” or “**” is designated in this processing formula, the item of which “T1” or “T2” is designated in the operation classification of column 6 as the unit of the designated parent item. Indicates that the values are aggregated and displayed (however, “*” indicates that only two or more target data are displayed).

列8は、項目を処理する順位を示すものであり、この順位に数字が記載された項目に関しては、該記載された数字の順に処理されることを示す。   Column 8 indicates the order in which items are processed, and items whose numbers are described in this order are processed in the order of the described numbers.

列9は、キー機能を示すものであり、このキー機能に、他の項目の並び順(列11に示す)が指定された場合には、当該項目が、キー機能に示された並び順の項目をキーとする項目であることを示す。   Column 9 shows a key function. When the order of other items (shown in column 11) is designated for this key function, the item is displayed in the order of the order indicated by the key function. Indicates that the item is a key item.

列10はソート機能の指定を示すものであり、このソート機能に「ON」が指定されている場合は、その項目名をクリックすることにより、その項目をキーにして値の並び替えが行われる処理が追加されることを示す。   Column 10 indicates the designation of the sort function. When “ON” is designated for this sort function, the value is rearranged by clicking the item name and using that item as a key. Indicates that processing will be added.

列11は、並び順で、対応する項目の並び順(1,2,3,・・・)示すものである。   The column 11 indicates the arrangement order (1, 2, 3,...) Of corresponding items in the arrangement order.

本実施形態のプログラム生成装置は、図4に示した業務仕様情報(入出力テーブル)から後述する図7に示すようなツリーを生成し、生成されたツリーデータに基づいて、集計表(図8〜図12に示す)の表示プログラムを生成する。   The program generation apparatus of the present embodiment generates a tree as shown in FIG. 7 to be described later from the business specification information (input / output table) shown in FIG. 4, and based on the generated tree data, a tabulation table (FIG. 8). (Shown in FIG. 12).

このツリー作成時に、入出力テーブルの各項目を処理する処理順位を図6に示す。   FIG. 6 shows the processing order of processing each item in the input / output table when this tree is created.

図6に示すように、列5の表示分類が「H1」又は「H2」又は「H0」となる項目が処理順位「1」となり、ツリーのルート要素に設定される。このツリーのルート要素は単一であり、集計表自体を表すものとなる。また、集計表の各構成要素は、ルートにレベル付けされた形で関連をもつものとなる。   As shown in FIG. 6, the item whose display classification in the column 5 is “H1”, “H2”, or “H0” is the processing order “1”, and is set as the root element of the tree. The root element of this tree is single and represents the summary table itself. In addition, each component of the summary table is related in a form leveled to the root.

例えば、図4に示した入出力テーブルから生成されたツリーを図7に示す。   For example, FIG. 7 shows a tree generated from the input / output table shown in FIG.

以下、図6を用いて、図7に示すツリーのレベル配置方法について説明する。   The tree level arrangement method shown in FIG. 7 will be described below with reference to FIG.

上述した図6に示したように、処理順位「1」となる項目は、列5の表示分類が「H1」又は「H2」又は「H0」となる項目で、ルート(レベル0)に配置される。図4に示した例では、並び順「1」の「売上リストコード」がルート(レベル0)に配置されることになる。   As shown in FIG. 6 described above, the item with the processing order “1” is the item whose display classification in the column 5 is “H1”, “H2”, or “H0”, and is arranged in the root (level 0). The In the example shown in FIG. 4, the “sales list code” in the order “1” is arranged in the route (level 0).

次に、処理順位「2」となる項目は、列7の加工式が「<」又は「>」となる項目で、レベル1に配置される。複数項目に「<」又は「>」が指定されていた場合、親子関係が成立するときは親が優先され、成立しないときは並び順(列11)の若い方を優先する(但し、全てレベル1に配置する)。図4に示した例では、並び順「2」の「売上店舗コード」がレベル1に配置されることになる。   Next, the item having the processing order “2” is an item in which the processing formula in the column 7 is “<” or “>”, and is arranged in the level 1. When "<" or ">" is specified for multiple items, the parent is given priority when the parent-child relationship is established, and the younger in the order of arrangement (column 11) is given priority when it is not established (however, all levels 1). In the example shown in FIG. 4, “sales store code” in the order “2” is arranged at level 1.

次に、処理順位「3」となる項目は、列8の順位が記載された項目で、順位の小さい項目から順次配置される(なお、親子関係(データベースにおいて1対多の関係)が成立する場合はレベルを下げる)。   Next, the item with the processing order “3” is an item in which the order in column 8 is described, and is sequentially arranged from the item with the smallest order (note that a parent-child relationship (one-to-many relationship in the database) is established. If you lower the level).

図4に示した例では、並び順「5」の「商品分類コード」の順位が「1」となっているため、まず当該「商品分類コード」が上記「売上店舗コード」より後に配置される。但し、「売上店舗コード」と「商品分類コード」とは、図示しないデータファイル番号「SalesList」を定義した入出力テーブル内で1対多の関係にあるため、当該「商品分類コード」は「売上店舗コード」より1つ低いレベル2に配置される。   In the example shown in FIG. 4, the order of the “product classification code” in the arrangement order “5” is “1”, so the “product classification code” is first arranged after the “sales store code”. . However, since “sales store code” and “product classification code” have a one-to-many relationship in an input / output table that defines a data file number “SalesList” (not shown), the “product classification code” is “sales It is arranged at level 2 one level lower than the “store code”.

さらに、並び順「4」の「商品コード」の順位が「2」となっており、上記「商品分類コード」より後に配置される。但し、「商品分類コード」と「商品コード」とは、図示しないデータファイル番号「SalesList」を定義した入出力テーブル内で1対多の関係にあるため、当該「商品コード」は上記「商品分類コード」より1つ低いレベル3に配置される。   Furthermore, the order of the “product code” in the arrangement order “4” is “2”, which is arranged after the “product classification code”. However, since the “product classification code” and the “product code” have a one-to-many relationship in the input / output table that defines the data file number “SalesList” (not shown), the “product code” is the above-mentioned “product classification code”. It is placed at level 3 which is one lower than the “code”.

ここで、図6には示されていないが、列5〜列9のいずれにも指定がない項目が親子関係に応じてカレントより1つ低いレベル又は同レベルに配置される。なお、同様の項目が複数ある場合は並び順(列11)の若い方を優先する。なお、図4には該当する項目はない。   Here, although not shown in FIG. 6, items not specified in any of columns 5 to 9 are arranged at a level one level lower than the current or at the same level according to the parent-child relationship. In addition, when there are a plurality of similar items, priority is given to the younger of the arrangement order (column 11). Note that there is no corresponding item in FIG.

最後に、処理順位「4」となる項目は、列6の演算分類が「T1」又は「T2」となる項目で、親子関係に応じてカレントのレベルより1つ低いレベル又は同レベルに配置される。図4に示した例では、並び順「8」の「売上個数」の演算分類が「T1」となっている。なお、「売上個数」と「商品コード」とは、図示しないデータファイル番号「SalesList」を定義した入出力テーブル内で1対1の関係にあるため、当該「売上個数」は「商品コード」と同レベル(レベル3)に配置される。   Finally, the item with the processing order “4” is an item whose operation classification in the column 6 is “T1” or “T2”, and is arranged at a level one level lower than or equal to the current level depending on the parent-child relationship. The In the example shown in FIG. 4, the operation classification of “number of sales” in the order of arrangement “8” is “T1”. Since “sales number” and “product code” have a one-to-one relationship in an input / output table that defines a data file number “SalesList” (not shown), the “sales number” is “product code”. Arranged at the same level (level 3).

なお、図6には示していないが、列9のキー機能に他の項目の並び順(列11)が指定されている場合には、当該項目が、キー機能に示された並び順の項目の次(同じレベル)に配置される。図4に示した例では、並び順「3」の「売上店舗」のキー機能が「2」となっているため、当該「売上店舗」が並び順「2」の「売上店舗コード」と同じレベル1に配置される。また、並び順「6」の「商品分類名」のキー機能が「5」となっているため、当該「商品分類名」が並び順「5」の「商品分類コード」と同じレベル2に配置される。さらに、並び順「7」の「商品名」のキー機能が「4」となっているため、当該「商品名」が並び順「4」の「商品コード」と同じレベル3に配置される。   Although not shown in FIG. 6, when the arrangement order of other items (column 11) is designated for the key function in column 9, the item is an item in the arrangement order shown in the key function. Next (same level). In the example shown in FIG. 4, since the key function of “sales store” in the order “3” is “2”, the “sales store” is the same as the “sales store code” in the order “2”. Located at level 1. Also, since the key function of “product category name” in the order “6” is “5”, the “product category name” is arranged at the same level 2 as the “product category code” in the order “5”. Is done. Furthermore, since the key function of “product name” in the order “7” is “4”, the “product name” is arranged at the same level 3 as the “product code” in the order “4”.

また、図6には示していないが、列7の加工式に「*」又は「**」が指定されている項目と同レベルに、当該項目の親項目の単位に列6の演算分類で「T1」又は「T2」が指定された項目「売上個数」の値を集計し表示するためのラベル「計」とその集計値である「売上個数」が生成されて配置される。図4に示した例では、並び順「4」の「商品コード」の加工式が「**」となっているため、当該「商品コード」と同じレベル3に親項目である「商品分類コード」,「商品分類名」単位に「売上個数」の集計を行う「計」が配置される。   Although not shown in FIG. 6, the operation classification of column 6 is set to the same level as the item for which “*” or “**” is specified in the processing formula of column 7 and the unit of the parent item of the item is the operation classification. A label “total” for totalizing and displaying the value of the item “sales number” for which “T1” or “T2” is designated and the total value “sales number” are generated and arranged. In the example shown in FIG. 4, since the processing formula of “product code” in the order “4” is “**”, the parent item “product classification code” is at the same level 3 as the “product code”. ”And“ Product category name ”are arranged in units of“ total ”for totaling“ number of sales ”.

さらに、並び順「5」の「商品分類コード」の加工式も「**」となっているため、当該「商品分類コード」と同じレベル2に親項目である「売上店舗コード」,「売上店舗」単位に「売上個数」の集計し表示するためのラベル「計」とその集計値である「売上個数」が配置される。   Furthermore, since the processing formula of the “product classification code” in the order “5” is also “**”, the parent items “sales store code” and “sales” are at the same level 2 as the “product classification code”. A label “total” for totalizing and displaying “number of sales” and “total number of sales” as the total value are arranged in the “store” unit.

また、図6に示す処理順位が同一の項目は、並び順の順に処理順序が決定されるものとする。即ち、レベルが同一の項目は、並び順の順に表示される。   In addition, it is assumed that the processing order of items having the same processing order shown in FIG. That is, items with the same level are displayed in the order of arrangement.

以上のように、図6に示した処理順位で処理を行うことにより、図7に示すツリー構造のデータが作成される。このツリー構造のデータに基づいて、後述する図8〜図12の表示を作成するプログラムコードが作成される。   As described above, the tree structure data shown in FIG. 7 is created by performing the processing in the processing order shown in FIG. Based on the data of the tree structure, a program code for creating the display of FIGS.

図8を例にして説明すると、図8の第1列には、図7のレベル1に配置される「売上店舗コード」が表示され、次に、図8の第2列には、同じくレベル1に配置される「売上店舗」が表示される。なお、図8の第2列に表示される「売上店舗」は、第1列に表示される「売上店舗コード」と同レベルであり、1対1の関係になっている。   Referring to FIG. 8 as an example, “sales store code” arranged at level 1 in FIG. 7 is displayed in the first column of FIG. 8, and then the level is similarly displayed in the second column of FIG. “Sales store” arranged in 1 is displayed. The “sales store” displayed in the second column in FIG. 8 is at the same level as the “sales store code” displayed in the first column, and has a one-to-one relationship.

また、図8の第3列には、レベル2に配置される「商品分類コード」が表示され、次に、図8の第4列には、同じくレベル2に配置される「商品分類名」が表示される。なお、図8の第3列に表示される「商品分類コード」は、第2列に表示される「売上店舗」よりレベルが1つ低くなっており、「売上店舗」と「商品分類コード」との関係は1対多となり、「売上店舗」1に対して「商品分類コード」多(複数)の表示が可能である(即ち、親子の関係となっている)。   Further, the “product classification code” arranged at level 2 is displayed in the third column of FIG. 8, and then the “product classification name” arranged in level 2 is also displayed in the fourth column of FIG. Is displayed. Note that the “product classification code” displayed in the third column in FIG. 8 is one level lower than the “sales store” displayed in the second column. The “sales store” 1 can display “product classification code” (multiple) (that is, a parent-child relationship).

次に、図8の第4列には、同じくレベル2に配置される「商品分類名」が表示される。なお、図8の第4列に表示される「商品分類名」は、第3列に表示される「商品分類名」と同レベルであり、1対1の関係になっている。   Next, in the fourth column in FIG. 8, “product category names” arranged in level 2 are displayed. Note that the “product category name” displayed in the fourth column in FIG. 8 is at the same level as the “product category name” displayed in the third column, and has a one-to-one relationship.

また、図8の第5列には、レベル3に配置される「商品コード」が表示され、次に、図8の第6列には、同じくレベル3に配置される「商品名」が表示される。なお、図8の第5列に表示される「商品コード」は、第4列に表示される「商品分類名」よりレベルが1つ低くなっており、「商品分類名」と「商品コード」との関係は1対多となり、「商品分類名」1に対して「商品コード」多の表示が可能である(即ち親子の関係となっている)。   In addition, “product code” arranged at level 3 is displayed in the fifth column of FIG. 8, and then “product name” arranged in level 3 is displayed in the sixth column of FIG. Is done. Note that the “product code” displayed in the fifth column in FIG. 8 is one level lower than the “product category name” displayed in the fourth column, and “product category name” and “product code” are displayed. The number of “product code” can be displayed for “product category name” 1 (ie, a parent-child relationship).

次に、図8の第7列には、同じくレベル3に配置される「売上個数」が表示される。なお、図8の第7列に表示される「売上個数」は、第6列に表示される「商品名」と同レベルであり、1対1の関係である。   Next, in the seventh column of FIG. 8, “number of sales” arranged in level 3 is displayed. Note that the “sales number” displayed in the seventh column in FIG. 8 is at the same level as the “product name” displayed in the sixth column, and has a one-to-one relationship.

図8の行4,7,14,18,24,27,30,33には、レベル3に配置されるラベル「計」と商品分類コードごとの小計表示に対応する「売上個数」が表示される。   In lines 4, 7, 14, 18, 24, 27, 30, and 33 in FIG. 8, the label “total” arranged at level 3 and “sales number” corresponding to the subtotal display for each product classification code are displayed. The

図8の行8,10,20,34には、レベル2に配置されるラベル「計」と売上店舗コードごとの小計表示に対応する「売上個数」が表示される。   In rows 8, 10, 20, and 34 of FIG. 8, the label “total” arranged at level 2 and “number of sales” corresponding to the subtotal display for each sales store code are displayed.

図8の行35には、レベル2に配置されるラベル「計」とルートの総計表示に対応する「売上個数」が表示される。   In the row 35 of FIG. 8, the label “total” arranged at level 2 and the “number of sales” corresponding to the total display of the route are displayed.

なお、図8に示す表には、図7のレベル0に配置された売上リストコードは表示されないが、これは図4に示した入出力テーブルで定義された集計表自体を表すルート要素であるためである。   In the table shown in FIG. 8, the sales list code arranged at level 0 in FIG. 7 is not displayed, but this is a root element representing the aggregation table itself defined in the input / output table shown in FIG. Because.

図8は、図4に示す入出力テーブル及び図7に示すツリーから生成された一次元表の一例を示す模式図である。   FIG. 8 is a schematic diagram showing an example of a one-dimensional table generated from the input / output table shown in FIG. 4 and the tree shown in FIG.

図8の状態の画面において「商品分類コード」のタイトル項目をクリックすると、図4の列10の定義より自動生成されたソート機能により、図9のように表の内容の並び順が変更される。   When the title item “product classification code” is clicked on the screen in the state of FIG. 8, the sort function automatically generated from the definition of the column 10 in FIG. 4 changes the order of the table contents as shown in FIG. .

図9は、図8に示した一次元表を第3列の「商品分類コード」でソートした場合の表示例を示す模式図である。   FIG. 9 is a schematic diagram showing a display example when the one-dimensional table shown in FIG. 8 is sorted by the “product classification code” in the third column.

図10は、図7に示すツリーから生成された二次元表の一例を示す模式図であり、図4に示した入出力テーブルの並び順「1」の表示分類を「H2」とし、並び順「8」の演算分類を「T2」として生成した場合に対応する。   FIG. 10 is a schematic diagram illustrating an example of the two-dimensional table generated from the tree illustrated in FIG. 7, and the display classification of the input / output table arrangement order “1” illustrated in FIG. 4 is “H2”. This corresponds to the case where the calculation classification “8” is generated as “T2”.

図10に示した集計表では、左にキーとして指定された商品分類コードが表示されており、そこから右に子要素が並ぶ。また、一次元表の定義においてキーとして指定されていた、並び順「2」の「売上店舗コード」が縦項目のキーとして集計表に表示される。   In the tabulation table shown in FIG. 10, product classification codes designated as keys are displayed on the left, and child elements are arranged on the right from there. In addition, the “sales store code” in the order “2”, which has been designated as a key in the definition of the one-dimensional table, is displayed in the tabulation table as a vertical item key.

この図10の状態の画面において「商品分類名」のタイトルをクリックすると、一次元表と同じようにソート処理が行われ、図11のように表示される。   When the title of “product classification name” is clicked on the screen in the state of FIG. 10, the sort processing is performed in the same manner as the one-dimensional table, and the display is as shown in FIG.

図11は、図10に示した二次元表を第2列の「商品分類名」でソートした場合の表示例を示す模式図である。   FIG. 11 is a schematic diagram illustrating a display example when the two-dimensional table illustrated in FIG. 10 is sorted by “product classification name” in the second column.

図12は、図7に示すツリーから生成された一覧表の一例を示す模式図であり、図4に示した入出力テーブルの並び順「1」の表示分類を「H0」とし、並び順「8」の演算分類を空欄として生成した場合に対応する。   FIG. 12 is a schematic diagram illustrating an example of the list generated from the tree illustrated in FIG. 7, where the display classification of the input / output table arrangement order “1” illustrated in FIG. 4 is “H0”, and the arrangement order “ This corresponds to the case where the operation classification “8” is generated as a blank.

以下、図13〜図17のフローチャートを参照して、図1に示したコード生成部107によるコード生成処理について説明する。   Hereinafter, the code generation process by the code generation unit 107 illustrated in FIG. 1 will be described with reference to the flowcharts of FIGS.

図13は、本発明の第2の制御処理手順の一例を示すフローチャートであり、図1に示したコード生成部107によるコード生成処理に対応する。なお、S201〜S203は各ステップを示す。   FIG. 13 is a flowchart showing an example of the second control processing procedure of the present invention, and corresponds to the code generation processing by the code generation unit 107 shown in FIG. S201 to S203 indicate steps.

まず、ステップS201において、データベースより各データファイル項目の値を取得する処理を行うBeanコード114を、入出力テーブル109に基づいて生成する(詳細は図14に示す)。   First, in step S201, a bean code 114 for performing processing for obtaining the value of each data file item from the database is generated based on the input / output table 109 (details are shown in FIG. 14).

次に、ステップS202において、入出力テーブル109に基づいて、ウェブブラウザからの入力データを取得してJSPを起動するサーブレットコード113を生成する(詳細は図15に示す)。   Next, in step S202, based on the input / output table 109, the servlet code 113 that acquires input data from the web browser and starts the JSP is generated (details are shown in FIG. 15).

次に、ステップS203において、ウェブブラウザへの表示を制御するJSPコード112を生成し(詳細は図16に示す)、処理を終了して図3のフローチャートにリターンする。   Next, in step S203, the JSP code 112 for controlling the display on the web browser is generated (details are shown in FIG. 16), the process is terminated, and the process returns to the flowchart of FIG.

図14は、本発明の第3の制御処理手順の一例を示すフローチャートであり、図1に示したコード生成部107によるBean作成処理(図13のステップS201)に対応する。なお、S301〜S303は各ステップを示す。   FIG. 14 is a flowchart showing an example of the third control processing procedure of the present invention, and corresponds to the bean creation processing (step S201 in FIG. 13) by the code generation unit 107 shown in FIG. S301 to S303 indicate each step.

まず、ステップS301において、データベース操作用のBeanファイルを生成する。なお、Beanファイル名は、例えば、図示しない入力画面より入力されたアプリケーション名に文字列「Bean」を付加し拡張子を「java(登録商標)」としたBeanファイルとする。また、このとき、作成したBeanファイル内の先頭に、「パッケージ名(例えば、アプリケーション名に文字列「Bean」を付加したもの)の宣言、「java(登録商標).sql」パッケージのインポート、Java(登録商標)Beansを利用するために必要なインタフェースの実装等を行うコード」を格納しておく。   First, in step S301, a bean file for database operation is generated. The bean file name is, for example, a bean file in which a character string “Bean” is added to an application name input from an input screen (not shown) and an extension is “java (registered trademark)”. At this time, at the top of the created Bean file, a declaration of “package name (for example, an application name added with a character string“ Bean ”), an import of a“ Java (registered trademark) .sql ”package, a Java (Registered trademark) “code for implementing an interface necessary for using Beans” is stored.

次に、ステップS302において、入出力テーブル109を読み取り、ステップS303において、入出力テーブル109内の各データファイルの検索処理コードをBeanファイル内に生成する。詳細には、「データベースに接続し、各データファイル毎に当該データファイル番号に対応するテーブルからデータを取得する処理を行うためのSQL文のクエリを実行し、取得結果を返し、データベースから切断するコード(データ取得メソッド)」を当該Beanファイル内に生成する。   Next, in step S302, the input / output table 109 is read, and in step S303, a search processing code for each data file in the input / output table 109 is generated in the bean file. Specifically, “Connect to database, execute query of SQL statement for processing to acquire data from table corresponding to corresponding data file number for each data file, return acquisition result, and disconnect from database Code (data acquisition method) "is generated in the Bean file.

そして、処理を終了して図13のフローチャートにリターンする。   Then, the process ends and the process returns to the flowchart of FIG.

なお、上記ステップS303により当該Beanファイル内に生成されるコードには、「ドライバクラスをロードする処理、データベースに接続する処理、SQLステートメントオブジェクトを生成する処理、サーブレットから渡されたデータに基づくSQL文のクエリを実行して結果を取得する処理、結果をセットする処理、SQLステートメントオブジェクトとデータベース接続オブジェクトをクローズする処理を行うためのコード」等が記載されているものとする。   Note that the code generated in the Bean file in step S303 includes the following: “Process to load driver class, process to connect to database, process to generate SQL statement object, SQL statement based on data passed from servlet” The code for performing the process of executing the above query to acquire the result, the process of setting the result, and the process of closing the SQL statement object and the database connection object are described.

また、ステップS303で生成するデータ取得処理コードは、Beanファイル内で定義される業務処理用のクラス(例えば、クラス名:アプリケーション名に文字列「DBAccess」を付加)内のデータ取得メソッドとして生成するものとする。   The data acquisition processing code generated in step S303 is generated as a data acquisition method in a business processing class defined in the Bean file (for example, class name: character string “DBAccess” added to application name). Shall.

図15は、本発明の第4の制御処理手順の一例を示すフローチャートであり、図1に示したコード生成部107によるサーブレット作成処理(図13のステップS202)に対応する。なお、S401〜S403は各ステップを示す。   FIG. 15 is a flowchart showing an example of the fourth control processing procedure of the present invention, and corresponds to the servlet creation processing (step S202 in FIG. 13) by the code generation unit 107 shown in FIG. S401 to S403 indicate each step.

まず、ステップS401において、サーブレットファイルを生成する。このサーブレットファイルのファイル名は、例えば、アプリケーション名に文字列「Servlet」を付加し拡張子を「java(登録商標)」とする。なお、このとき、サーブレットファイル内の先頭に、「使用するBeanパッケージ及びその他必要なパッケージをインポートするコード、アクセス修飾子,クラスの定義,クラス(例えば、HttpServletクラス)の継承、ウェブブラウザ(HTMLフォーム)から送信されたパラメータ(送信情報)を受け取るためのメソッドを示すコード」を格納しておく。   First, in step S401, a servlet file is generated. As for the file name of the servlet file, for example, a character string “Servlet” is added to the application name and the extension is set to “java (registered trademark)”. At this time, at the top of the servlet file, “code to import the Bean package to be used and other necessary packages, access modifier, class definition, inheritance of class (for example, HTTP Servlet class), web browser (HTML form) ”) Is stored in the“ code indicating the method for receiving the parameter (transmission information) transmitted from () ”.

次に、ステップS402において、「ウェブブラウザからの送信情報を受け取るコード」をサーブレットファイル内に生成する。   Next, in step S402, “code for receiving transmission information from the web browser” is generated in the servlet file.

次に、ステップS403において、「対応するJSPを呼び出すコード」をサーブレットファイル内に生成し、処理を終了して図13のフローチャートにリターンする。   Next, in step S403, a “code for calling the corresponding JSP” is generated in the servlet file, the process ends, and the process returns to the flowchart of FIG.

図16は、本発明の第5の制御処理手順の一例を示すフローチャートであり、図1に示したコード生成部107によるJSP作成処理(図13のステップS203)に対応する。なお、S501〜S504は各ステップを示す。   FIG. 16 is a flowchart showing an example of the fifth control processing procedure of the present invention, and corresponds to the JSP creation processing (step S203 in FIG. 13) by the code generation unit 107 shown in FIG. S501 to S504 indicate each step.

まず、ステップS501において、JSPファイルを生成する。このJSPファイルのファイル名は、例えば、アプリケーション名に拡張子を「jsp」とする。なお、このJSPファイル内には、「JSPページのMIMEタイプとエンコードするキャラクタセットを設定するコード、当該データファイルに対応するBeanをインスタンスするコード、htmlのタグである「<html><head><title>アプリケーション名</title>」等のコード」を生成し格納しておくものとする。   First, in step S501, a JSP file is generated. The file name of the JSP file is, for example, an application name with an extension “jsp”. The JSP file includes “a code for setting a MIME type of the JSP page and a character set to be encoded, a code for instantiating a Bean corresponding to the data file, and an html tag“ <html> <head> < It is assumed that a code such as “title> application name </ title>” is generated and stored.

次に、ステップS502において、「Beanのデータ取得用メソッドを呼び出して実行させ、検索用メソッドの処理結果をBeanから取得するコード」を生成する。   Next, in step S502, a “code for calling and executing a method for acquiring a Bean data and acquiring the processing result of the search method from the Bean” is generated.

次に、ステップS503において、図7に示すようなツリー構造のデータ(以下、単にツリー)を生成し、ステップS504において、生成したツリーに基づいて、集計表生成処理(詳細は、図17に示す)を行い、処理を終了して図13のフローチャートにリターンする。   Next, in step S503, data having a tree structure as shown in FIG. 7 (hereinafter simply referred to as a tree) is generated. In step S504, a summary table generation process (details are shown in FIG. 17) based on the generated tree. ) To finish the process and return to the flowchart of FIG.

図17は、本発明の第6の制御処理手順の一例を示すフローチャートであり、図1に示したコード生成部107による集計表生成処理(図16のステップS502)に対応する。なお、S601〜S612は各ステップを示す。   FIG. 17 is a flowchart showing an example of the sixth control processing procedure of the present invention, and corresponds to the tabulation table generation processing (step S502 in FIG. 16) by the code generation unit 107 shown in FIG. In addition, S601-S612 shows each step.

まずステップS601において、ツリーの上レベルから項目を1つ読み取り、ステップS602において、読み取った項目がレベル0であるか否かを判定し、レベル0であると判定した場合には、ステップS603において、当該項目の表示分類(列5)=「H1」であるか否かを判定し、表示分類(列5)=「H1」の項目であると判定した場合には、ステップS604において、図8に示したような1次元表を作成する処理を開始し、ステップS601に戻る。   First, in step S601, one item is read from the upper level of the tree. In step S602, it is determined whether the read item is level 0. If it is determined that the item is level 0, in step S603, It is determined whether or not the display classification (column 5) of the item is “H1”, and if it is determined that the display classification (column 5) is “H1”, in step S604, FIG. The process for creating the one-dimensional table as shown is started, and the process returns to step S601.

一方、ステップS603で、当該項目の表示分類(列5)=「H1」でないと判定した場合には、ステップS605において、当該項目の表示分類(列5)=「H2」であるか否かを判定し、表示分類(列5)=「H2」の項目であると判定した場合には、ステップS606において、図10に示したような2次元表を作成する処理を開始し、ステップS601に戻る。   On the other hand, if it is determined in step S603 that the display classification of the item (column 5) = “H1”, it is determined in step S605 whether the display classification of the item (column 5) = “H2”. If it is determined that the display classification (column 5) is “H2”, a process of creating a two-dimensional table as shown in FIG. 10 is started in step S606, and the process returns to step S601. .

一方、ステップS605で、当該項目の表示分類(列5)=「H2」でないと判定した場合には、ステップS607において、図12に示したような一覧表を作成する処理を開始し、ステップS601に戻る。   On the other hand, if it is determined in step S605 that the display classification (column 5) of the item is not “H2”, processing for creating a list as shown in FIG. 12 is started in step S607, and step S601 is executed. Return to.

一方、ステップS602において、読み取った項目がレベル0でないと判定した場合には、ステップS608において、「タイトル項目を表示するコード」をJSPファイル内に生成する。   On the other hand, if it is determined in step S602 that the read item is not level 0, in step S608, a “code for displaying the title item” is generated in the JSP file.

次に、ステップS609において、当該項目がソート機能(列10)=「ON」の項目であるか否かを判定し、当該項目がソート機能(列10)=「ON」の項目でないと判定した場合には、そのままステップS611の処理に進む。   Next, in step S609, it is determined whether or not the item is a sort function (column 10) = “ON” item, and it is determined that the item is not a sort function (column 10) = “ON” item. In that case, the process proceeds to step S611 as it is.

一方、ステップS609で、当該項目がソート機能(列10)=「ON」の項目であると判定した場合には、ステップS610において、「対応する項目のタイトルが指示された場合に、対応する項目でソートする機能をタイトルに追加するコード」をJSPファイル内に生成し、ステップS611に進む。   On the other hand, if it is determined in step S609 that the item is an item of sort function (column 10) = “ON”, in step S610, “corresponding item when the title of the corresponding item is designated. Is generated in the JSP file, and the process advances to step S611.

次に、ステップS611において、図16のステップS502でデータベースより取得したデータを表示するコードを作成するデータ表示作成処理を行い、ステップS612に進む。   Next, in step S611, a data display creation process for creating a code for displaying the data acquired from the database in step S502 of FIG. 16 is performed, and the process proceeds to step S612.

次に、ステップS612において、ツリー内の全項目について、S601〜S611の処理を終了したか否かを判定し、終了していないと判定した場合には、ステップS601の処理に戻る。   Next, in step S612, it is determined whether or not the processing of S601 to S611 has been completed for all items in the tree. If it is determined that the processing has not ended, the processing returns to step S601.

一方、ステップS612で、ツリー内の全項目について、S601〜S611の処理を終了したと判定した場合には、そのまま処理を終了して図16のフローチャートに戻る。   On the other hand, if it is determined in step S612 that the processes in S601 to S611 have been completed for all items in the tree, the process is terminated and the process returns to the flowchart of FIG.

図18は、本発明の第7の制御処理手順の一例を示すフローチャートであり、図1に示したコード生成部107によるデータ表示作成処理(図17のステップS611)に対応する。なお、S701〜S715は各ステップを示す。   FIG. 18 is a flowchart showing an example of the seventh control processing procedure of the present invention, and corresponds to the data display creation processing (step S611 in FIG. 17) by the code generation unit 107 shown in FIG. In addition, S701-S715 show each step.

まず、ステップS701において、当該項目が加工式(列7)=「<」の項目であるか否かを判定し、加工式(列7)=「<」の項目であると判定した場合には、ステップS702において、「当該項目をデフォルトのソートキー、「昇順」をデフォルトのソート方向に設定するコード」をJSPファイル内に生成し、ステップS703において、「リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されている場合には、該ソートキー,ソート方向を用い、一方、リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されていない場合には、デフォルトのソートキー,ソート方向を用い、当該項目のデータをソート表示するコード」をJSPファイル内に生成し、処理を終了して図17のフローチャートに戻る。   First, in step S701, it is determined whether or not the item is an item of processing formula (column 7) = “<”. If it is determined that the item is processing formula (column 7) = “<”, In step S702, “a code for setting the item as the default sort key and“ ascending order ”as the default sort direction” is generated in the JSP file. In step S703, “the sort key and the sort direction are designated in the request object”. When information is stored, the sort key and sort direction are used. On the other hand, when information specifying the sort key and sort direction is not stored in the request object, the default sort key and sort direction are used. A code for sorting and displaying the data of the item ”is generated in the JSP file, the process is terminated, and the flow of FIG. Back to the chart.

一方、ステップS701で、当該項目が加工式(列7)=「<」の項目でないと判定した場合には、ステップS704において、当該項目が加工式(列7)=「>」の項目であるか否かを判定し、加工式(列7)=「>」の項目であると判定した場合には、ステップS705において、「当該項目をデフォルトのソートキー、「降順」をデフォルトのソート方向に設定するコード」をJSPファイル内に生成し、ステップS706において、「リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されている場合には、該ソートキー,ソート方向を用い、一方、リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されていない場合には、デフォルトのソートキー,ソート方向を用い、当該項目のデータをソート表示するコード」をJSPファイル内に生成し、処理を終了して図17のフローチャートに戻る。   On the other hand, if it is determined in step S701 that the item is not an item of processing formula (column 7) = “<”, the item is an item of processing formula (column 7) = “>” in step S704. In step S705, "set the item as the default sort key and set" descending order "as the default sort direction. Is generated in the JSP file. In step S706, if the information specifying the sort key and sort direction is stored in the request object, the sort key and sort direction are used. If the information specifying the sort key and sort direction is not stored in the default sort key and sort direction, Generate code "to sort Show over data in JSP files, end the process returns to the flowchart of FIG. 17.

一方、ステップS704で、当該項目が加工式(列7)=「>」の項目でないと判定した場合には、ステップS707において、当該項目が加工式(列7)=「**」の項目であるか否かを判定し、加工式(列7)=「**」の項目であると判定した場合には、ステップS708において、「リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されている場合には、該ソートキー,ソート方向を用い、一方、リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されていない場合には、デフォルトのソートキー,ソート方向を用い、当該項目のデータをソート表示するコード」をJSPファイル内に生成し、ステップS709において、「当該項目の親項目単位に「T1」又は「T2」に対応する項目の演算処理を行い、ラベル「計」と共に演算結果を表示するコード」をJSPファイル内に生成し、処理を終了して図17のフローチャートに戻る。   On the other hand, if it is determined in step S704 that the item is not an item of processing formula (column 7) = “>”, in step S707, the item is an item of processing formula (column 7) = “**”. If it is determined whether or not it is an item of processing formula (column 7) = “**”, in step S708, “information specifying the sort key and the sort direction is stored in the request object. If there is no information specifying the sort key and sort direction in the request object, the default sort key and sort direction are used to store the data of the item. Are generated in the JSP file, and in step S709, “corresponding to“ T1 ”or“ T2 ”corresponding to the parent item unit of the item”. Performs arithmetic processing of the items, to generate code "for displaying the calculation result with a label" meter "to JSP file, and terminates the processing returns to the flowchart of FIG. 17.

一方、ステップS707で、当該項目が加工式(列7)=「**」の項目でないと判定した場合には、ステップS710において、当該項目が加工式(列7)=「*」の項目であるか否かを判定し、加工式(列7)=「*」の項目であると判定した場合には、ステップS711において、「リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されている場合には、該ソートキー,ソート方向を用い、一方、リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されていない場合には、デフォルトのソートキー,ソート方向を用い、当該項目のデータをソート表示するコード」をJSPファイル内に生成し、ステップS712において、「項目が2件以上の場合に、当該項目の親項目単位に「T1」又は「T2」に対応する項目の演算処理を行い、ラベル「計」と共に演算結果を表示するコード」をJSPファイル内に生成し、処理を終了して図17のフローチャートに戻る。   On the other hand, if it is determined in step S707 that the item is not an item of processing formula (column 7) = “**”, the item is an item of processing formula (column 7) = “*” in step S710. If it is determined whether or not it is an item of processing formula (column 7) = “*”, in step S711, “information specifying the sort key and the sort direction is stored in the request object. If there is no information specifying the sort key and sort direction in the request object, the default sort key and sort direction are used to store the data of the item. “Code for sorting display” is generated in the JSP file. In step S712, “when there are two or more items, the parent item unit of the item is set to“ T1 Or performs arithmetic processing of items corresponding to the "T2", generates a code "for displaying the calculation result with a label" meter "to JSP file, and terminates the processing returns to the flowchart of FIG. 17.

一方、ステップS710で、当該項目が加工式(列7)=「*」の項目でないと判定した場合には、ステップS713において、「リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されている場合には、該ソートキー,ソート方向を用い、一方、リクエストオブジェクト内にソートキー,ソート方向を指定する情報が格納されていない場合には、デフォルトのソートキー,ソート方向を用い、当該項目のデータをソート表示するコード」をJSPファイル内に生成し、ステップS714において、当該項目が演算分類(列6)=「T1」又は「T2」の項目であるか否かを判定し、演算分類(列6)=「T1」又は「T2」の項目であると判定した場合には、ステップS715において、「当該項目の演算処理を行い表示するコード」をJSPファイル内に生成し、処理を終了して図17のフローチャートに戻る。詳細には、演算分類(列6)=「T1」の場合は縦のみの集計演算を行い、「T2」場合には縦横の2次元の集計演算を行い、ラベル「計」と共に演算結果を表するコードを生成する。   On the other hand, if it is determined in step S710 that the item is not an item of processing formula (column 7) = “*”, in step S713, “information specifying the sort key and sort direction is stored in the request object. If there is no information specifying the sort key and sort direction in the request object, the default sort key and sort direction are used to store the data of the item. “Code to be sorted” is generated in the JSP file, and in step S714, it is determined whether or not the item is an operation classification (column 6) = “T1” or “T2” item. ) = “T1” or “T2”, if it is determined that the item is “T1” or “T2”, in step S715 “ Generate code "to be displayed on the JSP file, and terminates the processing returns to the flowchart of FIG. 17. Specifically, when the calculation classification (column 6) = “T1”, only vertical calculation is performed, and when “T2”, vertical and horizontal two-dimensional calculation is performed, and the calculation result is displayed together with the label “total”. Generate code to

一方、ステップS714で、当該項目が演算分類(列6)=「T1」又は「T2」の項目でないと判定した場合には、そのまま処理を終了して図17のフローチャートに戻る。   On the other hand, if it is determined in step S714 that the item is not an operation classification (column 6) = “T1” or “T2” item, the process ends and the process returns to the flowchart of FIG.

なお、図17のステップS610で示したソート機能を追加するコードは、いずれの項目をキーとするソートが指示されたかを示す情報を、サーブレットに送信して画面を再表示させるJava(登録商標)Scriptコードに相当するものである。   Note that the code for adding the sort function shown in step S610 in FIG. 17 is Java (registered trademark) that transmits information indicating which item is used for sorting to the servlet and displays the screen again. This corresponds to the Script code.

また、図18のステップS703,S706,S708,S711,S713で生成されるコードは、「項目データを表示する際に、リクエストオブジェクト内に格納されているソートキーに基づいて、該ソートキーに対応する項目をキーとしてデータをソート表示するコード」とする。   Further, the code generated in steps S703, S706, S708, S711, and S713 in FIG. 18 is “the item corresponding to the sort key based on the sort key stored in the request object when displaying item data”. The code for sorting and displaying data using as a key.

以下、図4に示した入出力テーブルを例にして、集計表生成過程についてより具体的に説明する。   Hereinafter, the summary table generation process will be described more specifically by taking the input / output table shown in FIG. 4 as an example.

最初に図7に示したツリーからレベル0である項目「売上リストコード」(並び順1)の項目をについて処理を行う。   First, an item “sales list code” (arrangement order 1) at level 0 is processed from the tree shown in FIG.

「売上リストコード」(並び順1)の項目では列5に「H1」が指定されていることからそれ以降の項目が集計表の対象となることを示しており、同時にルート要素として扱われる。   In the item of “sales list code” (arrangement order 1), “H1” is designated in column 5, indicating that the subsequent items are to be included in the tabulation table, and are treated as root elements at the same time.

次にレベル1である項目「売上店舗コード」(並び順2)の項目をについて処理を行う。   Next, the level 1 item “sales store code” (arrangement order 2) is processed.

「売上店舗コード」(並び順2)の項目では、列7の加工式に「<」が指定されていることから、この値を基準に集計表の内容が昇順で表示されることを示している。また、列4のデータファイル項目名「売上店舗コード」がタイトル項目として左上端に表示するコードを生成する。また、その表示の下にその値を表示するコードを生成する。   In the item of “sales store code” (arrangement order 2), “<” is specified in the processing formula of column 7, indicating that the contents of the summary table are displayed in ascending order based on this value. Yes. In addition, a code for generating the data file item name “sales store code” in column 4 as the title item at the upper left corner is generated. Moreover, the code | cord | chord which displays the value under the display is produced | generated.

さらに列10のソート機能の値に「ON」が指定されていることから、タイトル項目「売上店舗コード」をクリックするとその項目の値をキーに表を昇順もしくは降順に並び替える機能が付加するコードを生成する。   Furthermore, since “ON” is specified as the value of the sort function in column 10, a code added by clicking the title item “sales store code” adds a function that rearranges the table in ascending or descending order using the value of that item as a key. Is generated.

次に同じくレベル1である項目「売上店舗」(並び順3)の項目について処理を行う。「売上店舗」(並び順3)の項目では列4の「売上店舗」がタイトル項目として、上記の「売上店舗コード」の右に表示され、その下にその値が表示されるコードを生成する。さらに列10に「ON」が指定されているのでタイトル項目にソート機能を付加するコードを生成する。   Next, processing is performed on the item “sales store” (level 3) which is also level 1. In the item “sales store” (arranged order 3), “sales store” in column 4 is displayed as the title item to the right of the above “sales store code”, and a code is displayed in which the value is displayed below. . Furthermore, since “ON” is designated in the column 10, a code for adding a sorting function to the title item is generated.

次にレベル2である項目「商品分類コード」(並び順5)の項目をについて処理を行う。「商品分類コード」(並び順5)では「商品分類コード」がタイトルとして、上記の「売上店舗」の右に表示され、その下に値が表示されるコードを生成する。   Next, the level 2 item “product classification code” (arrangement order 5) is processed. In the “product classification code” (arrangement order 5), the “product classification code” is displayed as a title on the right side of the above “sales store”, and a code is displayed in which a value is displayed below.

また、「商品分類コード」(並び順5)の列7の加工式に「**」が指定されていることから、親要素の売上店舗を基準に列6に「T1」が指定されている「売上個数」の数値を計算し、商品分類コードの値の下に「計」の項目名を挿入する。計算された値は列6に「T1」が指定されている項目の欄(即ち、表の右端の項目となり、本件では「売上個数」の欄)の、「計」と同じ行に表示されるコードを生成する(レベル2の「計」に対応する)。さらに列10に「ON」が指定されているのでタイトル項目にソート機能を付加するコードを生成する。   In addition, since “**” is specified in the processing formula of column 7 of “product classification code” (arrangement order 5), “T1” is specified in column 6 based on the sales store of the parent element. Calculate the value of “Number of units sold” and insert the item name of “Total” below the value of the product classification code. The calculated value is displayed in the same row as “Total” in the column of the item for which “T1” is specified in column 6 (that is, the item at the right end of the table, in this case, the “Sales Unit” column). Generate code (corresponds to level 2 “total”). Furthermore, since “ON” is designated in the column 10, a code for adding a sorting function to the title item is generated.

次に同じくレベル2である項目「商品分類名」(並び順6)の処理を行う。   Next, the processing of the item “product classification name” (arrangement order 6) which is also level 2 is performed.

「商品分類名」(並び順6)では列4の「商品分類名」がタイトル項目として、上記の「商品分類コード」の右に表示され、その下にその値が表示されるコードを生成する。さらに列10に「ON」が指定されているのでタイトル項目にソート機能を付加するコードを生成する。   In the “product category name” (arrangement order 6), a “product category name” in column 4 is displayed as a title item to the right of the above “product category code”, and a code in which the value is displayed below is generated. . Furthermore, since “ON” is designated in the column 10, a code for adding a sorting function to the title item is generated.

次にレベル3である項目「商品コード」(並び順4)の処理を行う。   Next, level 3 item “product code” (arrangement order 4) is processed.

「商品コード」(並び順4)では「商品コード」がタイトルとして、上記の「商品分類名」の右に表示され、その下に値が表示されるコードを生成する。   In “product code” (arrangement order 4), “product code” is displayed as a title to the right of the above “product classification name”, and a code is displayed in which a value is displayed below.

また、「商品コード」(並び順4)の列7の加工式に「**」が指定されていることから、「商品コード」の上位の「商品分類名」を基準に列6に「T1」が指定されている「売上個数」の数値を計算し、商品コードの値の下に「計」の項目名を挿入するコードを生成する。計算された値が列6に「T1」が指定されている項目の欄(即ち、表の右端の項目「売上個数」の欄)の「計」と同じ行に表示されるコードを生成する(レベル3の「計」に対応する)。さらに列10に「ON」が指定されているのでタイトル項目にソート機能を付加するコードを生成する。   In addition, since “**” is specified in the processing formula of column 7 of “product code” (arrangement order 4), “T1” is set in column 6 based on “product classification name” that is higher than “product code”. Is calculated, and the code for inserting the item name of “total” under the value of the product code is generated. A code is generated that is displayed in the same row as the “total” in the column of the item for which the calculated value “T1” is specified in column 6 (that is, the column “item sales” at the right end of the table) ( Corresponds to level 3 “total”). Furthermore, since “ON” is designated in the column 10, a code for adding a sorting function to the title item is generated.

次に同じくレベル3である項目「商品名」(並び順7)の処理を行う。   Next, the processing of the item “product name” (arrangement order 7) which is also level 3 is performed.

「商品名」(並び順7)では列4の「商品名」がタイトル項目として、上記の「商品コード」の右に表示され、その下に値が表示されるコードを生成する。さら、に列10に「ON」が指定されているのでタイトル項目にソート機能を付加するコードを生成する。   In the “product name” (arrangement order 7), a “product name” in column 4 is displayed as a title item on the right side of the above “product code”, and a code is displayed in which a value is displayed below. Further, since “ON” is designated in the column 10, a code for adding a sort function to the title item is generated.

最後に、レベル4である項目「売上個数」(並び順8)の処理を行う。   Finally, the processing of the item “number of sales” (order 8) at level 4 is performed.

「売上個数」(並び順8)では、列4の「売上個数」がタイトル項目として、上記の「商品名」の右に表示され、その下に値が表示される。そして列6の演算分類に「T1」が指定されていることから売上個数の値を集計し、表の一番下に合計を表示する。なお、売上個数の合計表示の同じ行の左には「計」の項目名が表示される。   In “Sales Volume” (arrangement order 8), “Sales Volume” in column 4 is displayed as a title item to the right of the above “Product Name”, and a value is displayed below it. Since “T1” is designated as the operation classification in the column 6, the value of the number of sales is totaled and the total is displayed at the bottom of the table. The item name “total” is displayed on the left side of the same line in the total display of the number of sales.

以上説明したように、ウェブアプリケーションによる集計表の生成において、その定義を業務仕様の枠組みの中で定義でき、自動生成できるため生産性と保守性、汎用性を格段に向上することができる。   As described above, in the generation of the summary table by the web application, the definition can be defined within the framework of the business specification and can be automatically generated, so that productivity, maintainability, and versatility can be significantly improved.

また、生成された集計表において、項目のソートについては再度定義を変更する必要なく集計表示された画面からリアルタイムに変更できるコードが自動的に生成されるため、生産性、保守性を格段に向上することができる。   In addition, in the generated summary table, code that can be changed in real time from the screen displayed in a tabulated view without needing to change the definition again for item sorting is automatically generated, greatly improving productivity and maintainability. can do.

さらに、集計表の定義に変更を加えることなく、一覧表示と集計表の切り替えが相互にでき、それらの仕組みが自動生成されるので生産性、汎用性を格段に向上することができる等の効果を奏する。   In addition, the list display and the summary table can be switched between each other without changing the definition of the summary table, and the mechanism is automatically generated, so the productivity and versatility can be greatly improved. Play.

なお、本実施形態では、サーバサイドのJava(登録商標)プログラムを用いたウェブアプリケーションを生成する場合について説明したが、生成されるプログラムコードは、Java(登録商標)に限られるものではなく、ASP(Active Server Pages),PHP(Hypertext Preprosessor)等のその他のプログラムによるウェブアプリケーションであってもよい。   In the present embodiment, the case where a web application using a server-side Java (registered trademark) program is generated has been described. However, the generated program code is not limited to Java (registered trademark), but ASP. It may be a web application based on other programs such as (Active Server Pages) and PHP (Hypertext Preprocessor).

また、Java(登録商標)Scriptを用いる場合について説明したが、その他のスクリプト言語を用いてもよい。   Moreover, although the case where Java (trademark) Script was used was demonstrated, you may use another script language.

さらに、図4に示した入出力テーブルの内容は、これらに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。   Furthermore, the contents of the input / output table shown in FIG. 4 are not limited to these, and it is needless to say that the contents of the input / output table are configured in various configurations and contents depending on the application and purpose.

また、上記フローチャート内では示していないが、入出力項目の表示分類(列5)に「F」を指定して定義されたデータファイル項目を示すものとし、本実施形態のプログラム生成装置により、当該データファイル項目枝番を項目名とし、当該データファイル番号をテーブル名としたテーブルをデータベースへ作成するように構成してもよい。   Although not shown in the flowchart, the data file item defined by designating “F” in the input / output item display classification (column 5) is shown. A table having the data file item branch number as the item name and the data file number as the table name may be created in the database.

また、本実施形態のプログラム生成装置は、前記作成されたデータベースへの新規/更新/検索/削除等を行うウェブアプリケーション(業務アプリケーション)を作成するように構成してもよい。   In addition, the program generation apparatus of the present embodiment may be configured to create a web application (business application) that performs new / update / search / deletion to the created database.

このように、業務アプリケーションの定義と集計表の定義は同一のものを使用できるので、生産性,保守性を格段に向上することができる。   In this way, since the same business application definition and summary table definition can be used, productivity and maintainability can be significantly improved.

また、上記実施形態の各変形例を組み合わせた構成も全て本発明に含まれるものである。   Moreover, all the structures which combined each modification of the said embodiment are also contained in this invention.

以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。   Although one embodiment has been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, program, or recording medium, and specifically includes a plurality of devices. The present invention may be applied to a system including a single device.

以上より、業務仕様を入力とし、集計表に関するプログラムコードを生成するので、ウェブアプリケーションによる集計表の生成において、その定義を業務仕様の枠組みの中で定義でき、自動生成することができる。   As described above, since the business specification is input and the program code related to the summary table is generated, the definition of the summary table generated by the web application can be defined within the framework of the business specification and can be automatically generated.

また、業務仕様を入力とし、集計表又は一覧表示を行うプログラムコードを選択的に生成するので、集計表の定義に変更を加えることなく、一覧表示と集計表の切り替えが相互にでき、それらの仕組みを自動生成することができる。   In addition, since the business specification is input and program code for displaying the summary table or list is selectively generated, the list display and summary table can be switched between each other without changing the definition of the summary table. The mechanism can be automatically generated.

さらに、業務仕様中の属性情報を入力とし、項目のソート処理に関するプログラムコードを生成するので、生成された集計表において、項目のソートについては表示された画面からリアルタイムに変更できる仕組みを自動生成することができる。   Furthermore, since the attribute information in the business specification is used as input and a program code related to the item sorting process is generated, a mechanism that can change the item sorting in the generated summary table in real time from the displayed screen is automatically generated. be able to.

従って、生産性、保守性、汎用性を格段に向上した集計表を表示処理するウェブアプリケーションを生成することができる。   Therefore, it is possible to generate a web application that displays and displays a tabulation table that has greatly improved productivity, maintainability, and versatility.

以下、図19に示すメモリマップを参照して本発明に係るプログラム生成装置で読み出し可能なデータ処理プログラムの構成について説明する。   The configuration of a data processing program that can be read by the program generation apparatus according to the present invention will be described below with reference to the memory map shown in FIG.

図19は、本発明に係るプログラム生成装置で読み出し可能な各種データ処理プログラムを格納する記録媒体(記憶媒体)のメモリマップを説明する図である。   FIG. 19 is a diagram for explaining a memory map of a recording medium (storage medium) for storing various data processing programs that can be read by the program generating apparatus according to the present invention.

なお、特に図示しないが、記録媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。   Although not specifically shown, information for managing a program group stored in the recording medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.

さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、インストールするプログラムやデータが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。   Further, data depending on various programs is also managed in the directory. In addition, when a program or data to be installed is compressed, a program to be decompressed may be stored.

本実施形態における図3,図13,図14,図15,図16,図17,図18に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記録媒体により、あるいはネットワークを介して外部の記録媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。   3, 13, 14, 15, 16, 17, and 18 in this embodiment may be performed by a host computer by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a recording medium such as a CD-ROM, a flash memory, or an FD, or from an external recording medium via a network. Is.

以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   As described above, a recording medium recording software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the recording medium in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the programmed program code.

この場合、記録媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記録媒体は本発明を構成することになる。   In this case, the program code itself read from the recording medium realizes the novel function of the present invention, and the recording medium storing the program code constitutes the present invention.

プログラムコードを供給するための記録媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,DVD−ROM,磁気テープ,不揮発性のメモリカード,ROM,EEPROM,シリコンディスク等を用いることができる。   As a recording medium for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, A silicon disk or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the recording medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのソフトウエアによって表されるプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program represented by software for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention. .

さらに、本発明を達成するためのソフトウェアによって表されるプログラムをネットワーク上のサーバ,データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   Furthermore, by downloading and reading out a program represented by software for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. It becomes.

本発明のプログラム生成装置により生成されるプログラムコードを、ASP(Active Server Pages),PHP(Hypertext Preprosessor)等のJava(登録商標)以外の他のプログラムによるウェブアプリケーションとすることで、本発明のプログラム生成装置を各種ウェブアプリケーションの生成にも適用可能である。   The program code generated by the program generation device of the present invention is a web application using a program other than Java (registered trademark) such as ASP (Active Server Pages), PHP (Hypertext Preprocessor), etc. The generation apparatus can also be applied to generation of various web applications.

本発明の一実施形態を示すプログラム生成装置の構成を示すブロック図である。It is a block diagram which shows the structure of the program production | generation apparatus which shows one Embodiment of this invention. 図1に示したコード生成部によって生成したサーブレット、JSP、およびBeanを利用したウェブアプリケーションシステムの全体構成の一例を示す図である。It is a figure which shows an example of the whole structure of the web application system using the servlet produced | generated by the code production | generation part shown in FIG. 1, JSP, and Bean. 本発明のプログラム生成装置における第1の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 1st control processing procedure in the program generator of this invention. 本発明のプログラム生成装置における業務仕様(図1に示した入出力テーブル)について説明する模式図である。It is a schematic diagram explaining the business specification (input / output table shown in FIG. 1) in the program generation device of the present invention. 図4に示した入出力テーブルの7列の加工式分類一覧を示す図である。It is a figure which shows the process type classification | category list of 7 columns of the input-output table shown in FIG. 図4に示した入出力テーブルの処理順位を示す図である。It is a figure which shows the processing order of the input / output table shown in FIG. 図4に示した入出力テーブルより生成されるツリーの一例を示す模式図である。FIG. 5 is a schematic diagram illustrating an example of a tree generated from the input / output table illustrated in FIG. 4. 図4に示した入出力テーブル及び図7に示したツリーから生成された一次元表の一例を示す模式図である。FIG. 8 is a schematic diagram illustrating an example of a one-dimensional table generated from the input / output table illustrated in FIG. 4 and the tree illustrated in FIG. 7. 図8に示した一次元表を第3列の「商品分類コード」でソートした場合の表示例を示す模式図である。It is a schematic diagram which shows the example of a display at the time of sorting the one-dimensional table | surface shown in FIG. 8 by the "product classification code" of the 3rd column. 図7に示したツリーから生成された二次元表の一例を示す模式図である。It is a schematic diagram which shows an example of the two-dimensional table produced | generated from the tree shown in FIG. 図10に示した二次元表を第2列の「商品分類名」でソートした場合の表示例を示す模式図である。FIG. 11 is a schematic diagram illustrating a display example when the two-dimensional table illustrated in FIG. 10 is sorted by “product classification name” in the second column. 図7に示したツリーから生成された一覧表の一例を示す模式図である。FIG. 8 is a schematic diagram illustrating an example of a list generated from the tree illustrated in FIG. 7. 本発明の第2の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 2nd control processing procedure of this invention. 本発明の第3の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 3rd control processing procedure of this invention. 本発明の第4の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 4th control processing procedure of this invention. 本発明の第5の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 5th control processing procedure of this invention. 本発明の第6の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 6th control processing procedure of this invention. 本発明の第7の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 7th control processing procedure of this invention. 本発明に係るプログラム生成装置で読み出し可能な各種データ処理プログラムを格納する記録媒体(記憶媒体)のメモリマップを説明する図である。It is a figure explaining the memory map of the recording medium (storage medium) which stores the various data processing program which can be read by the program generator which concerns on this invention.

符号の説明Explanation of symbols

101 入力装置
102 表示装置
103 処理装置(CPU,RAM,ROM)
104 外部記憶装置(ハードディスク)
105 画面制御部
116 業務仕様記述部
107 コード生成部
108 全体制御部
109 入出力テーブル
112 JSPコード
113 Servletコード
114 Beanコード
101 Input device 102 Display device 103 Processing device (CPU, RAM, ROM)
104 External storage device (hard disk)
105 Screen Control Unit 116 Business Specification Description Unit 107 Code Generation Unit 108 Overall Control Unit 109 Input / Output Table 112 JSP Code 113 Servlet Code 114 Bean Code

Claims (7)

ウェブアプリケーションプログラムを生成するプログラム生成装置において、
複数のデータ項目のデータベースへの配置と前記いずれかのデータ項目を集計すべきデータ項目に指定する集計項目指定情報とを記憶する記憶手段と、
前記記憶手段に記憶される前記各データ項目の情報及び集計項目指定情報とに基づいて、「前記データ項目に対応するデータを集計する集計表を生成表示するプログラムコード」を生成する生成手段と、
を有することを特徴とするプログラム生成装置。
In a program generation device for generating a web application program,
Storage means for storing arrangement of a plurality of data items in a database and aggregate item designation information for designating any one of the data items as a data item to be aggregated;
Generating means for generating “program code for generating and displaying a summary table for aggregating data corresponding to the data items” based on the information of each data item and the summary item designation information stored in the storage means;
A program generation apparatus comprising:
前記記憶手段は、前記集計表の種別を示す情報をも記憶するものであり、
前記生成手段は、前記記憶手段に記憶される集計表の種別を示す情報に基づいて、「前記種別を示す情報に対応する集計表を生成表示するプログラムコード」を生成することを特徴とする請求項1記載のプログラム生成装置。
The storage means also stores information indicating the type of the summary table,
The generating unit generates "a program code for generating and displaying a summary table corresponding to the information indicating the type" based on information indicating the type of the summary table stored in the storage unit. Item 2. The program generation device according to Item 1.
前記生成手段は、前記記憶手段に記憶されるデータ項目に基づいて、「前記データ項目によりソート表示処理可能な集計表を生成表示するプログラムコード」を生成することを特徴とする請求項1又は2記載のプログラム生成装置。   The generation unit generates a "program code for generating and displaying a summary table that can be sorted and displayed by the data items" based on the data items stored in the storage unit. The program generation device described. 前記記憶手段は、前記各データ項目の情報毎に、当該データ項目を前記ソート表示処理の対象とするか否かを特定する情報をも記憶するものであり、
前記生成手段は、「前記ソート表示処理の対象となるデータ項目によりソート表示処理可能な集計表を生成表示するプログラムコード」を生成することを特徴とする請求項1〜3のいずれかに記載のプログラム生成装置。
The storage means also stores, for each information of each data item, information for specifying whether or not the data item is the target of the sort display process,
The said production | generation means produces | generates "the program code which produces | generates and displays the totalization table which can be sorted and displayed by the data item used as the said sort display process", The Claim 1 characterized by the above-mentioned. Program generator.
ウェブアプリケーションプログラムを生成するプログラム生成方法において、
予めデータベースへの配置を示す複数のデータ項目の情報及び集計すべきデータ項目を指定する情報とを記憶する記憶手段に記憶される前記各データ項目の情報及び集計すべきデータ項目を指定する情報とに基づいて、「該データ項目に対応するデータを集計する集計表を生成表示するプログラムコード」を生成する生成工程を有することを特徴とするプログラム生成方法。
In a program generation method for generating a web application program,
Information for each of the data items and information for specifying the data items to be aggregated stored in a storage means for storing information on a plurality of data items indicating arrangement in the database in advance and information for designating the data items to be aggregated; And a generating step of generating “a program code for generating and displaying a summary table for aggregating data corresponding to the data item”.
請求項5に記載されたプログラム生成方法を実行するためのプログラム。   A program for executing the program generation method according to claim 5. 請求項5に記載されたプログラム生成方法を実行するためのプログラムをコンピュータが読み取り可能に記憶した記録媒体。   A recording medium storing a computer-readable program for executing the program generating method according to claim 5.
JP2003334589A 2003-09-26 2003-09-26 PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, PROGRAM, AND RECORDING MEDIUM Expired - Lifetime JP4695331B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003334589A JP4695331B2 (en) 2003-09-26 2003-09-26 PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, PROGRAM, AND RECORDING MEDIUM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003334589A JP4695331B2 (en) 2003-09-26 2003-09-26 PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, PROGRAM, AND RECORDING MEDIUM

Publications (2)

Publication Number Publication Date
JP2005100198A true JP2005100198A (en) 2005-04-14
JP4695331B2 JP4695331B2 (en) 2011-06-08

Family

ID=34462227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003334589A Expired - Lifetime JP4695331B2 (en) 2003-09-26 2003-09-26 PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, PROGRAM, AND RECORDING MEDIUM

Country Status (1)

Country Link
JP (1) JP4695331B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01298434A (en) * 1988-05-27 1989-12-01 Casio Comput Co Ltd Program preparing device
JPH0784773A (en) * 1993-09-14 1995-03-31 Toshiba Corp Automatic summing up program generator
JPH11232090A (en) * 1998-02-16 1999-08-27 Mitsubishi Electric Corp Automatic data base generation system
JP2001344105A (en) * 2000-03-31 2001-12-14 Hitachi Software Eng Co Ltd Web application developing method, development support system, and memory medium storing program related to this method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01298434A (en) * 1988-05-27 1989-12-01 Casio Comput Co Ltd Program preparing device
JPH0784773A (en) * 1993-09-14 1995-03-31 Toshiba Corp Automatic summing up program generator
JPH11232090A (en) * 1998-02-16 1999-08-27 Mitsubishi Electric Corp Automatic data base generation system
JP2001344105A (en) * 2000-03-31 2001-12-14 Hitachi Software Eng Co Ltd Web application developing method, development support system, and memory medium storing program related to this method

Also Published As

Publication number Publication date
JP4695331B2 (en) 2011-06-08

Similar Documents

Publication Publication Date Title
CN106886418B (en) HTML interface control label
CN114035773B (en) Configuration-based low-code form development method, system and device
US7236982B2 (en) Computer systems and methods for platform independent presentation design
JP2009508227A (en) Browse mode designer
CN102053987B (en) For showing the unified interface with Update Table array
JP7373563B2 (en) Systems and methods for creating and processing configurable applications for website building systems
US20220067271A1 (en) Orchestration of crud operations for a hierarchical web service data model in a spreadsheet
Yangui et al. ETL based framework for NoSQL warehousing
CN112668290A (en) Dynamic form generation method and system based on gridding design
CN104798067A (en) Web server system, dictionary system, dictionary call method, screen control display method, and demonstration application generation method
CN113268227A (en) Zero-code visualization software development platform and development method
US9779077B2 (en) Representation of data records in graphic tables
EP1768034A1 (en) Document processing device and document processing method
CN1977259A (en) Document processing device and document processing method
CN110309239B (en) Visual map editing method and device
US11663199B1 (en) Application development based on stored data
JP4488701B2 (en) PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, AND PROGRAM
US11061664B2 (en) Code management system and code management method
JP4695331B2 (en) PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, PROGRAM, AND RECORDING MEDIUM
JP2009238215A (en) Data processing device and data processing method
KR100902193B1 (en) A System For Composing Report, A Method ? A System For Providing A Made-To-Order Report, And A Storage Medium
JP2005078119A (en) Support system and method for software development support, program, and recording medium
US9141734B2 (en) System and method of refining a topological indexed mesh
JP2007026389A (en) Data input device
Courtney et al. Intercross: a breeding application for high-throughput phenotyping

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060925

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101112

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110222

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110225

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140304

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4695331

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term