OntologyBeanGenerator 4.0

From Protege Wiki
Revision as of 14:45, January 26, 2009 by Csnyulas (talk | contribs) (Initial description)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OntologyBeanGenerator 4.0

Version 4.0
Plugin OntologyBeanGenerator
Last update January 3, 2008
Download OntologyBeanGenerator 4.0
Compatible Protege Version

Dependency

The following dependencies exist for OntologyBeanGenerator 4.0:

not available

Changelog

see page for more details


Details

The main new features of this version are:

  • bean generation for ontologies containing multiple inheritance is implemented (for each Concept there will be an intrface generated and each interface will have a default implementation, which may extend a user defined class if desired)
  • class name clashes when generating code for classes with identical names defined in different (imported) ontologies are eliminated by the use of prefixes in the generated class names for imported classes
  • the plug-in can generate a factory class which can be used to create Java instances of the generated Java classes corresponding to existing instances/individuals in the ontology. This is very useful when creating messages with complex content.

Other improvements:

  • generated code is (mostly) warning free
  • improved generated code examples
  • nicer GUI

This version also contains some bug fixes including:

  • user selection history is properly saved and reloaded
  • etc.

Known issues/Good to know:

  • SWRL rules and classes are treated as system classes and there is no code generated for them