Crate dmntk_model

Source

Structs§

AnnotationEntry
Association
tdb
AuthorityRequirement
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
Binding
BusinessKnowledgeModel
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.
Context
A Context is composed of any number of model context entries, which are instances of ContextEntry.
ContextEntry
The class ContextEntry is used to model FEEL context entries when a context is modeled as a Context element.
DcBounds
Defines bounds.
DcColor
Defines RGB color.
DcDimension
Defines dimensions.
DcPoint
Defines point.
Decision
Decision
DecisionRule
DecisionService
The DecisionService class is used to define named decision services against the decision model contained in an instance of Definitions.
DecisionTable
Decision table.
Definitions
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.
DmnDecisionServiceDividerLine
Struct defines line inside DecisionService.
DmnDiagram
DmnDiagram is the container of DmnDiagramElement (DmnShape (s) and DmnEdge (s)). DmnDiagram cannot include other DmnDiagrams.
DmnEdge
DmnLabel
Struct represents the depiction of some textual information about a DMN element.
DmnShape
DmnShape represents a Decision, a BusinessKnowledgeModel, an InputData element, a KnowledgeSource, a DecisionService or a TextAnnotation that is depicted on the diagram.
DmnStyle
DmnStyle is used to keep some non-normative visual attributes such as color and font.
Dmndi
Dmndi is a container for the shared DmnStyles and all DmnDiagrams defined in Definitions.
ExtensionAttribute
The ExtensionAttribute element contains an ExtensionElement or a reference to an ExtensionElement from another metamodel. An ExtensionAttribute also has a name to define the role or purpose of the associated element.
ExtensionElement
The ExtensionElement contains element from other metamodels inside any DmnElement.
FunctionDefinition
FunctionItem defines the signature of a function: the parameters and the output type of the function.
FunctionItem
FunctionItem defines the signature of a function: the parameters and the output type of the function.
Import
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.
InformationItem
InformationRequirement
The class InformationRequirement is used to model an information requirement, as represented by a plain arrow in a DRD.
InputClause
InputData
InputData is used to model the inputs of a decision whose values are defined outside of the decision model.
InputEntry
Invocation
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
ItemDefinition is used to model the inputs of a decision, whose values are defined outside of the decision model.
KnowledgeRequirement
The class KnowledgeRequirement is used to model a knowledge requirement, as represented by a dashed arrow in a DRD.
KnowledgeSource
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.
List
A List is simply a list of elements, which are instances of Expressions.
LiteralExpression
LiteralExpression is used to model a value expression whose value is specified by text in some specified expression language.
OrganizationUnit
OrganizationUnit is a placeholder, anticipating a definition to be adopted from other OMG meta-models, such as OMG OSM when it is further developed.
OutputClause
OutputEntry
PerformanceIndicator
PerformanceIndicator is a placeholder, anticipating a definition to be adopted from other OMG meta-models, such as OMG OSM when it is further developed.
Relation
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.
RuleAnnotationClause
TextAnnotation
tdb
UnaryTests
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§

BuiltinAggregator
Aggregator function for COLLECT hit policy.
BusinessContextElementInstance
Enumeration of concrete instances of BusinessContextElement.
DcAlignmentKind
Defines the king of element alignment.
DcKnownColor
Defines known colors.
DecisionTableOrientation
Orientation of the decision table.
DmnDiagramElement
Defines possible elements of DmnDiagramElement.
DmnId
DmnId defines possible types of unique identifiers in model. Specification defines this identifier as optional, but this implementation makes it mandatory, just for simplicity. When this identifier is not provided in the model, a new unique UUID identifier is generated. This SHALL not be conflicting with any other identifiers.
DrgElement
In DMN model, the 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.
ExpressionInstance
Enumeration of concrete instances of abstract Expression, which are:
FunctionKind
Defines the type of the FunctionDefinition. The default value is FEEL. Supported values also include Java and PMML.
HitPolicy
Hit policy.
ItemDefinitionType
Item definition types.
Requirement
Enumeration of specific requirements.

Constants§

URI_FEEL
URI_MODEL
URI_UNINTERPRETED
URI_XML_SCHEMA

Traits§

BusinessContextElement
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
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
Expression is an abstract class that describes the logic by which a modeled decision shall be made, or pieces of that logic.
FeelTypedElement
FeelTypedElement adds the FEEL type attributes to element.
Invocable
Invocable is used to model the inputs of a decision whose values are defined outside of the decision model.
NamedElement
NamedElement adds attribute name to DmnElement. name attribute is required for NamedElement.
RequiredTypeRef
RequiredTypeRef adds the required type reference to element.
RequiredVariable
RequiredVariable adds the required reference to InformationItem.

Functions§

parse
Parses the XML document containing DMN model.