Difference between revisions of "Artefact:Model/net/leue/andreas/sandbox/model28/Model28Observed"

From OOModels
< Artefact:Model‎ | net‎ | leue‎ | andreas‎ | sandbox‎ | model28
Jump to navigationJump to search
(Created page with "{{Metabox | Meta_Type = Type:org/oomodels/WIML/1.0 | Meta_Domain = Domain:it/test | Meta_Category = Type:org/oomodels/wiki/Model | Meta_Download = true | Meta_AddTypeToCategory = true | Meta_AddCategoryToCategory = true }} == Code == <wiml> * Model28Observed CoreClass + org/xmodel/XMLogicEvents - ObserveChanges = "true" ** Name String + org/xmodel/XMLogic - ValidationConstraint = { Condition={J...")
 
 
Line 13: Line 13:
* Model28Observed CoreClass
* Model28Observed CoreClass
   + org/xmodel/XMLogicEvents
   + org/xmodel/XMLogicEvents
     - ObserveChanges = "true"
     - ObserveChanges = true
** Name String
** Name String
   + org/xmodel/XMLogic
   + org/xmodel/XMLogic
     - ValidationConstraint = { Condition={JavaCodeTemplate=«@(Name) != null && @(Name).matches("[A-Za-z0-9]+")»}, ErrorMessage="Der Name darf nur aus Buchstaben und Zahlen bestehen" }
     - ValidationConstraint = { Condition={JavaCodeTemplate=«@(Name) != null && @(Name).matches("[A-Za-z0-9]+")»}, ErrorMessage="Der Name darf nur aus Buchstaben und Zahlen bestehen" }
</wiml>
</wiml>

Latest revision as of 18:31, 9 February 2024

Classification
Type Type:org/oomodels/WIML/1.0
Domain Domain:it/test
Category Type:org/oomodels/wiki/Model
More
Download Code
Namespace (more)

Private namespace of Andreas Leue.

create new pages

Code[edit]

Model28Observed
«CoreClass»
...
XMLogicEvents ObserveChangestrue
NameString«»
...
XMLogic ValidationConstraint{
    Condition = {
        JavaCodeTemplate = «@(Name) != null && @(Name).matches("[A-Za-z0-9]+")»
    },
    ErrorMessage = "Der Name darf nur aus Buchstaben und Zahlen bestehen"
}