xdoclet.modules.hibernate
public class HibernateTagsHandler extends XDocletTagSupport
Version: $Revision: 1.38 $
UNKNOWN: August 9th, 2002 namespace = "Hibernate"
Method Summary | |
---|---|
String | computeColumnName(Properties attributes)
The column name for a component is prefix + basename
|
String | dataSource()
Data source JNDI Name extractor.
|
String | dialect()
SQL dialect extractor.
|
String | driver()
Driver Name extractor.
|
String | factoryClass()
classname extractor.
|
void | forAllJndiProperties(String template, Properties attributes)
Iterates over all jndiProperties specified.
|
void | forAllOtherMappings(String template, Properties attributes)
Iterates over all otherMappings specified.
|
void | forAllOtherProperties(String template, Properties attributes)
Iterates over all otherProperties specified.
|
void | forAllPersistentClasses(String template, Properties attributes)
Iterates over all classes marked as persistent.
|
void | forAllSubclasses(String template, Properties attributes)
Iterates over all classes loaded by javadoc that are direct subclasses of the current class and evaluates the
body of the tag for each class. |
String | getCurrentMappingElement(Properties attributes) |
String | getCurrentTag(Properties attributes) |
FactoryClassSubTask | getFactoryClassSubTask() |
String | getFileName()
Returns full path of hibernate file for the current class.
|
HibernateProperties | getHibernateProperties() |
XMethod | getIdMethod()
find id property of current class.
|
JBossServiceSubTask | getJBossServiceSubTask() |
void | ifCurrentMappingElementIsnt(String template, Properties attributes)
Render template if the current mapping element is not the one specified.
|
void | ifGeneratePropertyCache(String template, Properties attributes)
Render template if all of the properties needed are valid.
|
void | ifHasCompositeId(String template, Properties attributes)
Render template if ID is composite.
|
void | ifHasJndiName(String template, Properties attributes)
Render template if jndiName of JBossServiceSubtask is valid. |
void | ifHasPrimitiveId(String template, Properties attributes)
Render template if id is primitive.
|
void | ifNotHasJndiName(String template, Properties attributes)
Render template if jndiName of JBossServiceSubtask is not valid.
|
void | ifNotUseJndiFactory(String template, Properties attributes)
Render template if jndiName of JBossServiceSubtask is valid. |
void | ifUseJndiFactory(String template, Properties attributes)
Render template if jndiName of JBossServiceSubtask is valid. |
String | jdbcUrl()
JDBC URL extractor.
|
String | jndiName()
Configured JNDI name.
|
String | jndiParameterName() |
String | jndiParameterValue() |
void | logMapping(Properties attributes)
Print the name of the current class to the console.
|
String | mappingList()
Comma separated list of hibernate mappings.
|
String | otherMappingName() |
String | otherMappingValue() |
String | otherParameterName() |
String | otherParameterValue() |
String | password()
password extractor.
|
String | poolSize()
poolSize extractor.
|
String | roleAttribute(Properties attributes)
Get the attribute used for collection property names in this version of Hibernate (ie. |
String | serviceClassName(Properties attributes)
Get the name of the class the implements the SessionFactory as a MBean is this version of Hibernate.
|
String | serviceName()
Return configured service name.
|
void | setColumnPrefix(String template, Properties attributes)
Set the prefix for the \@hibernate.component, as there may be more than one component in a class that refer to
the same target class.
|
void | setCurrentTag(String template, Properties attributes) |
String | userName()
username extractor.
|
Parameters: attributes
Returns:
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException Description of Exception
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException Description of Exception
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException Description of Exception
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException Description of Exception
UNKNOWN: type = "block"
Parameters: template The body of the block tag attributes The attributes of the template tag
Throws: XDocletException Description of Exception
UNKNOWN: type = "block"
Returns: The full file path of the current class.
Throws: XDocletException
UNKNOWN: type = "content"
Returns:
Throws: XDocletException
Parameters: template the template attributes the tag attributes
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template attributes
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template attributes
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template attributes
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template attributes
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template attributes
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template attributes
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template attributes
Throws: XDocletException
UNKNOWN: type = "block"
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Parameters: attributes
Throws: XDocletException
UNKNOWN: type = "content"
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Parameters: attributes
Returns:
Parameters: attributes
Returns:
Returns:
Throws: XDocletException
UNKNOWN: type = "content"
Parameters: template attributes
Throws: XDocletException
Returns:
Throws: XDocletException
UNKNOWN: type = "content"