blob: 9afd0a64778aecbb1f3f26a4068ded2f90bcd4f8 [file] [log] [blame]
/**
* A minimal example for the Lunifera Entity DSL:
*
* The package is the topmost element that contains the other elements such as entities,
* beans and enums. Inside a package, import statements an datatype declarations can be placed.
*
* Here, the datatype String is declared since it is needed for the UUID property of entity Foo
* (Entities are supposed to have an ID property; the preferable implementation is UUID).
*
*/
package org.eclipse.osbp.entitydsl.samples.sample01 {
entity Foo {
uuid String id ;
}
bean Bar {
}
enum MyEnum {
FOO, BAR
}
}