xdoclet.modules.hibernate
public class HibernateSubTask extends XmlSubTask
Version: $Revision: 1.12 $
UNKNOWN: August 9th, 2002 name = "hibernate" display-name = "Hibernate Mapping File" parent = "xdoclet.modules.hibernate.HibernateDocletTask" file = "hibernate-properties.xml" relates-to = "{0}.hbm.xml" description = "An XML unparsed entity * containing additional property mappings for all classes." file = "hibernate-properties-{0}.xml" relates-to = "{0}.hbm.xml" description = "An XML unparsed * entity containing additional property mappings for a class."
Nested Class Summary | |
---|---|
static class | HibernateSubTask.HibernateVersion |
Field Summary | |
---|---|
static String | DEFAULT_HIBERNATE_CLASS_PATTERN |
Constructor Summary | |
---|---|
HibernateSubTask()
Constructor for the HibernateSubTask object. |
Method Summary | |
---|---|
protected void | engineStarted()
Called when the engine is started
|
void | execute()
Generate Mapping file (*.hbm.xml).
|
String | getGeneratedFileName(XClass clazz) |
String | getMappingURL(XClass clazz) |
String | getVersion()
Get the Hibernate version.
|
protected boolean | processInnerClasses()
Since we want to support static inner classes, we set this to true.
|
void | setVersion(HibernateSubTask.HibernateVersion version)
Sets the hibernate version to use. |
Throws: XDocletException Thrown in case of problem
Throws: XDocletException
Returns:
Returns: true
Parameters: version
UNKNOWN: "No. Default is '1.1'".