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

From OOModels
< Artefact:Model‎ | org‎ | oomodels‎ | sandbox‎ | business‎ | foundation‎ | entities
Revision as of 13:33, 11 November 2009 by AndreasLeue (talk | contribs)
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
...
XMVUI TryBLIEditortrue
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"
    }
}
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"
        }
    }
}