Artefact:Model/org/oomodels/sandbox/business/foundation/entities/NamePlain

From OOModels
Jump to navigationJump to search
Classification
Type Type:org/oomodels/WIML/1.0
Domain Domain:business/foundation/entities
Category Type:org/oomodels/wiki/Model
Maturity work in progress
More
Download Code
Diagram
Namespace (more)

Provides a sandbox for modelling.

It is intended to develop generalised, sufficiently abstract artefacts that can serve as common ground for more specific models.

create new pages

Code[edit]

Name
NamePlain
«DataType»
The name of a person
NameString«»
...
XMPresentation NameText = ""
XMLogic ValidationConstraint{
    Condition = {
        JavaCode = "this.getName(context) != null && this.getName(context).length() != 0"
    },
    ErrorMessage = {
        LiteralVariants = {
            de = "darf nicht leer sein",
            en = "must not be empty"
        }
    }
}