IP Library Granted Patent US 8,874,614
Granted Patent B2
US 8,874,614 · App. 10/857,343 · Granted Oct 28, 2014

Method and system for enforcing ontological context rules for object-oriented programs

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,874,614
App. No.
10/857,343
Granted
Oct 28, 2014
Kind
B2
Abstract

A method and apparatus for dynamically retrieving ontological context are described herein. In one embodiment, the method includes receiving pattern language code that includes definitions of business classes and field classes, wherein the field classes include ontological contexts. The method also includes generating high-level object-oriented code that includes the business classes and the field classes with ontological contexts.

Claims (62)

1. A method comprising:

receiving pattern language code that includes definitions of a business class and field classes, wherein the field classes include ontological context rules; and

generating high-level object-oriented code that includes the business classes and the field classes with ontological contexts.

2. The method of claim 1 , wherein the ontological context rules indicate which of the field classes must be within the reachable ontological context of certain of the field classes.

3. A method comprising:

creating a definition for a first field class;

creating a definition for a second field class, wherein the second field class includes an ontological context rule, and wherein the ontological context rule uses the first field class; and

generating object-oriented code that includes a definition for a business class that includes a second field and a first field, wherein the first field is within the reachable ontological context of the second field, wherein the first field is related to the first field definition, and wherein the second field is related to the second field definition.

4. The method of claim 3 further comprising:

receiving a pattern language code segment.

5. A method comprising:

receiving a request to create a business class that includes a field that has an ontological context rule; and

creating an instance of the business class.

6. The method of claim 5 , wherein the business class includes one or more fields, and wherein the creating an instance of the business class includes,

creating an instance of each field; and

enforcing ontological context rules.

7. The method of claim 6 , wherein the enforcing includes,

receiving from a first field an ontological context rule enforcement request about a second field, wherein the first field is in a first hierarchy group;

examining fields of the first hierarchy group to determine whether the second field is in the first hierarchy group;

if the second field is in the first hierarchy group, using the second field of the first hierarchical level;

if the second field is not included in the first hierarchy group, searching a second hierarchy group of a second hierarchical level to determine whether the second field is in the second hierarchical level; and

if the second field is in the second hierarchy-group, using the second field of the second hierarchical level.

8. A method comprising:

generating object-oriented code that includes a plurality of field classes, wherein generating comprises,

determining reachable ontological contexts for a plurality of field classes of a business class, wherein certain of the field classes include ontological context rules, and wherein each of the ontological context rules uses at least one of the plurality of field classes;

selecting one of the certain field classes, wherein the selected certain field class includes one of the ontological context rules, and wherein the one of the ontological context rules uses one of the plurality of field classes; and

determining whether the selected certain field class' reachable ontological context includes the one of the plurality of field classes.

9. The method of claim 8 , wherein the determining a reachable ontological context includes:

creating a hierarchy tree representing ontological context relationships between the plurality of field classes of the business class.

10. The method of claim 8 , wherein the plurality of field classes and the business class are represented in pattern language code.

11. A system comprising:

a persistent data store to store pattern language code that includes ontological context rules; and

a high-level object-oriented language generator and validator, configured for execution by a processor, to generate high-level object-oriented language code from the pattern language code, wherein the high-level object-oriented language code includes definitions of business classes and field classes, wherein the field classes include ontological contexts.

12. A non-transitory machine-readable medium that provides instructions, which when executed by a machine, cause the machine to perform operations comprising:

receiving pattern language code that includes definitions of a business class and field classes, wherein the field classes include ontological context rules; and

generating high-level object-oriented code that includes the business classes and the field classes with ontological contexts.

13. The non-transitory machine-readable medium of claim 12 , wherein the ontological context rules indicate which of the field classes must be within the reachable ontological context of certain of the field classes.

14. A non-transitory machine-readable medium that provides instructions, which when executed by a machine, cause the machine to perform operations comprising:

creating a definition for a first field class;

creating a definition for a second field class that includes an ontological context rule,

wherein the ontological context rule uses the first field class; and generating object-oriented code that includes a definition for a business class that includes a second field and a first field, wherein the first field is in the reachable ontological context of the second field, wherein the first field is related to the first field definition, and wherein the second field is related to the second field definition.

15. The non-transitory machine-readable medium of claim 14 further comprising: receiving a pattern language code segment.

16. A non-transitory machine-readable medium that provides instructions, which when executed by a machine, cause the machine to perform operations comprising:

receiving a request to create a business class that includes a field that has an ontological context rule; and

generating object-oriented code that includes an instance of the business class.

17. The non-transitory machine-readable medium of claim 16 , wherein the business class includes one or more fields, and wherein the business class creation includes,

creating an instance of each field; and

enforcing ontological context rules.

18. The non-transitory machine-readable medium of claim 16 , wherein the enforcing includes,

receiving from a first field an ontological context rule enforcement request about a second field, wherein the first field is in a first hierarchy group;

examining fields of the first hierarchy group to determine whether the second field is in the first hierarchy group;

if the second field is in the first hierarchy group, using the second field of the first hierarchical level;

if the second field is not included in the first hierarchy group, searching a second hierarchy group of a second hierarchical level to determine whether the second field is in the second hierarchical level; and

if the second field is in the second hierarchy-group, using the second field of the second hierarchical level.

19. A non-transitory machine-readable medium that provides instructions, which when executed by a machine, cause the machine to perform operations comprising:

generating object-oriented code that includes a plurality of field classes, wherein generating comprises,

determining reachable ontological contexts for a plurality of field classes of a business class, wherein certain of the field classes include ontological context rules, and wherein each of the ontological context rules uses at least one of the plurality of field classes;

selecting one of the certain field classes, wherein the selected certain field class includes one of the ontological context rules, and wherein the one of the ontological context rules uses one of the plurality of field classes; and

determining whether the selected certain field class' reachable ontological context includes the one of the plurality of field classes.

20. The non-transitory machine-readable medium of claim 19 , wherein the determining a reachable ontological context includes:

creating a hierarchy tree representing ontological context relationships among the plurality of field classes of the business class.

21. The non-transitory machine-readable medium of claim 19 , wherein the plurality of field classes and the business class are represented in pattern language code.

Assignments (8)
CHANGE OF NAME Recorded Apr 26, 2021
From: INFOR (US), INC.
To: INFOR (US), LLC
Reel/Frame 056048/0944 →
RELEASE OF SECURITY INTEREST Recorded Mar 5, 2019
From: WILMINGTON TRUST, NATIONAL ASSOCIATION
To: INFOR (US), INC.
Reel/Frame 048510/0349 →
CORRECTIVE ASSIGNMENT TO REMOVE THE INCORRECT PATENT NUMBER 6617869 AND REPLACE PATENT NUMBER 6617969 PREVIOUSLY RECORDED AT REEL: 036500 FRAME: 0896. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT. Recorded Sep 10, 2015
From: INFOR (US), INC.
To: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 036585/0280 →
SECURITY AGREEMENT Recorded Aug 27, 2015
From: INFOR (US), INC.
To: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 036500/0896 →
CHANGE OF NAME Recorded Jun 10, 2014
From: LAWSON SOFTWARE, INC.
To: INFOR (US), INC.
Reel/Frame 033114/0342 →
RELEASE OF SECURITY INTEREST Recorded Apr 5, 2012
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: LAWSON SOFTWARE INC.
Reel/Frame 027997/0553 →
PATENT SECURITY AGREEMENT Recorded Jul 18, 2011
From: LAWSON SOFTWARE, INC.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 026609/0722 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 30, 2004
From: PATTON, RICHARD D.
To: LAWSON SOFTWARE, INC.
Reel/Frame 015089/0868 →