🚀 Welcome to
MDriven Learn
–
MDriven is now on Discord
! Don’t miss the
latest Release Notes
.
X
Documentation
Training
Q & A
Model Examples
Best Practices
Copyright 2023 © M
Documentation
Training
Q & A
Model Examples
Best Practices
Release Notes
Glossary
Documentation
Discussion
View source
View history
QR code
E-Mail
Navigation Menu
OCL
OCL (Object Constraint Language)
OCL Basics & Syntax
OCL
Part 1 OCL Common Expressions
OCL by example
A few words on linq
Boolean
Learn OCL
Mathematical symbols
OclIsUndefined
OclIsInvalid
OCL Precedence rules
Understanding OCL with reference to SQL
ChangeTime
Writing OCL Expressions and Constraints
OCL Expressions
Understanding OCL with reference to SQL
Escape codes
Regular expressions
Turnkey session 7: Expressions
Custom types and custom operations in OCL
OCL
OCLOperators less than
OCL Operators: Collection Navigation
Examples on collection operators
OCL Collection Operators
OCL General Operators
OCL Operators isUnique
OCL Operators one
OCL Operators product
Part 2 OCL: Operators
OCLOperators Qualify GenericAt0
OCL Operators: Numeric & Arithmetic
Double
Number conversions
OCL Number Operators
OCLOperators divide
OCLOperators minus
OCLOperators modulus
OCLOperators multiplication
OCL Operators: String Manipulation
String
OCL String Operators
Comparing strings
Encoding
ToInteger () : Integer
OCL Operators: Date & Time
Date vs Time
DateTime
OCL Operators: Logical & Conditional
If else endif
OCL Boolean Operators
OCLOperators whentrue
Advanced OCL Techniques (Recursion, Complex Queries)
OCLOperators allInstancesAtTime
OCL in ViewModels and UI Expressions
How to use the ExecutePS function in selfVM
Declarative Model Plugins
ValueStore Pattern
OCLOperators ViewModelAsJSon
OCL Pitfalls and Debugging (Model Debugger)
Using the model debugger to change the model itself
OCL Best Practices
EAL (Executable Action Language)
Assignment & Flow Control
OCLOperators :=
OCLOperators assignment
Learn EAL
Collection Manipulation
OCLOperators add
OCLOperators addReturnIndexOf0
OCLOperators clear
OCLOperators insertAt
OCLOperators removeAt
OCLOperators remove
Object Lifecycle & State
OCLOperators stateMachineTrigger
Server & Persistence
OCLOperators Refresh
OCLOperators RemoteTurnkeyCloseSession
OCLOperators RemoteTurnkeyExecuteAction
OCLOperators RemoteTurnkeySetStringValue
OCLOperators SuspectExternalUpdateInvalidate
Navigation & UI
OCLOperators ExecuteFetchHints
OCLOperators Navigate
OCLOperators ShowActionMenuForCurrentInNesting
Import, Export & Transform
OCLOperators ApplyTaJson
OCLOperators XmlToObjects
OCLOperators XmlValidateWithSchemas
OCLOperators XsltTransformXml
OCLOperators transform
External Communication
OCLOperators RestDelete
OCLOperators RestGet
OCLOperators RestPut
OCLOperators ExecuteAction
OCLOperators ExecuteCurrentActionAgainOnce
OCLOperators ExecutePS
OCLOperators GetGridAsTabSepData
OCLOperators RemoteTurnkeyConnectGetSessionKey
OCLOperators RemoteTurnkeyGetByteArray
OCLOperators RemoteTurnkeySetByteArray
OCLOperators RunServerSideViewModelNow
OCLOperators Save
OCLOperators create
OCLOperators deepclone
OCLOperators delete
OCLOperators foreach
OCLOperators setToNull
OCLOperators whenfalse
Executable Action Language (EAL)
Reference and Tutorials
Introduction
Learn OCL
OCL Debugger
OCL Expressions
JSON
REST services and operators
Evaluate Expressions and Expression Results
XML Persistence
Collections
OCL Boolean Operators
OCL Collection Operators
OCL General Operators
OCL Number Operators
OCL String Operators
Mathematical symbols
OCL by example
OCL Precedence rules
Tutorials
OCl-PS
How to use the ExecutePS function in selfVM
OCL-PS
OCLps
OCLps Example
Topics
A few words on linq
Acting on object changes
Case sensitive or not
Char to int and back
ClassFromString
Collection of strings
Comparing strings
Convert string to bytes
Creating numeric types
Custom types and custom operations in OCL
Deepclone
Default String Representation and asString
Encoding
Escape codes
Examples on collection operators
Methods
Number conversions
Ocl hex to dec
Regular expressions
Set vs bag
Split time string to value
State value as a string
Understanding OCL with reference to SQL
Unique constraints on 1 to 1 links
VerbalizePatterns
Patterns
Documentation
/
OCLOperators timeStampToTime
OCLOperators timeStampToTime
Share
Facebook
X (Twitter)
Copy link
This page was created by
Hans.karlsen
on 2022-10-26. Last edited by
Edgar
on 2025-08-31.
See:
Versioned on class
Categories
:
Intermediate-Friendly
OCL (Object Constraint Language)
OCL Operators: Date & Time
Priority 50