Modeler:15/OtftEditor
Object Type / Fact Type Editor
The dialog allows editing various default properties of Object/Fact Types.
- Name (Object/Fact/Label Type name)
- Schema (Names must be unique in combination with this Schema Name)
- Plural (Plural Name)
- Abbreviation (Abbreviated Name)
- Vocabularies (Translations and other wordings)
- Concept (Concept Type can be anything. Default provided are: Person, Location, Event, Thing)
- Aliases (Comma seperated list of Aliases for this OTFT)
- Comments and other annotations (Comments, and annotations as declared in Custom Attribute Definitions)
- Supertype, Abstract, Subtype (Specify if the Object Type a Supertype, Subtype or even Abstract.)
- Derivable (Mark this Object/Fact Type to be derivable.)
- Transitional (The population may be gathered from various sources, potentially conflicting. The artifacts will add a source_id column to the primary key.)
- Color and Background (Visual colors for personal use.)
- Task (The lifecycle specifier for this OTFT: Conceive, Plan, Develop, Qualify, Launch, Deliver, Retire)
- Temporal (Specify which temporal aspects are relevant: Valid Time, Transaction Time or Both.)
- Reducable (Modeler option to specify if this OTFT could, should, must be reduced during model transformation.)
- Generate Artificial Key (In the artifact this Type is required to be identifier using an artificial key. The natural key will become an alternate key.)
- Static Population (The population is considered to be static, as in a reference table.)
- Estimated Tuples (Estimated amount of tuples in the final artifact.)
Reference Data can be specified for easy population editing using the custom annotation as explained here.
Decision Table
A business rule and a derivable fact type have an extra tab, Decision Table: the rule or the derivation stated formally, as a DMN decision table over the model's own facts.
- Examples shows one row per example from the population, with its outcome; contradicting examples are marked.
- Rules shows the generalized rows: a cell per condition (2..17, lap; seat, >= [Return Date]), and the outcome - a value or a formula - or, for a business rule, allowed / forbidden. Add rule, Delete, Up, Down and Generalize edit them, and every example is checked against them.
- Export DMN... writes the decision as a DMN file, with the examples as test cases.
How decision tables work - business rules, derivable fact types, computed populations, cells and formulas - is explained on Decision Tables.
Label Type Editor
Label Types contain different settings and this same dialog is presented differently for them:
The dialog for Label Types is slightly different, it lacks a few from the Object/Fact Type mode, and adds the following:
- Datatype Name (The datatype name can be specified using the ellipses button. This enables supporting datatypes for/from different artifacts.)
- Length
- Precision
- Localize (If set, the artifact will provide an additional database table to allow production data to be translated using a locale identifier. This is typically used for multi-lingual websites where product_name might need to be notated in various languages.)
What a value looks like
Since CaseTalk 15.2 the Implementation tab of a label type also says what its values look like, in three settings next to the data type:
- Typed as (The shape offered while a value is typed in the population window, for example
!99-99-0000;1;_for a date: a9asks for a digit, anLfor a letter, and the other characters are written as they stand. It is an aid for the typist, never a rule.) - Pattern (A regular expression every stored value must keep to, for example
[0-9]{4}[A-Z]{2}for a Dutch postal code. Values are stored in one standard form, see standardized values, so one pattern serves every language. A value that does not match is reported by the well-formedness checks; it is never refused on entry.) - Shown as (How a value is presented to a reader: in verbalized facts, in the population drawn in a diagram, in the Portal. A date or time takes a date picture such as
dd-mm-yyyy, a number takes a number picture such as#,##0.00, and a text takes a template in which every#takes the next character of the value, so####-##over123456reads1234-56. A value the picture cannot be applied to is shown as it is stored.) - Stored as (Not a setting but a reminder, shown beside the three: the standard form a value of this data type is stored in, such as
yyyy-mm-dd, or as typed for a text.)
Each of the three offers the values already given to other label types in the model, so a model keeps to a few shapes. Typed as and Shown as are words of a language: a date is typed and shown differently in each country, so both can be given per locale under Vocabularies, where they appear as rows of the vocabulary. The pattern is the same for every locale, because the stored form is. A label type that takes its data type from another label type (a domain) inherits the masks of that domain until it gives its own.
The three settings travel with the model: into the Manager repository (database version 4.13), the business glossary and the FCO-IM RDF export. Models saved by earlier versions that gave masks as custom attributes are read as they were.
Additionally Label Types may contain Value Constraints which limit the valid population.
Other versions: v8 | v9 | v10 | v11 | v12 | v13 | v14 | v15
| Diagrams | |
|---|---|
| Dialogs | Diagram Designer · Diagram Options · OFType Editor · OFType Filter · OFType Table Editor · Fact Documentation |
| Reference | Other Diagrams · Model in 3D · UML Methods |

