Model-operative pattern representation and operational enablement using declarative componential-driven domain-specific programming language
AssigneeInternational Business Machines Corporation
InventorScott Schneider
Life of this patent
Estimating the term…
Abstract
Pattern representation and enablement of operations pertaining thereto are disclosed, with model-operative pattern representation using a declarative componential-driven domain-specific programming language. Accordingly, pattern codifications are decoupled from code for execution of specific operational use cases against the patterns, occurrences, and models of interest. Variability points are codified in patterns, enabling a particular pattern to be used with multiple operations, multiple models, and so forth.
Claims22
A method of representing model-operative patterns, comprising:
- specifying, as a pattern codification for a particular pattern, structural features of the particular pattern and behavioral features of the pattern, wherein:
- the structural features identify at least one pattern role and at least one relationship involving the at least one pattern role;
- and
- the behavioral features identify how to use the structural features in constraining structural features of other composited patterns from which the particular pattern is composed or, when the particular pattern is not composed of other composited patterns, an operation to invoke for implementing the particular pattern.
A computer program product for building patterns as composites, the computer program product embodied on one or more computer-readable media and comprising computer-readable program code for:
- representing a model-operative pattern as a specification of structural features of the pattern and behavioral features of the pattern, wherein:
- the structural features identify at least one pattern role and at least one relationship involving the at least one pattern role;
- and
- the behavioral features identify how to use the structural features in constraining structural features of other composited patterns from which the pattern is composed or, when the pattern is not composed of other composited patterns, an operation to invoke for implementing the pattern;
- storing the specification for the model-operative pattern in a pattern library that stores pattern specifications for a plurality of model-operative patterns, enabling the stored pattern specification to be composited by a different model-operative pattern;
- and
- using the stored specification for the model-operative pattern as a component of a different pattern.
A system for operational enablement of patterns, comprising:
- a storage medium storing a plurality of patterns, each of the patterns represented as a specification of structural features of the pattern and behavioral features of the pattern, wherein, for each of the patterns:
- the structural features identify at least one pattern role and at least one relationship involving the at least one pattern role;
- and
- the behavioral features identify how to use the structural features in constraining structural features of other composited patterns from which the pattern is composed or, when the pattern is not composed of other composited patterns, an operation to invoke for implementing the pattern;
- and
- an interpreter for comprehending a selected one of the plurality of patterns in a particular model by identifying elements of the model as candidate participants for each of the at least one pattern roles of the selected pattern and executing a pattern operation using the comprehended pattern.
Dependencies are inferred from the claim text.