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

From OOModels
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
Line 14: Line 14:
* LocatorBankAccountDE CoreClass
* LocatorBankAccountDE CoreClass
   > org/oomodels/sandbox/business/foundation/locations/LocatorBankAccount
   > org/oomodels/sandbox/business/foundation/locations/LocatorBankAccount
  + org/xmodel/XMPresentation
    - Name=LiteralVariantsMarkedUp={de="Bank-«Konto» (de)",en="Bank «account» (de)"}
** BankName String
** BankName String
** BLZ String
** BLZ String
   oder Bankleitzahl nennen?
   oder Bankleitzahl nennen?
  + org/xmodel/XMLogic
    - ValidationConstraint = { Condition={JavaCode=« blz.matches("[0-9]{8}")»}, ErrorMessage="Die Bankleitzahl muß aus genau acht Ziffern bestehen" }
** Kontonummer String
** Kontonummer String
</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.