Difference between revisions of "Artefact:Model/org/oomodels/sandbox/business/foundation/locations/LocatorBankAccountDE"

From OOModels
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
   oder Bankleitzahl nennen?
   oder Bankleitzahl nennen?
   + org/xmodel/XMLogic
   + org/xmodel/XMLogic
     - ValidationConstraint = { Condition=JavaCode=« blz.matches("[0-9]{8}")», ErrorMessage="Die Bankleitzahl muß aus genau acht Ziffern bestehen" }
     - ValidationConstraint = { Condition={JavaCode=« blz.matches("[0-9]{8}")»}, ErrorMessage="Die Bankleitzahl muß aus genau acht Ziffern bestehen" }
** Kontonummer String
** Kontonummer String
** Kontostand Integer
  + org/xmodel/XMSecurity
    - Class = Literal="TestClassified"
</wiml>
</wiml>



Latest revision as of 08:43, 8 November 2011

Classification
Type Type:org/oomodels/WIML/1.0
Domain Domain:business/foundation
Category Type:org/oomodels/wiki/Model
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]

LocatorBankAccount
LocatorBankAccountDE
«CoreClass»
...
XMPresentation NameLiteralVariantsMarkedUp = {
    de = "Bank-«Konto» (de)",
    en = "Bank «account» (de)"
}
BankNameString«»
BLZString«»
...
XMLogic ValidationConstraint{
    Condition = {
        JavaCode = « blz.matches("[0-9]{8}")»
    },
    ErrorMessage = "Die Bankleitzahl muß aus genau acht Ziffern bestehen"
}
oder Bankleitzahl nennen?
KontonummerString«»


Notes[edit]

Warum BLZ und BankName und nicht Referenz auf Bank? Weil das Locators sind. Hm.