Child pages
  • Best Practices-Model

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let's look at an example for a prototype. This is the definition of "shortString", a prototype defined in the WONDER's ERPrototypes framework (we'll talk more about this framework later). The screenshot was taken from the Entity Modeler plugin in Eclipse, part of WOLips.

We can see here that:

  • The prototype name is "shortString".
  • The external type (ie, the database type) is varchar.
  • The varchar width is 50, which means you can save up to 50 characters on each record.
  • The Java class that will map the database value in memory is String.

(The other fields are not relevant for the prototype definition)

eogenerator

to-many relationships