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

From OOModels
< Artefact:Model‎ | net‎ | leue‎ | andreas‎ | sandbox‎ | model28
Jump to navigationJump to search
 
Line 14: Line 14:
** 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:01, 25 August 2023

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]

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