Difference between revisions of "Artefact:Model/org/oomodels/sandbox/business/foundation/entities/NamePlain"

From OOModels
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 16: Line 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 = { Condition={JavaCode="this.name != null && this.name.length() != 0"}, 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>

Latest revision as of 13:55, 15 November 2009

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