Difference between revisions of "OntologyBeanGenerator 4.0"
From Protege Wiki
m (Added dependencies) |
(Warning about incompatibility with Protege-OWL v3.4 added) |
||
Line 4: | Line 4: | ||
|LastUpdate=January 3, 2008 | |LastUpdate=January 3, 2008 | ||
|File=http://protegewiki.stanford.edu/images/9/9e/BeanGeneratorV4.zip | |File=http://protegewiki.stanford.edu/images/9/9e/BeanGeneratorV4.zip | ||
− | |CompatibleWith1 | + | |CompatibleWith1=Protege-Frames 3.3.1 |
− | + | |CompatibleWith2=Protege-OWL 3.3.1 | |
− | |||
− | | | ||
|DependsOn1=SimpleJADEAbstractOntology.pprj (for Protege-Frames ontologies) | |DependsOn1=SimpleJADEAbstractOntology.pprj (for Protege-Frames ontologies) | ||
|DependsOn2=OWLSimpleJADEAbstractOntology.pprj (for Protege-OWL ontologies) | |DependsOn2=OWLSimpleJADEAbstractOntology.pprj (for Protege-OWL ontologies) | ||
Line 15: | Line 13: | ||
==Details== | ==Details== | ||
+ | === Important Note === | ||
+ | <FONT COLOR=RED><B>This and earlier versions of the OntologyBeanGenerator plug-in are not compatible with Protege-OWL starting with version 3.4.</B> | ||
+ | |||
+ | If you use Protege-OWL v3.4 or newer please update at least to [[OntologyBeanGenerator 4.1]]!</FONT> | ||
+ | |||
+ | === Changes in this version === | ||
'''The main new features of this version are:''' | '''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) | * 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) |
Revision as of 19:42, January 26, 2009
OntologyBeanGenerator 4.0
Dependency
The following dependencies exist for OntologyBeanGenerator 4.0:
- SimpleJADEAbstractOntology.pprj (for Protege-Frames ontologies)
- OWLSimpleJADEAbstractOntology.pprj (for Protege-OWL ontologies)
Changelog
see page for more details
Details
Important Note
This and earlier versions of the OntologyBeanGenerator plug-in are not compatible with Protege-OWL starting with version 3.4.
If you use Protege-OWL v3.4 or newer please update at least to OntologyBeanGenerator 4.1!
Changes in this version
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