Make sure your classes include a key
attribute, unique. Otherwise, one random key is assigned for you and all sorts of funny and entertaining side effects may occur... if you have a name
we will try to use that one.
An empty class:
Note that inside a class definition, you can't have free text, just other constructs.
Implementing a message outside the class:
$when::
TestClass1.simpleMsg
a.b
Subtypes and containers:
anno ( prop3="value"
="value")
anno ( prop1="value"
="value", prop2="value"
="value")
parm1, |
slainvokedid:<>SLA, |
list3:Array[TestContainer], |
parm1, |
slainvokedid:<>SLA, |
list3:Array[TestContainer] |
An inventory contains a list of units:
anno ( inventory="diesel.db.inmem"
="diesel.db...)
A unit has a reference to a product specification:
anno ( inventory="diesel.db.inmem"
="diesel.db...)
key, |
qty:Number, |
spec:<>DTProductSpec, |
key, |
qty:Number, |
spec:<>DTProductSpec |
A specification has a reference to a blog post to show on the website:
anno ( inventory="diesel.db.inmem"
="diesel.db...)
key, |
sku, |
descriptionRef:<>DTBlogPost, |
key, |
sku, |
descriptionRef:<>DTBlogPost |
anno ( inventory="diesel.db.inmem"
="diesel.db...)
key, |
content, |
key, |
content |
key, |
customerRef:<>DTCustomer, |
items:Array[DTItem], |
key, |
customerRef:<>DTCustomer, |
items:Array[DTItem] |
key, |
customerRef:<>DTCustomer, |
items:Array[DTItem], |
key, |
customerRef:<>DTCustomer, |
items:Array[DTItem] |
You need to log in to post a comment!