USPatent applicationPatented

System and method for business process space definition

Granted 30 May 2006 · 4 office actions

Current assignee: International Business Machines Corporation · originally International Business Machines

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Edward Barnes Boden, Dennis Gregory Geiser, Frank Vincent Paxhia · Examiner: Raquel Alvarez · AU 3622 · TC 3600

Life of the application

12 dated events
⤢ drag to zoom2002200420062008201020122014201620182020ProsecutionTerm & fees
ProsecutionTerm & feeshover for detail · click to open

Abstract

A method and system for representing business processes such as in a workflow model. Each of a plurality of processes is defined as a 3-tuple including a noun, a verb and an attribute, and a selected process is displayed as a point in navigation space. In this manner, business processes are classified and organized in terms of a 3-dimensional process navigation space facilitating process identification, decomposition and definition by traversal of this space.

Description

10 parts
›CROSS REFERENCE

This application is a divisional of U.S. patent application Ser. No. 09/046,120 filed 20 Mar. 1998 now U.S. Pat. No. 6,308,161 by E. B. Boden, D. G. Geiser and F. V. Paxhia for System and Method for Business Process Space Definition.

›BACKGROUND OF THE INVENTION

1. Technical Field of the Invention

This invention relates to automated classification and organization of business processes. More particularly, this invention classifies and organizes business processes in terms of a 3-dimensional process space facilitating process identification, decomposition and definition by traversal of this space.

2. Background Art

Workflow, which relates to automatically interpreted business processes, is an emerging technology closely associated with business and corporate re-engineering activities. It is considered a cross-industry paradigm for reducing business costs, improving efficiencies and fundamental to the notion of adaptive business organizations. Business processes are defined in such a way that they can be directly interpreted and executed by a workflow server. A major inhibitor to the development of workflow is understanding the mechanisms, interactions and inter-relationships of these processes, because even small business will have hundreds, as workflow matures.

As a business begins employing workflow technology it must systematically defines its current and future processes. The large number of processes and subprocesses that even a medium-sized business will have must be coherently organized so that they can be used, changed, and understood. These business processes must be related to the business organization and the roles of the people.

System providers must deliver workflow solutions that are immediately useful for customers, and yet can be readily changed and augmented by the customers for their situation. Such providers need to deliver workflow solutions in the context of existing software. Further, provision must be made for readily and directly capturing in workflow solutions the policies a business uses to guide its activities. Processes impacted by such a policy need to be immediately and readily known within an overall business context.

It is an object of the invention to provide a system method for enabling understanding of the mechanisms, interactions and inter-relationships of business processes.

It is a further object of the invention to systematically define the current and future processes of an organization in a manner which facilitates understanding, use and change.

It is a further object of the invention to provide an overall business context in which to know and evaluate processes impacted by a policy.

›SUMMARY OF THE INVENTION

This invention comprises a method and system for representing business processes. Each of a plurality of processes is defined as a 3-tuple including a noun, a verb and an attribute, and a selected process is displayed as a point in navigation space.

Other features and advantages of this invention will become apparent from the following detailed description of the presently preferred embodiment of the invention, taken in conjunction with the accompanying drawings.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a visual display of a process space defined by three dimensions in accordance with the invention.

FIG. 2 illustrates a file menu pull down.

FIG. 3 illustrates an edit menu pull down.

FIG. 4 illustrates a process menu pull down.

FIG. 5 illustrates a help menu pull down.

FIG. 6 illustrates a choice box.

FIG. 7 illustrates traversal of business process space by zoom in and zoom out processing.

FIG. 8 illustrates nested process spaces.

FIG. 9 illustrates a process definition window.

FIG. 10 illustrates the interrelationship of various code modules implementing a preferred embodiment of the invention.

›BEST MODE FOR CARRYING OUT THE INVENTION · 1 of 4

Acronyms

Description

In accordance with the invention, a process space is defined by three dimensions. Each point in the space represents a business process. Process decomposition and definition result from traversal of this space. The three dimensions are:

1. A verb dimension comprising a set of verbs or actions. In a specific business process domain like system management or banking processes, this dimension may be labeled the action dimension. 2. A noun dimension comprising a set of nouns. In a specific business process domain like banking or system management processes, this dimension may be labeled the managed resource object (MRO) dimension. 3. A characteristics, or attributes, dimension comprising a set of expressions which can be automatically evaluated and results in a Boolean value. A term for this dimension, for all process domains, that is more consistent with workflow and related process technologies is the policy dimension.

A point in this space is a 3-tuple: (verb, noun, attribute). A process is represented in navigation space by a point. In practice, although very large (order 10**6) spaces will be routinely defined, interpretable process definitions will exist only for a modest percentage (say, <10%) of the total space even in mature workflow businesses. Even this results in a large number of processes.

By way of example, dimension sets for verb, noun and attribute may include the following:

verb={add, delete, change, determine} noun={account, balance, customer, loan, teller, interest} attribute={<10%, overdue, >1000000, court order, audit, null}

And, given the above dimension sets, some process tuples may include the following:

(add, customer, null) (determine, account, court order) (change, interest, null) (determine, teller, overdue)

Associated with the process space are the following important and useful properties:

1. The set that defines each dimension as shipped to customers (with a set of appropriate interpretable process definitions) is extendable by the customer. Thus, customers may add nouns (e.g., North Branch, South Branch), verbs (e.g., summarize, amortize), and policies (e.g., withdraw maximum) specific to their business. 2. Dimension extensions are immediately accepted by the process space presentation software as extensions to the space. This provides consistency of viewpoint, understandability, and simple navigation in the process space. 3. Elements of any one of the three dimension sets may be arbitrarily grouped by the customer. 4. New elements that are groups may be added to each dimension. This produces a simple way of understanding what otherwise would be a noncontiguous set of planes in the process space, effectively combining them into a single plane. These allow customers to work in their preferred terms (for example, North Branch accounts, formal audit control processes.) 5. Elements that are groups may be subset. That is, new elements added to a set may be defined as “in” or belonging to an existing element. 6. There are no inherent restrictions on what constitutes the definition of a noun. Thus, for example, a group of points in the process space may be named and the resulting noun added to the noun dimension set. Processes using existing or new verbs may then be defined for this group of processes. This allows the simple and direct specification of, for example, processes that only a Branch Manager may initiate (cause to be automatically interpreted) or those that only on-duty tellers may initiate.

Three core ideas fundamental to the invention include representation, navigation, and extension. Representation refers to the three dimensional space representation of processes. Navigation refers to the selection of a process point in three dimensional space, and clicking on that point to zoom in by opening up the source to another process definition. Extensibility refers to the definition on the fly of dimensions, and to groupings of scalar definitions into super scalar values. Once a few of these groupings are defined, the user can navigate in three dimensional space to group values, and from there can zoom back to three dimensional space representation of scalar values.

Referring to FIG. 1 a visual display of a process space defined by three dimensions in accordance with the invention includes display panel 20 , title 22 , menu bar 21 with menu buttons 24 , 26 , 28 and 30 , navigation space 32 , and scrollable lists 40 , 42 and 44 . Nouns scrollable list 40 includes a plurality of nouns 50 and scroll bar 51 . Verbs scrollable list 42 includes verbs 52 and scroll bar 53 . Attributes scrollable list 44 includes attributes 54 and scroll bar 55 . Scroll bars 51 , 53 and 55 may or may not be visible, depending upon the number of items 50 , 52 and 54 in the respective lists 40 , 42 and 44 .

In this preferred embodiment of the invention, process point 76 appears in navigation space 32 in relation to nouns grid 70 , verbs grid 72 and attributes grid 74 at the position 80 , 82 , 84 defined by the highlighted noun entry 60 , highlighted verb entry 62 and highlighted attributes entry 64 in lists 40 , 42 and 44 respectively. A single 3-tuple or point in navigation space 32 may be highlighted responsive to selection of one item from each of lists 40 , 42 and 44 . A slice or plane of points may be highlighted by selecting only two items. Thus, by selecting a noun item 60 and a verb item 62 , navigation space 32 will highlight points (not shown) corresponding to all entries in attributes list 54 . For a particular combination of noun and verb, non-relevant entries in attributes list 44 may be grey out (rendered not selectable), and corresponding points in the slice of navigation space 32 not highlighted.

An entry 66 in nouns list 40 entitled “workgroup T”, “my domain”, or the like, may be selected, causing list 40 to display a group of nouns defined by the user. Similar groupings may be provided in verbs list 42 and attributes list 44 .

Buttons 24 , 26 , 28 and 30 may be selected in any traditional manner, such as by pointing and clicking, or by positioning a cursor and pressing enter, or the like. Similarly, entries 60 , 62 and 64 may be selected by pointing and clicking with a pointing device, or by scrolling through lists 40 , 42 , and 44 . Selected items 60 , 62 and 64 define a 3-Tuple which is represented in navigation space 32 by a highlighted point, or some other such indicia.

›BEST MODE FOR CARRYING OUT THE INVENTION · 2 of 4

Table 1 Main Window sets forth an extension of the java.awt.Frame class which, modified as set forth in Java-like psuedo code, defines an example process for generating the display of FIG. 1 , and acts as the main window of the 3D process space application of this example embodiment of the invention. For the purpose of this example embodiment, lists 50 , 52 and 54 are hard coded at Table 1, lines 56 – 64 , 69 – 76 and 81 – 87 , respectively. Alternatively, and preferably, these lists contents would be recorded externally and accessible and modifiable by the provider or user.

In general terms, the actual values shown in lists 50 , 52 , and 54 are controlled by the provider or user. Hence these would be stored externally to the source code shown in Table 1 on some long-term electronic media such as a disk drive. Ancillary functions allow the user to change these lists. That is, add and delete individual items or change the names of individual items. These changes would then appear directly in the lists 50 , 52 and 54 and in the corresponding dimension lines 70 , 72 and 74 , respectively, of 3-dimensional space diagram 32 .

Referring to FIG. 2 a file menu pull down, actuated by selecting file menu button 24 includes file action items new 100 , open 102 , save 104 , save as 106 and exit 108 . File actions 100 – 108 have the meanings and perform the functions well known to those of ordinary skill in the art.

In Table 2 File Menu Pull Down Processing there is set forth a psuedo code reprentation of processes implementing file menu actions 100 – 108 . Calls are made to Table 7 Process Space 180 when executing new 100 , open 102 , save 104 and save as 106 .

When menu item 100 (‘new’) is activated (typically, by a computer mouse button push), the user is prompted for a file name and dimension names, the input information syntax is validated, then the new process space is created. When menu item 102 (‘open’) is activated, the user will be shown a window which allows selection of a directory and then, within that directory, a file. When a specific file is selected, or entered by name as also allowed by the window, the file is read and a new process space main window is created to reflect the contents of the file. When menu item 104 (‘save’) is selected, the process space in the window is saved to a file (secondary storage), using either the name of the file previously opened or the name entered by the user during the processing of ‘new’ 100 . Menu item 106 (‘save as’) allows the user to change the name of an existing file to a new one. Menu item 108 (‘exit’) causes the current window to close, which also closes all associated file.

Referring to FIG. 3 an edit menu pull down, actuated by selecting edit button 26 includes such items cut 110 , add 112 , copy 114 and paste 116 . Edit actions 110 – 116 have the meanings and perform the functions will known to those of ordinary skill in the art.

In Table 3 Edit Menu Pull Down Processing there is set forth in Java and psuedo code processes for executing cut 110 , add 112 , copy 114 and paste 116 .

When menu item 110 (‘cut’) in FIG. 3 is activated, a previously highlighted dimension item (e.g., 84 in FIG. 1 ) is removed from the dimension and the value saved in temporary area (often called the clipboard), as indicated by lines 3 – 11 of Table 3. When menu item 112 (‘add’) is activated (function indicated by lines 13 – 16 of Table 3), the user is prompted for a new dimension item (value, name) and the item is added to a dimension. The dimension may have been highlighted before the ‘add’ button 112 was activated or, if not, the user will be prompted for the dimension name. When menu item 114 (‘copy’) is activated (lines 13 – 21 of Table 3) the highlighted dimension item is saved in a temporary area for possible later use, and (in contrast to ‘cut’) this item is not removed from its dimension. When menu item 116 (‘paste’) is activated (lines 23 – 25 of Table 3) a dimension item is retrieved from temporary storage and added to the highlighted dimension. This will be an item placed in temporary storage by some (not necessarily immediate) previous ‘cut’ or ‘copy’ action. Menu items may be greyed out if the action is inappropriate. For example, paste is greyed out until a cut or copy has been done.

Referring to FIG. 4 a process menu pull down, actuated by selecting process button 28 , includes such items as select 3D process 120 , create 3D process 122 and delete 3D process 124 .

In Table 4 3D Process Menu Pull Down Processing there is set forth in psuedo code processes for executing select 3D process 120 , create 3D process 122 and delete 3D process 124 . After prompting the user for input parameters, calls are made to Table 7 Process Space 180 .

When menu item 120 (‘select 3D process’) from FIG. 4 is activated (typically via a computer mouse button push), the user is prompted (lines 8 – 10 of Table 4) for a name of a 3D space. A dialogue will allow the selection of a space name from a list of existing names, and will also allow the user to navigate directories. When menu item 122 (‘create 3D process’) is activated (lines 12 – 16 of Table 4) the user is prompted for a space name and dimensions. The space is created and a new window is shown which presents the new space (another copy of window shown in FIG. 1 , with the new space). When menu item 124 (‘delete 3D process’) is activated (lines 18 – 20 of Table 4) the user is prompted for a space name, and the space is deleted (if it exists in the current working directory).

Referring to FIG. 5 a help menu pull down, actuated by selecting help button 30 includes such items as about 126 . Help action item 126 , and other help action items not listed, have the meanings and perform the functions will known to those of ordinary skill in the art, and will not be further discussed.

Referring to FIG. 6 a choice box 90 is preferably displayed responsive to selection by right mouse button clicking of a pointing device on process point 76 . Alternatively, and as implemented in Table 5, choice box 90 is displayed responsive to clicking the right or left mouse button with the pointer positioned anywhere in navigation space 32 . Choice box 90 includes a plurality of action items edit 91 , show process definition 92 , zoom in 93 , zoom out 94 , print 95 , and run process 96 which may be selected by scrolling or pointing and clicking, as will be apparent to those skilled in the art. Depending upon the authorization level of the user, some options 91 – 96 may be “greyed out”, that is, not available. For example, not all users are authorized to edit; in which event, item 91 would “greyed out”.

›BEST MODE FOR CARRYING OUT THE INVENTION · 3 of 4

Referring to FIG. 7 traversal of business process space by zoom in and zoom out processing is illustrated. In this illustration, navigation space 32 is illustrated in a series of three panels comprising, respectively, navigation space 132 and scrollable lists 133 , navigation space 134 and scrollable lists 135 , and navigation space 136 and scrollable lists 137 . Process 3-tuple 142 is highlighted in navigation space 132 at the grid positions corresponding to the fourth noun, third verb and second attribute in scrollable lists 133 . Process 3-tuple 144 is highlighted in navigation space 134 at the grid positions corresponding to the second noun, the fourth verb and the fourth attribute in scrollable lists 135 . Process 3-tuple 146 is highlighted in navigation space 136 at the grid positions corresponding to the third noun, the third verb and the fifth attribute in scrollable lists 137 . Points can contain a space, in which case they know the origin of it. Process, or navigation, space 136 is nested in point 144 , and process space 134 is nested in process point 142 .

Referring to FIG. 8 nested process spaces 150 and 160 are illustrated. These may be visible in two panels in display 20 , with process point 162 corresponding to the grid location specified by noun item 163 , verb item 164 and attribute item 165 . As is represented by line 151 from process point 162 to the origin 158 of navigation space 150 , selecting a zoom command in choice box 90 , panel 150 is opened and the zoom'd to space 150 , containing point 152 among other possibilities is highlighted along with corresponding entries in noun list 153 , verb list 154 and attribute list 155 .

In Table 5 Mouse Adapter and Table 6 Choice Panel are set forth Java and psuedo code representations of the processes for selecting choice box 90 and executing its functions, show process definition 92 , zoom in 93 , zoom out 94 , print 95 and run process 96 . For zoom in, the selected process point 162 is checked for zoomability. If it is zoomable, a new window 150 appears showing the nested (zoomed in) space. Point 162 in panel 160 may be highlighted to identify which space in display 160 is represented by display 150 . If process point 162 is not zoomable, point 152 is created along with its containing space.

Referring to FIG. 7 , traversal of nested process spaces is shown. Process space 134 is nested with process point 142 , as indicated by arrow 171 from 142 to the origin point 172 of space 134 . Similarly, process space 136 with origin pont 174 is nested within process point 144 as shown by arrow 173 . Conceptually, any collection of process points defines a process space. Hence the subprocesses that comprise a process point such as 142 implicitly define their own space 134 . Process point 144 is one of the subprocesses that comprise process 142 . This kind of nesting is handled automatically by the system as a customer defines business processes, and then uses lower level process points which have process definitions ( FIG. 9 ). The nesting relationship is directly the result of referring to other processes in the definition of a process.

At a minimum, the nested space contains only the subprocesses used in the definition. The minimal values of each dimension are completely determined as the union, for each dimension, of all the elements referenced in all the definitions. For example, the values for the noun dimension is the union of the noun references from each of the processes in the space. Similarly for the attribute dimension and verb dimension.

In addition, a customer may explicitly add process points to a process space, which are not part of the processes used to define a containing process point. These additional points will cause the value of each dimension to be automatically adjusted to encompass any new nouns, verbs or attributes.

When a space is displayed as the result of a ‘zoom-in’ operation ( FIG. 6 , item 93 ), processes in nested space that are explicitly referenced in the containing process point are highlighted, so that they are easily distinguished from non-referenced subprocesses. Of course, it is possible that all process points in the nested space will be highlighted, indicating that they are all referenced by the enclosing process.

Another aspect of process space nesting is that any given space may enclose more than one point. This is indicated in FIG. 7 by arrows 175 , 177 and 179 . More specifically, a process point may contain exactly zero or one directly nested process spaces. (A directly nested space is a space with no intervening process points. So, for example, space 134 is directly nested in point 142 , and space 136 is not directly nested in point 142 , while space 136 is directly nested in point 144 .) A process space may be enclosed by zero or n process points, where is logically unlimited.

A process point is termed ‘zoomable’ if a zoom-out or zoom-in operation can be performed on it. A zoom-in operation is possible if the process point contains a subprocess as part of its definition. A zoom-out operation is possible if the process space containing the process point is contained within another process point. (If multiply contained, the user is prompted during the zoom-out operation, to select the containing process point.) In general, for a process space, only zoom out is defined. In general, for a process point, zoom in and zoom out are defined; zoom in is defined in terms of the existence of subprocesses as part of the process definition of the process point, and zoom out is through the origin point of the process space containing the process point.

These data modeling relationships and functions are depicted in Tables 7 through 11. The functions depicted provide the underlying data model, used by the functions in Tables 1 1 through 6, to produce the displays depicted in FIG. 1 through 6 , 8 and 9 .

FIG. 8 shows how the traversal from a process point to its nested process space, shown logically in FIG. 7 , looks to a user as shown in display windows. In this depiction, the user has selected menu item 93 (‘zoom-in’), from menu 90 while process point 162 was highlighted. Processing resulted in the overlay display window 150 , showing the contained space and its process points including 152 within the navigation space about origin 158 . The process points actually referenced by point 162 will be highlighted.

›BEST MODE FOR CARRYING OUT THE INVENTION · 4 of 4

Referring to FIG. 9 process definition window 167 is illustrated. Upon selecting show process definition 92 from choice box 90 with process point 162 highlighted, process definition 164 for process 162 is provided. Embedded object 156 in definition 167 may be selected, for example, to pull in and display addition material, or to execute the process.

Referring to FIG. 10 the interrelationships of various code modules implementing a preferred embodiment of the invention are illustrated. As is represented by lines 181 and 187 , for each entry in process space 180 there exists three dimensions 182 and zero or one process points 186 . As is represented by line 183 , for each entry in dimension 182 there exists any number n of dimension items. As is represented by line 185 , for each dimension item 184 there exists zero or one process points. As is represented by line 189 , for each entry in process point 186 there exists one process definition 188 .

Java code and Java-like psuedo code representations of process space 180 , dimension 182 , dimension item 184 , process point 186 , and process definition 188 are set forth in Tables 7, 8, 9, 10, and 11, respectively.

Referring to Table 7, the basic functions of an implementation of the process space data model are depicted. Lines 10 – 75 provide methods of process space creation, used by the interface generation functions as described, for example, in FIG. 4 , menu item 122 . Lines 76 – 81 provide a means to obtain a specific dimension for the process space. This would be used, for example, in generating the diagram dimensions 70 , 72 , 74 and list boxes 40 , 42 , 44 in FIG. 1 . Lines 82 – 106 provide a means to nest the current process point within another process space, by means of the special process point known as the origin point. Line 107 provides the low level function to zoom out (refer to 93 on FIG. 6 ). Lines 108 – 165 provide various utility functions used by the interface functions (Tables 1–6) to determine information about the process space, such as number of process points it contains (lines 111 – 129 ). Lines 166 – 219 are provided for stand-alone testing of the process space implementation.

Referring to Table 8, an implementation of the dimension abstraction 181 ( FIG. 10 ) used by the process space (Table 7) is given. Lines 16 – 50 provide the basic functions of create, add item, delete item. These would be invoked by the interface level functions, for example, when the customer adds verbs to the list box 42 ( FIG. 1 ). Lines 51 – 94 are basic dimension utilities and navigation functions. For example, lines 87 – 93 would be used by interface level functions to determine actual values to display in the list boxes 40 , 42 , 44 and the corresponding diagram dimensions 70 , 72 , 74 ( FIG. 1 ).

Referring to Table 9, an implementation of the dimension item abstraction is given. These abstractions are the objects actually contained in dimensions 183 ( FIG. 10 ). Lines 14 – 22 provide functions to create a dimension item, and are invoked by the interface functions, for example, when in FIG. 1 , a new attribute item is added to list box 44 . Lines 23 – 34 provide the basic functions to obtain the contents of a dimension item and to change it.

Referring to Table 10, an implementation of the process point abstraction is depicted. This is the abstraction indirectly referenced by all the interface functions when a process point is depicted, and directly used by the data model functions, as shown in 185 and 187 of FIG. 10 . For example, these include process point 76 in FIG. 1 and points 142 , 144 and 146 in FIG. 7 , and point 169 in FIG. 9 . Lines 13 – 17 provide means to create a process point. Lines 29 – 80 , 100 allow for setting and retrieving the process definition associated with a process point, and querying existence of a process definition. Lines 31 – 59 are basic navigation capabilities used by other data model functions and interface functions move from point-to-point and from a point to its ‘position’ in the process space as shown, for example, in diagram 32 of FIG. 1 and FIG. 6 . If, for example, the user drags the point 76 in FIG. 1 , successive neighbors of 76 would be shown, their position marked on the dimension lines, and the dimension value highlighted. This is accomplished by using these lines. Lines 60 – 85 are concerned with functions to support nested (contained) process spaces; create, delete. Lines 86 – 99 are the functions directly providing zoom in and zoom out capability, as used by the interface functions and described in reference to FIGS. 7 and 8 . Lines 101 – 115 provide debugging convenience for this particular implementation.

Referring to Table 11, an implementation of the process definition abstraction is shown. This is used directly by the data model functions 189 in FIG. 10 to hold information about this process point's specific process definition. Lines 13 – 16 provide a means to create the abstraction. Lines 19 – 24 provide basic utilities. For example, lines 24 ff would be used by the interface functions when building the display 167 depicted in FIG. 9 . Lines 29 – 37 would be invoked by the interface functions when the user activates menu item 96 in FIG. 6 .

›ADVANTAGES OVER THE PRIOR ART

In accordance with the invention, the preferred embodiment of this invention provides a system and method for enabling understanding of the mechanisms, interactions and inter-relationships of business processes.

Further, the invention provides a method and system for systematically defining the current and future processes of an organization in a manner which facilitates understanding, use and change.

Further, the invention provide an overall business context in which to know and evaluate processes impacted by a policy.

›ALTERNATIVE EMBODIMENTS

It will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without departing from the spirit and scope of the invention. In particular, it is within the scope of the invention to provide a memory device, such as a transmission medium, magnetic or optical tape or disc, or the like, for storing signals for controlling the operation of a computer according to the method of the invention and/or to structure its components in accordance with the system of the invention.

Accordingly, the scope of protection of this invention is limited only by the following claims and their equivalents.

›Tables in the description — 12
+Concatenation operator
.javaFile extension for a file of Java source code
APIApplication Programming Interface
GUIGraphical User Interface
java.awtJava Abstract Windowing Toolkit package
java.langJava Language package
TABLE 1 — MAIN WINDOW
1//---------------------------------------------------------
2//
3//bps - Business Process Space pseudo code
4/*
5This simple extension of the java.awt.Frame class
6contains all the elements necessary to act as the
7main window of an application.
8*/
9//---------------------------------------------------------
10import java.awt.*;
11import symantec.itools.awt.BorderPanel;
12import symantec.itools.awt.shape.VerticalLine;
13import symantec.itools.awt.shape.HorizontalLine;
14import symantec.itools.awt.shape.Line;
15import symantec.itools.awt.shape.Circle;
16public class Frame1 extends Frame
17{
18public Frame1( )
19{
30//bps ------------------------------------------------------
31//bps Add constructors for Frame1( ) to build
32//bps additional “frames” when zoomin or zoomout are
33//bps invoked, or when file-new is invoked
34//bps or when the 3DProcess process pulldown is used
35//bps to “create” another space
36//bps the idea being the dimension axis would have
37//bps to be (potentially) changed,
38//bps and the list items would have to be added
39//bps accordingly
40//bps ------------------------------------------------------
41//{{INIT_CONTROLS
42setLayout(null);
43setVisible(false);
44setSize(insets( ).left + insets( ).right + 632, insets( ).top
45+ insets( ).bottom + 305);
46openFileDialog1 = new java.awt.FileDialog(this);
47openFileDialog1.setMode(FileDialog.LOAD);
48openFileDialog1.setTitle(“Open”);
49//$$ openFileDialog1.move(24,0);
50//bps The following dimension values for
51//bps the noun, verb and attribute
52//bps pull down lists are hard coded
53//bps for this example. Alternatively, they
54//bps may be input by the user.
55NounList = new java.awt.List(0,false);
56NounList.addItem(“dept40a”);
57NounList.addItem(“dept40b”);
58NounList.addItem(“dept40c”);
59NounList.addItem(“projectgzl”);
60NounList.addItem(“dept40d”);
61NounList.addItem(“workgroupT”);
62NounList.addItem(“dept99”);
63NounList.addItem(“deptalpha”);
64NounList.addItem(“testers”);
65add(NounList);
66NounList.setBounds(insets( ).left + 36,insets( ).top +
6784,144,60);
68VerbList = new java.awt.List(0,false);
69VerbList.addItem(“unittest”);
70VerbList.addItem(“componenttest”);
71VerbList.addItem(“componentbringup”);
72VerbList.addItem(“componentregressiontest”);
73VerbList.addItem(“systemarch”);
74VerbList.addItem(“powerontest”);
75VerbList.addItem(“systemtest”);
76VerbList.addItem(“earlyship”);
77add(VerbList);
78VerbList.setBounds(insets( ).left + 216,insets( ).top +
7984,144,60);
80AttributeList = new java.awt.List(0,false);
81AttributeList.addItem(“software”);
82AttributeList.addItem(“hardware”);
83AttributeList.addItem(“checkpoint”);
84AttributeList.addItem(“review”);
85AttributeList.addItem(“marketing”);
86AttributeList.addItem(“planning”);
87AttributeList.addItem(“sales”);
88add(AttributeList);
89AttributeList.setBounds(insets( ).left + 396,insets( ).top +
9084,144,60);
91labelnoun = new java.awt.Label(“Nouns”);
92labelnoun.setBounds(insets( ).left + 36,insets( ).top +
9336,100,40);
94add(labelnoun);
95labelverb = new java.awt.Label(“Verbs”);
96labelverb.setBounds(insets( ).left + 216,insets( ).top +
9736,100,40);
98add(labelverb);
99labelattributes = new
100java.awt.Label(“Attributes”);
101labelattributes.setBounds(insets( ).left + 396,insets( ).top +
10236,100,40);
103add(labelattributes);
104borderPanel1 = new symantec.itools.awt.BorderPanel( );
105borderPanel1.setLayout(null);
106borderPanel1.setBounds(insets( ).left + 48,insets( ).top +
107156,480,372);
108add(borderPanel1);
109ReflectAttributes = new
110symantec.itools.awt.shape.VerticalLine( );
111ReflectAttributes.setBounds(122,0,2,156);
112borderPanel1.add(ReflectAttributes);
113ReflectNouns = new
114symantec.itools.awt.shape.HorizontalLine( );
115ReflectNouns.setBounds(122,156,216,2);
116borderPanel1.add(ReflectNouns);
117ReflectVerbs = new
118symantec.itools.awt.shape.Line( );
119try {
120ReflectVerbs.setLineThickness (2);
121}
122catch(java.beans.PropertyVetoException e) { }
123try {
124ReflectVerbs.setPositiveSlope(true);
125}
126catch(java.beans.PropertyVetoException e) { }
127ReflectVerbs.setBounds(−34,156,156,156);
128borderPanel1.add(ReflectVerbs);
129label1 = new java.awt.Label(“Nouns”);
130label1.setBounds(338,156,100,40);
131borderPanel1.add(label1);
132label2 = new java.awt.Label(“Verbs”);
133label2.setBounds(26,252,36,24);
134borderPanel1.add(label2);
135label3 = new java.awt.Label(“Attributes”);
136label3.setBounds(134,−12,100,40);
137borderPanel1.add(label3);
138CircleCursor = new symantec.itools.awt.shape.Circle( );
139try {
140CircleCursor.setFillColor(new Color(16711935));
141}
142catch(java.beans.PropertyVetoException e) { }
143try {
144CircleCursor.setFillMode(true);
145}
146catch(java.beans.PropertyVetoException e) { }
147CircleCursor.setBounds(122,156,6,6);
148CircleCursor.setForeground(new Color(16711935));
149borderPanel1.add(CircleCursor);
150CircleCursorMem = new
151symantec.itools.awt.shape.Circle( );
152CircleCursorMem.setVisible(false);
153CircleCursorMem.setBounds(122,156,6,6);
154borderPanel1.add(CircleCursorMem);
155choice1 = new java.awt.Choice( );
156choice1.addItem(“ShowprocessDefinition”);
157choice1.addItem(“Zoom In”);
158choice1.addItem(“Zoom Out”);
159choice1.addItem(“print”);
160choice1.addItem(“Run Process”);
161try {
162choice1.select(−1);
163} catch (IllegalArgumentException e) { }
164choice1.setVisible(false);
165borderPanel1.add(choice1);
166choice1.setBounds(218,204,100,40);
167label4 = new java.awt.Label(“software”);
168label4.setBounds(74,72,48,16);
169borderPanel1.add(label4);
170label5 = new java.awt.Label(“dept40d”);
171label5.setBounds(158,132,48,16);
172borderpanel1.add(label5);
173label6 = new java.awt.Label(“unittest”);
174label6.setBounds(14,192,48,16);
175borderPanel1.add(label6);
176setTitle(“3DProcessSpace”);
177//}}
178//pax
179circurpoint = new java.awt.Point(122,156);
180borderPanel1.add(circurpoint);
181//{{(INIT_MENUS
182mainMenuBar = new java.awt.MenuBar( );
183menu1 = new java.awt.Menu(“File”);
184miNew = new java.awt.MenuItem(“New”);
185menu1.add(miNew);
186miOpen = new java.awt.MenuItem(“Open...”)
187menu1.add(miOpen);
188miSave = new java.awt.MenuItem(“Save”);
189menu1.add(miSave);
190miSaveAs = new java.awt.MenuItem(“Save As...”);
191menu1.add(miSaveAs);
192menu1.addSeparator( );
193miExit = new java.awt.MenuItem(“Exit”);
194menu1.add(miExit);
195mainMenuBar.add(menu1);
196menu2 = new java.awt.Menu(“Edit”);
197miCut = new java.awt.MenuItem(“Cut”);
198menu2.add(miCut);
199menuItem1 = new java.awt.MenuItem(“Add”);
200menu2.add(menuItem1);
201miCopy = new java.awt.MenuItem(“Copy”);
202menu2.add(miCopy);
203miPaste = new java.awt.MenuItem(“Paste”);
204menu2.add(miPaste);
205mainMenuBar.add(menu2);
206TDProcess = new java.awt.Menu(“3DProcess”);
207S3DProcess = new java.awt.MenuItem(“Select3DProcess...”);
208TDprocess.add(S3DProcess);
209C3DProcess = new java.awt.MenuItem(“Create3DProcess”);
210TDProcess.add(C3DProcess);
211D3DProcess = new java.awt.MenuItem(“Delete3DProcess”);
212TDprocess.add(D3DProcess);
213mainMenuBar.add(TDProcess);
214menu3 = new java.awt.Menu(“Help”);
215mainMenuBar.setHelpMenu(menu3);
216miAbout = new java.awt.MenuItem(“About..”);
217menu3.add(miAbout);
218mainMenuBar.add(menu3);
219setMenuBar(mainMenuBar);
220//$$ mainMenuBar.move(0,0);
221//}}
222//{{REGISTER_LISTENERS
223SymWindow aSymWindow = new SymWindow( );
224this.addWindowListener(aSymWindow);
225SymAction lSymAction = new SymAction( );
226miOpen.addActionListener(lSymAction);
227miAbout.addActionListener(lSymAction);
228miExit.addActionListener(lSymAction);
229//bps Add listeners here for main
230//bps menu items
231//bps for selecting, creating and deleting 3 d
232//bps process spaces
233SymItem lSymItem = new SymItem( );
234NounList.addItemListener(lSymItem);
235VerbList.addItemListener(lSymItem);
236AttributeList.addItemListener(lSymItem);
237SymMouse aSymMouse = new SymMouse( );
238NounList.addMouseListener(aSymMouse);
239VerbList.addMouseListener(aSymMouse);
240AttributeList.addMouseListener(aSymMouse);
241SymMouseMotion aSymMouseMotion = new SymMouseMotion( );
242NounList.addMouseMotionListener (aSymMouseMotion);
243VerbList.addMouseMotionListener (aSymMouseMotion);
244AttributeList.addMouseMotionListener(aSymMouseMotion);
245borderPanel1.addMouseListener(aSymMouse);
246//}}
247}
248public Frame1(String title)
249{
250this( );
251setTitle(title);
252}
253public synchronized void show( )
254{
255move(50, 50);
256super.show( );
257}
258static public void main(String args[])
259{
260(new Frame1( )).show( );
261}
262public void addNotify( )
263{
264// Record the size of the window prior to calling
265// parents addNotify.
266Dimension d = getSize( );
267
268super.addNotify( );
269if (fComponentsAdjusted)
270return;
271// Adjust components according to the insets
272setSize(insets( ).left + insets( ).right + d.width,
273insets( ).top + insets( ).bottom + d.height);
274Component components[] = getComponents( );
275for (int i = 0; i < components.length; i++)
276{
277Point p = components[i].getLocation( );
278p.translate(insets( ).left, insets( ).top);
279components[i].setLocation(p);
280}
281fComponentsAdjusted = true;
282}
283// Used for addNotify check.
284boolean fComponentsAdjusted = false;
285
286//{{DECLARE_CONTROLS
287java.awt.FileDialog openFileDialog1;
288java.awt.List NounList;
289java.awt.List VerbList;
290java.awt.List AttributeList;
291java.awt.Label labelnoun;
292java.awt.Label labelverb;
293java.awt.Label labelattributes;
294symantec.itools.awt.BorderPanel borderPanel1;
295symantec.itools.awt.shape.VerticalLine ReflectAttributes;
296symantec.itools.awt.shape.HorizontalLine ReflectNouns;
297symantec.itools.awt.shape.Line ReflectVerbs;
298java.awt.Label label1;
299java.awt.Label label2;
300java.awt.Label label3;
301symantec.itools.awt.shape.Circle CircleCursor;
302symantec.itools.awt.shape.Circle CircleCursorMem;
303java.awt.Choice choice1;
304java.awt.Label label4;
305java.awt.Label label5;
306java.awt.Label label6;
307//}}
308//pax
309java.awt.Point circurpoint;
310//{{DECLARE_MENUS
311java.awt.MenuBar mainMenuBar;
312java.awt.Menu menu1;
313java.awt.MenuItem miNew;
314java.awt.MenuItem miOpen;
315java.awt.MenuItem miSave;
316java.awt.MenuItem miSaveAs;
317java.awt.MenuItem miExit;
318java.awt.Menu menu2;
319java.awt.MenuItem miCut;
320java.awt.MenuItem menuItem1;
321java.awt.MenuItem miCopy;
322java.awt.MenuItem miPaste;
323java.awt.Menu TDProcess;
324java.awt.MenuItem S3DProcess;
325java.awt.MenuItem C3DProcess;
326java.awt.MenuItem D3DProcess;
327java.awt.Menu menu3;
328java.awt.MenuItem miAbout;
329//}}
330class SymWindow extends java.awt.event.WindowAdapter
331{
332public void windowClosing(java.awt.event.WindowEvent event)
333{
334Object object = event.getSource( );
335if (object == Frame1.this)
336Frame1_WindowClosing(event);
337}
338}
339void Frame1_WindowClosing(java.awt.event.WindowEvent event)
340{
341hide( );// hide the Frame
342dispose( );// free the system resources
343System.exit(0);// close the application
344}
345class SymAction implements java.awt.event.ActionListener
346{
347public void actionPerformed(java.awt.event.ActionEvent
348event)
349{
350Object object = event.getSource( );
351if (object == miOpen)
352miOpen_Action(event);
353else if (object == miAbout)
354miAbout_Action(event);
355else if (object == miExit)
356miExit_Action(event);
357//bps -------------------------------------------
358//bps Add ActionListener for
359//bps menu items for file new, open and save,
360//bps for selecting, creating or deleting 3 d
361//bps process spaces
362//bps for editing items such as cut, add,
363//bps copy, paste
364//bps -------------------------------------------
365}
366}
367
368void miAbout_Action(java.awt.event.ActionEvent event)
369{
370//{{CONNECTION
371// Action from About Create and show as modal
372(new AboutDialog(this, true)).show( );
373//}}
374}
375void miExit_Action(java.awt.event.ActionEvent event)
376{
377//{{CONNECTION
378// Action from Exit Create and show as modal
379(new QuitDialog(this, true)).show( );
380//}}
381}
382void miOpen_Action(java.awt.event.ActionEvent event)
383{
384//{{CONNECTION
385// Action from Open... Show the OpenFileDialog
386openFileDialog1.show( );
387//}}
388}
TABLE 2 — FILE MENU PULL DOWN PROCESSING
1//bps Likewise, for File menu pulldowns, add
2//bps handlers here.
3//bps
4//bps For File-New
5//bps prompt user for file name (validate input)
6//bps create file, then
7//bps create a space:
8//bps prompt user for space name and
9//bps dimensions(include validate
10//bps then new uspname = ProcessSpace (uinput1,
11//bps uinput2, uinput3);
12//bps
13//bps For File-Open
14//bps prompt user for file name (fn) (validate
15//bps input)
16//bps threedspace = new ProcessSpace(fn);
17//bps For File-Save
18//bps filename already exists, so ask the space to
19//bps save itself
20//bps ProcessSpace.save( );
21//bps
22//bps For File-SaveAs
23//bps prompt user for file name and validate,
24//bps ProcessSpace.save(fn)
25//bps
TABLE 3 — EDIT MENU PULL DOWN PROCESSING
1//bps Likewise for editing process space entries:
2//bps
3//bps For edit-cut
4//bps keep cut entry on clipboard just in case a
5//bps paste is used
6//bps For the Dimension in question
7//bps For the item selected (highlighted), obtain
8//bps Dimension call the Dimension and delete the
9//bps item
10//bps thisDimension.deleteItem
11//bps (item-that-is-highlighted);
12//bps
13//bps For edit-add
14//bps For the Dimension in question
15//bps Prompt the user for the new entry,
16//bps thisDimension.addItem(item-prompted-for);
17//bps
18//bps For edit-copy
19//bps For the Dimension in question
20//bps copy the selected (highlighted) item to
21//bps clipboard
22//bps
23//bps For edit-paste
24//bps For the Dimension in question
25//bps this.Dimension.addItem(from-clipboard);
26//bps
27//bps -------------------------------------------------
28class SymItem implements java.awt.event.ItemListener
29{
30public void itemStateChanged
31(java.awt.event.ItemEvent event)
32{
33Object object = event.getSource( );
34if (object == NounList)
35NounList_ItemStateChanged(event);
36else if (object == VerbList)
37VerbList_ItemStateChanged(event);
38else if (object == AttributeList)
39AttributeList_ItemStatechanged(event);
40}
41}
42void NounList_ItemStateChanged
43(java.awt.event.ItemEvent event)
44{
45// to do: code goes here.
46
47//{{CONNECTION
48// Repaint the BorderPanel
49{
50borderPanel1.repaint( );
51}
52//}}
53}
54void VerbList_ItemStateChanged
55(java.awt.event.ItemEvent event)
56{
57// to do: code goes here.
58
59//{{CONNECTION
60// Repaint the BorderPanel
61{
62borderPanel1.repaint( );
63}
64//}}
65}
66void AttributeList_ItemStateChanged
67(java.awt.event.ItemEvent event)
68{
69// to do: code goes here.
70
71//{{CONNECTION
72// Repaint the BorderPanel
73{
74borderPanel1.repaint( );
75}
76//}}
77}
TABLE 4 — 3D PROCESS MENU PULL DOWN PROCESSING
1//bps ------------------------------------------------
2//bps void mi3DProcess_Action(java.awt.even.ActionEvent
3//bps event) for when a user selects this and chooses
4//bps a separate S3DProcess, C3DProcess and D3DProcess
5//bps Add action processor to handle the selection,
6//bps creation and deletion of 3 d process spaces.
7//bps
8//bps To select a space,
9//bps prompt user for space name (include validate)
10//bps then ProcessSpace.show
11//bps
12//bps To create a space,
13//bps prompt user for space name and
14//bps dimensions (include validate
15//bps then new uspname = ProcessSpace (uinput1,
16//bps uinput2, uinput3);
17//bps
18//bps To delete a space,
19//bps prompt user for space name and validate and
20//bps delete
21//bps
TABLE 5 — MOUSE ADAPTER
1}
2class SymMouse extends java.awt.event.MouseAdapter
3{
4public void mousePressed(java.awt.event.MouseEvent event)
5{
6Object object = event.getSource( );
7if (object == borderPanel1)
8borderPanel1_mousePressed(event);
9}
10public void mouseReleased(java.awt.event.MouseEvent event)
11{
12Object object = event.getSource( );
13if (object == NounList)
14NounList_MouseRelease(event);
15else if (object == VerbList)
16VerbList_MouseRelease(event);
17else if (object == AttributeList)
18AttributeList_MouseRelease(event);
19}
20public void mouseClicked(java.awt.event.MouseEvent event)
21{
22Object object = event.getSource( );
23if (object == NounList)
24NounList_MouseClick(event);
25else if (object == VerbList)
26VerbList_MouseClick(event);
27else if (object == AttributeList)
28AttributeList_MouseClick(event);
29else if (object == borderPanel1)
30borderPanel1_mouseClicked(event);
31}
32}
33void NounList_MouseClick(java.awt.event.MouseEvent event)
34{
35// to do: code goes here.
36
37//{{CONNECTION
38// Repaint the BorderPanel
39}
40borderPanel1.repaint( );
41}
42//}}
43}
44void VerbList_MouseClick(java.awt.event.MouseEvent event)
45{
46// to do: code goes here.
47
48//{{CONNECTION
49// Repaint the BorderPanel
50{
51borderPanel1.repaint( );
52}
53//}}
54}
55void AttributeList_MouseClick(java.awt.event.MouseEvent event)
56{
57// to do: code goes here.
58
59//{{CONNECTION
60// Repaint the BorderPanel
61{
62borderPanel1.repaint( );
63}
64//}}
65}
66class SymMouseMotion extends java.awt.event.
MouseMotionAdapter
67{
68public void mouseDragged(java.awt.event.MouseEvent event)
69{
70Object object = event.getSource( );
71if (object == NounList)
72NounList_MouseDrag(event);
73else if (object == VerbList)
74VerbList_MouseDrag(event);
75else if (object == AttributeList)
76AttributeList_MouseDrag(event);
77}
78}
79void NounList_MouseDrag (java.awt.event.MouseEvent event)
80{
81// to do: code goes here.
82// noun list being moved - reflect changes on +X axis
83// circlecursor is at 122,156 origin
84// circurpoint holds the latest x,y values for the
85// origin of the cursor
86
87
88CircleCursor.reshape( circurpoint.x + event.getY( ),
89circurpoint.y, 6, 6);
90//{{CONNECTION
91// Repaint the BorderPanel
92{
93borderpanel1.repaint( );
94}
95//}}
96}
97void VerbList_MouseDrag(java.awt.event.MouseEvent event)
98{
99// to do: code goes here.
100CircleCursor.reshape( circurpoint.x − event.getY( ),
101circurpoint.y + event.getY( ), 6, 6);
102//{{CONNECTION
103// Repaint the BorderPanel
104{
105borderPanel1.repaint( );
106}
107//}}
108}
109void AttributeList_MouseDrag(java.awt.event.MouseEvent event)
110{
111// to do: code goes here.
112CircleCursor.reshape( circurpoint.x, circurpoint.y
113+ event.getY( ), 6, 6);
114//{{CONNECTION
115// Repaint the BorderPanel
116{
117borderPanel1.repaint( );
118}
119//}}
120}
121void NounList_MouseRelease(java.awt.event.MouseEvent event)
122{
123// to do: code goes here.
124circurpoint.x += event.getY( );
125//{{CONNECTION
126// Repaint the BorderPanel
127{
128borderPanel1.repaint( );
129}
130//}}
131}
132void VerbList_MouseRelease (java.awt.event.MouseEvent event)
133{
134// to do: code goes here.
135circurpoint.x −= event.getY( );
136circurpoint.y += event.getY( );
137//{{CONNECTION
138// Repaint the BorderPanel
139{
140borderPanel1.repaint( );
141}
142//}}
143}
144void AttributeList_MouseRelease(java.awt.event.MouseEvent
event)
145{
146// to do: code goes here.
147circurpoint.y += event.getY( );
148//{{CONNECTION
149// Repaint the BorderPanel
150{
151borderPanel1.repaint( );
152}
153//}}
154}
155void borderPanel1_mouseClicked(java.awt.event.MouseEvent
event)
156{
157// to do: code goes here.
158//bps --------------------------------------
159//bps An alternative to making the choice box
160//bps visible is to monitor for a
161//bps right mouse button click,
162//bps Check to see if the cursor is pointing to a
163//bps ProcessPoint
164//bps Highlight the ProcessPoint (so the user
165//bps knows it's the right
166//bps one, and show the choice box for that
167//bps ProcessPoint.
168//bps In addition, highlight the intersections of
169//bps that ProcessPoint on that axis.
170//bps --------------------------------------
171//{{CONNECTION
172// Toggle show/hide
173choice1.setVisible(!choice1.isVisible( ));
174//}}
175}
176void borderPanel1_mousePressed(java.awt.event.MouseEvent
event)
177{
178// to do: code goes here.
179
180//{{CONNECTION
181// Show the Choice
182choice1.setVisible(true);
183//}}
184}
TABLE 6 — CHOICE PANEL
1//bps --------------------------------------
2//bps Once it's determined that a MouseEvent occurred,
3//bps the choice panel becomes visible and presents a
4//bps list of choices to the user.
5//bps Depending on what choice is selected, appropriate
6//bps calls are made to the respective handlers.
7//bps
8//bps Note - for convenience, if a process point does
9//bps not allow an action, that menu item is “grayed”
10//bps out and is not accessible
11//bps
12//bps For ShowProcessDefinition, a call is made -
13//bps ForThisProcesspoint.show( );
14//bps
15//bps For Zoom In, first the point is checked for
16//bps zoomability, and then if ok, it zigs
17//bps If ForThisProcessPoint.isZoomableIn( );
18//bps ForThisProcessSpace =
19//bps ForThisProcessPoint.getProcess( );
20//bps ForThisProcessSpace.zoomIn( );
21//bps Then highlight the point.
22//bps
23//bps For Zoom out, first the point is checked for
24//bps zoomability, and then if ok, it zags as follows.
25//bps If ForThisProcessPoint.isZoomableOut( );
26//bps If ForThisProcessSpace =
27//bps ForThisProcessPoint.getProcess( ) exists
28//bps Then ForThisProcessSpace.zoomOut( );
29//bps else Create a new process space
30//bps by first creating a new GUI Frame (user will
31//bps be prompted input the dimension values for
32//bps this point.)
33//bps And highlight the point
34//bps
35//bps Print the object
36//bps
37//bps Run Process invokes the appropriate
38//bps registered process starter
39//bps for a particular workflow tool
40}
TABLE 7 — PROCESS SPACE
1//----- ProcessSpace.java ---------------------------------
2//
3//
4// Part of Business Process Space prototype
5//
6import java.lang.*;
7import java.util.*;
8// ---------------------------------------------------------
9public class ProcessSpace {
10privateProcessPointorigin_;
11protectedDimensionnouns_, verbs_, attributes_;
12protectedProcessPointwithin_ = null;
13publicStringname_;
14ProcessSpace( ) {
15nouns —= new Dimension( “noun” );
16verbs —= new Dimension( “verb” );
17attributes —= new Dimension( “attr” );
18generatespace( );
19} // ctor 1 of 4
20ProcessSpace( ProcessPoint p ) {
21within —= p;
22nouns —= new Dimension( “noun” );
23verbs —= new Dimension( “verb” );
24attributes —= new Dimension( “attr” );
25generatespace( );
26} // ctor 2 of 4
27ProcessSpace( Dimension n, Dimension v, Dimension a) {
28nouns —= n;
29verbs —= v;
30attributes —= a;
31n.setProcessSpace( this );
32v.setProcessSpace( this );
33a.setProcessSpace( this );
34generatespace( );
35} // ctor 3 of 4
36ProcessSpace( ProcessPoint P,
37Dimension n, Dimension v, Dimension a ) {
38within —= p;
39nouns —= n;
40verbs —= v;
41attributes —= a;
42generatespace( );
43} // ctor 4 of 4
44private void generatespace( ) {
45DimensionItem n, v, a;
46n = new DimensionItem( nouns_, “origin” );
47v = new DimensionItem( verbs_, “origin” );
48a = new DimensionItem( attributes_, “origin” );
49origin_= new ProcessPoint( n, v, a );
50n.setPoint( origin_);
51v.setPoint( origin_);
52a.setPoint( origin_);
53for (Enumeration en = nouns_.getItems( );
54en.hasMoreElements( ); ) {
55n = (DimensionItem)en.nextElement( );
56for (Enumeration ev = verbs_.getItems( );
57ev.hasMoreElements( ); ) {
58v = (DimensionItem)ev.nextElement( );
59for (Enumeration ea = attributes_.getItems( );
60ea.hasMoreElements( ); ) {
61try {
62a = (DimensionItem)
ea.nextElement( );
63ProcessPoint p =
new ProcessPoint( n,
64v, a );
65n.setPoint( p );
66v.setPoint( p );
67a.setPoint( p );
68}
69catch( NoSuchElementException ee ) {
70break;
71}
72}
73}
74}
75} // generatespace( )
76public Dimension getDimension( String n ) {
77if (n == “noun”) return nouns_;
78else if (n == “verb”) return verbs_;
79else if (n.startsWith( “attr”)) return attributes_;
80return null;
81}
82public ProcessPoint createSpaceAround( ) {
83return within_= new ProcessPoint( );
84}
93// following are simple aliases for createSpaceAround( )
94public ProcessPoint createSpaceContaining( ) { return
95createSpaceAround( ); }
96public ProcessPoint createPointContaining( ) { return
97createSpaceAround( ); }
98public ProcessPoint createSpaceContext( ) { return
99createSpaceAround( ); }
100public ProcessPoint createPointContext( ) { return
101createSpaceAround( ); }
102public ProcessPoint createContext( ) { return
103createSpaceAround( ); }
104public void deleteSpaceAround( ) { within_= null; }
105public void setContainingPoint( ProcessPoint p ) {
106within_= p; }
107public ProcessPoint zoomOut( ) { return within_; }
108public int capacity( ) { return nouns_.numberOfItems( ) *
109verbs_.numberOfItems( ) *
110attributes_.nurnberOfItems( ); }
111public int size( ) { // returns number of ProcessPoints
112int ans = 0;
113for (Enumeration en = nouns_.getItems( );
114en.hasMoreElements( ); ) {
115DimensionItem n =
116(DimensionItem)en.nextElement( );
117for (Enumeration ev = verbs_.getItems( );
118ev.hasMoreElements( ); ) {
119DimensionItem v =
(DimensionItem)ev.nextElement( );
120for (Enumeration ea = attributes_.getItems( );
121ea.hasMoreElements( ); ) {
122DimensionItem a =
123(DimensionItem)ea. nextElement( );
124if ( a.getPointo( ) != null ) ++ans;
125}
126}
127}
128return ans;
129} // size( )
130public int numberOfProcessDefinition( ) {
131int ans = 0;
132for (Enumeration en = nouns_.getItems( );
133en.hasMoreElements( ); ) {
134DimensionItem n =
135(DimensionItem)en.nextElement( );
136for (Enumeration ev = verbs_.getItems( );
137ev.hasMoreElements( ); ) {
138DimensionItem v = (DimensionItem)ev.nextElement( );
139for (Enumeration ea = attributes_.getItems( );
140ea.hasMoreElements( ); ) {
141DimensionItem a =
142(DimensionItem)ea. nextElement( );
143if ( a.getPoint( ) != null &&
144a. getPoint ( ).hasProcessDefinition ( )
145) ++ans;
146}
147}
148}
149return ans;
150} // numberOfProcessDefinition( )
151public boolean isZoomableOut( ) { return within_!= null; }
152public void show( ) {
153System.out.println
154( “\nProcessSpace: capacity=” + capacity( ) +
155“ num points=” + size( ) +
156“ num defs=” +
157numberOfProcessDefinition( ) +
158“ zoomout=” + isZoomableOut( ) );
159System.out.println( nouns_ );
160nouns_.printItems( );
161System.out.println( verbs_ );
162verbs_.printItems( );
163System.out.println( attributes_ );
164attributes_.printItems( );
165}
166// ------------------------------------------------------
167// main( ) for stand-alone testing, as an ‘application’.
168// It allows simple checkout of creation and navigation
169// capabilities.
170public static void main( String args ) {
171Dimension n2 = new Dimension( “noun” ),
172v2 = new Dimension( “verb” ),
173a2 = new Dimension( “attribute” ),
174n3 = new Dimension( “noun” ),
175v3 = new Dimension( “verb” ),
176a3 = new Dimension( “attribute” ),
177n1 = new Dimension( “noun” ),
178v1 = new Dimension( “verb” ),
179a1 = new Dimension( “attribute” );
180n3.addItems( “dept1 dept2 projectA dept3” );
181v3.addItems( “unittest componentbringup CT
182systemarch” );
183a3.addItems( “software hardware checkpoint review” );
184n2.addItems( “div7 busunitU1 div2 busunitU3” );
185v2.addItems( “costestimate projectplan checkpoint.” );
186a2.addItems( “management technical executive” );
187n1.addItems( “companyA” );
188v1.addItems( “finance, logistics, engineering,
189humanresources” );
190a1.addItems( “all” );
191// create & show intermediate space
192ProcessSpace sp = new ProcessSpace( n2, v2, a2 );
193sp.show( );
194// create containing point & its space, show space
195ProcessPoint pp = sp.createSpaceAround( );
196pp.createProcessSpace
197( “companyA”, “logistics”, “all” );
198pp.getDimension( “noun” ).addItems( “companyA” );
199pp.getDimension( “verb” ).addItems( “finance,
200logistics, “+ “engineering, humanresources” );
201pp.getDimension( “attr” ).addItems( “all” );
202pp.getProcessSpace( ).show( );
203// create & show nested space
204pp.createSpaceWithin( n3, v3, a3 );
205pp.zoomIn( ).show( );
206// add an item to a nested space dimension
207System.out.println(“\n-- item add --”);
208Dimension d = pp.zoomIn( ).getDimension( “verb” );
209d.addItem( new DimensionItem( d, “hire a person” ));
210pp.zoomIn( ).show( );
211// delete a dimension item in intermediate space
212System.out.println(“\n-- item delete --”);
213boolean b = sp.getDimension( “noun” ).deleteItem(
214“div2” );
215if (b == true) sp.show( );
216else System.out.println(“ ...delete failed”);
217} // main( )
218} // class ProcessSpace
219//-------------------------------------------- eof ---
TABLE 8 — DIMENSION
1//---------------------------------------------------------
2Dimension.java ----
3//
4// Part of Business Process Space prototype
5//
6import java.lang.*;
7import java.util.*;
8//---------------------------------------------------------
9public class Dimension {
10private Vector values_;// an ordered list of dimension
11// values
12// ‘origin’ is 1st DimensionItem
13public Stringname_,
14type_;// noun, verb or attribute
15private ProcessSpace space — = null;
16Dimension( String t ) {
17type — = t
18values — = new Vector( );
19}
20public void addItem( DimensionItem di ) {
21values_.addElement(di);
22}
23public void addItem( String sv ) {
24addItem( new DimensionItem( this, sv ) );
25}
26public void addItems( String itemlist ) {
27// comma or blank delimited list of items
28StringTokenizer st = new StringTokenizer( itemlist );
29while ( st.hasMoreTokens( ) ) {
30String v = st.nextToken( );
31if (findDimensionItem( v ) != null) return;
32addItem( new DimensionItem( this, v ));
33}
34}
35public boolean deleteItem( DimensionItem di ) {
36values_.removeElement( di );
37return true;
38}
39public boolean deleteItem( String divalue ) {
40Enumeration e = values_.elements( );
41while ( e.hasMoreElements( ) ) {
42DimensionItem di =
43(DimensionItem)e.nextElement( );
44if ( divalue.equals(di.value_) ) {
45values_.removeElement( di );
46return true;
47}
48}
49return false;
50}
51public DimensionItem findDimensionItem( String v ) {
52Enumeration e = values_.elements( );
53while ( e.hasMoreElements( ) ) {
54DimensionItem di =
55(DimensionItem)e.nextElement( );
56if ( v == di.value — ) return di;
57}
58return null;
59}
60public void setProcessSpace( ProcessSpace ps ) {
61space — = ps;
62}
63public boolean isZoomableOut( ) { return
64space_.isZoomableOut( ); }
65public ProcessSpace getProcessSpace( ) { return space_; }
66public Enumeration getItems( ) {
67return values_.elements( );
68}
69public int numberOfItems( ) { return values_.size( ); }
70public void printItems( ) {
71Enumeration e = getItems( );
72while ( e.hasMoreElements( ) ) {
73System.out.println( e.nextElement( ) );
74}
75}
76public String toString( ) {
77return “Dimension: “ + type — + ” num items=” +
78values_.size( );
79}
80DimensionItem previousItem( DimensionItem c ) {
81if (c == null ) return null;
82int i = values_.indexOf( c );
83try { return (DimensionItem)values_.elementAt(i−1); }
84catch (ArrayIndexOutOfBoundsException e)
85{ return null; }
86}
87DimensionItem nextItem( DimensionItem c ) {
88if (c==null) return null;
89int i = values_.indexOf( c );
90try { return (DimensionItem)values_.elementAt(i+1); }
91catch (ArrayIndexOutOfBoundsException e)
92{ return null; }
93}
94} // class Dimension
95//------------------------------------------------- eof ---
TABLE 9 — DIMENSION ITEM
1//----- DimensionItem.java ---------------------------------
2//
3// Part of Business Process Space prototype
4//
5import java.lang.*;
6import java.util.*;
7//----------------------------------------------------------
8public class DimensionItem {
9public Stringdescription —= null,
10name —= null,
11value_;
12private Dimensiondimension_;
13private ProcessPointmypoint —= null;
14DimensionItem( Dimension d, String v ) {
15dimension — = d;
16value — = v;
17}
18DimensionItem( Dimension d, String n, String v ) }
19dimension — = d;
20name — = n;
21value — = v;
22}
23public String toString( ) {
24return “ DimensionItem: name=” + name — +
25“, value=” + value_;
26}
27public Dimension getDimension( ) { return dimension_; }
28public ProcessSpace getDimensionSpace( ) {
29return dimension_.getProcessSpace( );
30}
31public void setPoint( ProcessPoint p ) { mypoint — = p; }
32public ProcessPoint getPoint( ) { return mypoint_; }
33} // class DimensionItem
34//------------------------------------------------ eof ----
TABLE 10 — PROCESS POINT
1//----- ProcessPoint.java ---------------------------------
2//
3// Part of Business Process Space prototype
4//
5import java.lang.*;
6import java.util.*;
7//------------------------------------------------------
8public class ProcessPoint {
9public final intUP = 1, DOWN = 0;
10private DimensionItemnoun_, verb_, attribute_;
11private ProcessSpacecontains_;
12public ProcessDefinitiondef_;
13ProcessPoint( ) { noun — = verb — = attribute — = null; }
14ProcessPoint( DimensionItem n, DimensionItem v,
15DimensionItem a ) {
16noun — = n; verb — = v; attribute — = a;
17}
29public void setProcess( ProcessDefinition pd ) { def — = pd; }
30public ProcessDefinition getProcess( ) { return def — ; }
31public Dimension getDimension( String n ) {
32if (n == “noun”) return noun_.getDimension( );
33else if (n == “verb”) return verb_.getDimension( );
34else if (n.startsWith(“attr”)) return
35attribute_.getDimension( );
36return null;
37}
38public DimensionItem getDimensionItem( String dt ) {
39if (dt == “noun”) return noun_;
40else if (dt == “verb”) return verb_;
41else if (dt.startsWith(“attr”)) return attribute_;
42return null;
43}
44//
45// following directions apply to all dimensions
46// directions; ‘up’ == means away from origin
47// ‘down’ == means toward origin
48//
49public ProcessPoint getNeighboor( Dimension d, int
50direction ) {
51DimensionItem curitem = null, newitem = null;
52if (d.ty1pe — == “noun”) curitem = noun_;
53else if (d.type — == “verb”) curitem = verb_;
54else if (d.type — == “attr”) curitem = attribute_;
55if (direction == UP) newitem = d.nextItem( curitem );
56else newitem = d.previousItem( curitem );
57if ( newitem != null ) return newitem.getPoint( );
58else return null;
59}
60public ProcessSpace createSpaceWithin(Dimension n,
61Dimension v,
62Dimension a ) {
63return contains — = new ProcessSpace( this, n,v,a );
64}
65public void createProcessSpace(String nv,
66String vv,
67String av ) {
68Dimensionnd = new Dimension( “noun” ),
69vd = new Dimension( “verb” ),
70ad = new Dimension( “attribute” );
71nd.addItem( nv );
72vd.addItem( vv );
73ad.addItem( av );
74ProcessSpace sp = new ProcessSpace( nd, vd, ad );
75noun — = nd.findDimensionItem( nv );
76noun_.setPoint( this );
77verb — = vd.findDimensionItem( vv );
78verb_.setPoint( this );
79attribute — = ad.findDimensionItem( av );
80attribute_.setPoint( this );
81} // createProcessSpace( )
82public ProcessSpace getProcessSpace( ) {
83return noun_.getDimensionSpace( );
84}
85public void deleteSpaceWithin( ) { contains — = null; }
86public ProcessSpace zoomIn( ) { return contains_; }
87public ProcessPoint zoomOut( ) {
88return noun_.getDimensionSpace( ).zoomOut( );
89}
90public ProcessSpace zoomOutToSpace( ) {
91return zoomOut( ).getDimensionItem(“noun”)
92.getDimensionSpace( );
93}
94public boolean isZoomable( ) {return contains — != null ]]
95isZoomableOut( ); }
96public boolean isZoomableIn( ) { return contains — != null;}
97public boolean iszoomableout( ) {
98return noun_.getDimension( ).isZoomableOut( );
99}
100public boolean hasProcessDefinition( ) { return def — !=
null; }
101public void show( ) {
102System.out.println
103(“ ProcessPoint: \n” + noun — +
104“\n ” + verb — +
105“\n ” + attribute — );
106if (def_!=null) System.out.println
107(“ def name=” +
108def_.getName( ) );
109else System.out.println(“ def name=null”);
110System.out.println
111(“ zoomout=” + isZoomableOut( ) +
112“, zoomin=” + isZoomableIn( ) );
113}
114} // class ProcessPoint
115//-------------------------------------------------- eof ---
TABLE 11 — PROCESS DEFINITION
1//----- ProcessDefinition.java ----------------------------
2//
3//
4//
5//
6import java.lang.*;
7import java.util.*;
8//---------------------------------------------------------
9public class ProcessDefinition {
10String name_, vendor_, textdefinition_;
11Vector subprocesses_;
12Date create_, lastupdate_;
13ProcessDefinition( String n, String v, String d ) {
14name — = n;
15vendor — = v;
16textdefinition — = d;
17create — = lastupdate — = new Date();
18}
19public String tostring()
20{ return name — + “, ” + vendor_; }
21public String getName()
22{ return name_; }
23public String getDefinition()
24{ return textdefinition_; }
25public void addSubprocess( ProcessPoint p )
26{ subprocesses_.addElement( p ); }
27public Enumeration getSubprocesses()
28{ return subprocesses_.elements(); }
29public boolean startInstance() {
30// Using external, vendor-product specific
31// interfaces, begin a new instantiation
32// of this process.
33//
34// Return ‘false’ only if a new instance could not be
35// successfully started, return ‘true’ otherwise.
36return true;
37}
38public boolean isRunning() {
39// Determine, in a vendor-product specific manner,
40// whether an instance of this process is
41// running now.
42return false;
43}
44public void editProcessDefinition() {
45// In a vendor-product specific manner, begin an
46// external edit session using vendor-supplied tools,
47// of this process definition (its ‘source code’).
48}
49} // class ProcessDefinition
50//------------------------------------------------- eof ---

Claims as granted

3 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

10 codes
IPC · International Patent Classification
Section G — Physics
  • G06Q10/10
  • G06Q10/06
  • G06F13/00
USPC · US Patent Classification
715/854715/850715/526715/757705/7345/427715/788

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2001Jul 2001Jan 2002Jul 2002Jan 2003Jul 2003Jan 2004Jul 2004Jan 2005Jul 2005Jan 2006Jul 2006USPTOApplicantRestriction requirementNon-final rejectionFinal rejectionNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
5.4 y
1,967 days filing → grant
Office actions
3
after a restriction
Responses
6
no RCE
Examiner
Raquel Alvarez
art unit 3622 · TC 3600
Citations: 10 back · 12 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

No assignments have been recorded for this application yet.