×

Construction of object-oriented programming (OOP) patterns by behavior delegation

  • US 8,990,766 B2
  • Filed: 07/10/2005
  • Issued: 03/24/2015
  • Est. Priority Date: 07/10/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • defining, using a computer program executed by a computing device, a new object-oriented programming (OOP) pattern having a first behavior and a second behavior, the new OOP pattern having one or more objects to implement the second behavior, the new OOP pattern not having any object to implement the first behavior; and

    ,delegating, using the computer program executed by the computing device, the first behavior of the new OOP pattern to one of a plurality of preconstructed OOP patterns to implement the first behavior by the one of the preconstructed OOP patterns,wherein each behavior of the new OOP pattern has an expand method to perform the behavior of the pattern and an update method that listens for execution of the expand method and performs additional processing as a result, wherein delegating the first behavior to one of the preconstructed OOP patterns comprises attaching the one of the preconstructed OOP patterns to the update method of the new OOP pattern,such that the new OOP pattern is constructed at least in part by delegating the first behavior of the new OOP pattern to the one of the preconstructed OOP patterns, the one of the preconstructed OOP patterns having one or more objects to implement the first behavior,wherein the preconstructed OOP patterns are not subsidiary in any way to the new OOP pattern, except that the one of the preconstructed OOP patterns is delegated the first behavior of the new OOP pattern, such that the new OOP pattern is of equal hierarchical priority with respect to the preconstructed OOP patterns,wherein delegation of the first behavior of the new OOP pattern to the one of the preconstructed OOP pattern is different than and occurs at a higher hierarchical level than delegating functionality of any object to any other object, wherein the new OOP pattern and the preconstructed OOP patterns are at a higher hierarchical level than any objects that make up the new OOP pattern and the preconstructed OOP patterns, and each OOP pattern is defined as a set of constraint on any objects that make up the OOP pattern.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×