Artefact:Model/org/oomodels/sandbox/business/foundation/entities/NamePlain: Unterschied zwischen den Versionen

Aus OOModels
Zur Navigation springenZur Suche springen
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 16: Zeile 16:
   > org/oomodels/sandbox/business/foundation/entities/Name
   > org/oomodels/sandbox/business/foundation/entities/Name
   The name of a person
   The name of a person
  + XMVUI
    - TryBLIEditor = true
  + XMCoreClasses
    - RegisterAsAggregate = { HandledType={JavaCodeTemplate="TypeManager.get(context, ${package}.${class}.class)"}, ContextType={JavaCode="TypeManager.get(context, com.sphenon.basics.interaction.aggregateroles.BLIEditor.class)"}, RegisteredType={Literal="oorl://Class<Aggregate>/com/sphenon/ad/interaction/EditorDataType"} }
** Name String
** Name String
   + XMPresentation
   + XMPresentation
     - Name = Text=""
     - Name = Text=""
   + XMLogic
   + XMLogic
     - ValidationConstraint = { Constraint="", ErrorMessage={ LiteralVariants={ de="darf nicht leer sein", en="must not be empty" } } }
     - ValidationConstraint = { Condition={JavaCode="this.getName(context) != null && this.getName(context).length() != 0"}, ErrorMessage={ LiteralVariants={ de="darf nicht leer sein", en="must not be empty" } } }
</wiml>
</wiml>

Aktuelle Version vom 15. November 2009, 13:55 Uhr

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[Bearbeiten]

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"
        }
    }
}