Module dmntk_model::model[][src]

Expand description

Model for Decision Requirements Graph (DRG) depicted in one or more Decision Requirements Diagrams (DRDs).

Structs

The class AuthorityRequirement is used to model an authority requirement, as represented by an arrow drawn with a dashed line and a filled circular head in a DRD

A business knowledge model has an abstract part, representing reusable, invocable decision logic, and a concrete part, which mandates that the decision logic must be a single FEEL boxed function definition.

A Context is composed of any number of model context entries, which are instances of ContextEntry.

The class ContextEntry is used to model FEEL context entries when a context is modeled as a Context element.

Defines bounds.

Defines RGB color.

Defines dimensions.

Defines point.

The DecisionService class is used to define named decision services against the decision model contained in an instance of Definitions.

Decision table.

Definitions element is the outermost containing object for all elements of a DMN decision model. It defines the scope of visibility and the namespace for all contained elements.

DmnDiagram is the container of DmnDiagramElement (DmnShape (s) and DmnEdge (s)). DmnDiagram cannot include other DmnDiagrams.

Struct represents the depiction of some textual information about a DMN element.

DmnShape represents a Decision, a BusinessKnowledgeModel, an InputData element, a KnowledgeSource, a DecisionService or a TextAnnotation that is depicted on the diagram.

DmnStyle is used to keep some non-normative visual attributes such as colors and font.

Dmndi is a container for the shared DmnStyles and all DmnDiagrams defined in Definitions.

Element represents an element from another metamodel.

The ExtensionAttribute element contains an Element or a reference to an Element from another metamodel. An ExtensionAttribute also has a name to define the role or purpose of the associated element.

The ExtensionElement element is a container to aggregate elements from other metamodels inside any DmnElement.

FunctionItem defines the signature of a function: the parameters and the output type of the function.

FunctionItem defines the signature of a function: the parameters and the output type of the function.

Import class is used when referencing external elements, either DMN DRGElement or ItemDefinition instances contained in other Definitions elements, or non-DMN elements, such as an XML Schema or a PMML file.

The class InformationRequirement is used to model an information requirement, as represented by a plain arrow in a DRD.

InputData is used to model the inputs of a decision whose values are defined outside of the decision model.

Invocation is a mechanism that permits the evaluation of one value expression – the invoked expression – inside another value expression – the invoking expression – by binding locally the input variables of the invoked expression to values inside the invoking expression.

ItemDefinition is used to model the inputs of a decision, whose values are defined outside of the decision model.

The class KnowledgeRequirement is used to model a knowledge requirement, as represented by a dashed arrow in a DRD.

The class KnowledgeSource is used to model authoritative knowledge sources in a decision model. In a DRD, an instance of KnowledgeSource is represented by a knowledge source diagram element.

A List is simply a list of elements, which are instances of Expressions.

LiteralExpression is used to model a value expression whose value is specified by text in some specified expression language.

A Relation is convenient shorthand for a list of similar contexts. A Relation has a column instead of repeated ContextEntrys, and a List is used for every row, with one of the List’s expression for each column value.

UnaryTests is used to model a boolean test, where the argument to be tested is implicit or denoted with a ?. Test is specified by text in some specified expression language.

Enums

Aggregator function for COLLECT hit policy.

Enumeration of concrete instances of BusinessContextElement.

Defines element kind alignment.

Defines known colors.

Orientation of the decision table.

Defines possible elements of DmnDiagramElement.

In DMN™ model DrgElement is the abstract superclass for all DMN™ elements that are contained within Definitions and that have a graphical representation in a DRD. This enumeration specifies the list of DRGElements contained in Definitions.

Enumeration of concrete instances of abstract Expression, which are:

Defines the type of the FunctionDefinition. The default value is FEEL. Supported values also include Java and PMML.

Hit policy.

Instances of Invocable interface.

Item definition types.

Traits

The abstract class BusinessContextElement, and its concrete specializations PerformanceIndicator and OrganizationUnit are placeholders, anticipating a definition to be adopted from other OMG meta-models, such as OMG OSM when it is further developed.

DmnElement is the abstract superclass for the Decision Model elements. It provides the optional attributes id, description and label, which other elements will inherit.

Expression is an abstract class that describes the logic by which a modeled decision shall be made, or pieces of that logic.

FeelTypedElement adds the FEEL type attributes to element.

Invocable is used to model the inputs of a decision whose values are defined outside of the decision model.

NamedElement adds the required attribute name to DmnElement.

RequiredTypeRef adds the required type reference to element.

RequiredVariable adds the required reference to InformationItem.