Child pages
  • EOF-Modeling-Prototypes

Versions Compared

Key

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

...

  • EOPrototypes
  • EOJDBCPrototypes
  • EOJDBCXXXXPrototypes (eg; EOJDBCFrontbasePrototypes)

How the Prototype is Applied

  • The valueType is always overriden from the prototype. This covers things like S for Strings and T for timestamps etc...
  • The externalType is overridden by the model attribute. This covers things like VARCHAR and FLOAT.
  • The width is overridden by the model attribute. This is used where something like the width of a string is enforced.

Chuck Hill

A model without prototypes is, um, dumb. A reusable framework without prototypes is not reusable. See Practical WebObjects pages 45 - 55 for a discussion of this and code. There is some very superficial discussion in the EOModeler docs.

...