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

From OOModels
Jump to navigationJump to search
Line 24: Line 24:
     - Name = Text=""
     - Name = Text=""
   + XMLogic
   + XMLogic
     - ValidationConstraint = { Constraint="", ErrorMessage={ LiteralVariants={ de="darf nicht leer sein", en="must not be empty" } } }
     - ValidationConstraint = { Condition={JavaCode="this.name != null && this.name.length() != 0"}, ErrorMessage={ LiteralVariants={ de="darf nicht leer sein", en="must not be empty" } } }
</wiml>
</wiml>

Revision as of 11:34, 11 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
...
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.name != null && this.name.length() != 0"
    },
    ErrorMessage = {
        LiteralVariants = {
            de = "darf nicht leer sein",
            en = "must not be empty"
        }
    }
}