xdoclet.modules.ejb.dao
Class DaoSubTask
AbstractEjbCodeGeneratorSubTask
xdoclet.modules.ejb.dao.DaoSubTask
public class DaoSubTask
extends AbstractEjbCodeGeneratorSubTask
- display-name = "Data Access Object"
name = "dao"
parent = "xdoclet.modules.ejb.EjbDocletTask"
DaoSubTask() - Describe what the DaoSubTask constructor does
|
protected void | engineStarted() - Describe what the method does
|
String | getDaoClassPattern() - Returns the configuration parameter for specifying the DAO class name pattern.
|
protected String | getGeneratedFileName(XClass clazz) - Gets the GeneratedFileName attribute of the DaoSubTask object
|
protected boolean | matchesGenerationRules(XClass clazz) - Describe what the method does
|
void | setPattern(String new_pattern) - Sets the Pattern attribute of the DaoSubTask object
|
void | validateOptions() - Called to validate configuration parameters.
|
DEFAULT_DAO_CLASS_PATTERN
public static final String DEFAULT_DAO_CLASS_PATTERN
DaoSubTask
public DaoSubTask()
Describe what the DaoSubTask constructor does
engineStarted
protected void engineStarted()
throws xdoclet.XDocletException
Describe what the method does
xdoclet.XDocletException
-
getDaoClassPattern
public String getDaoClassPattern()
Returns the configuration parameter for specifying the DAO class name pattern. By default the value is used for
deciding the DAO class name. {0} in the value mean current class's symbolic name which for an EJBean is the EJB
name. If nothing explicitly specified by user then "{0}DAO" is used by default.
- The daoClassPattern value
getGeneratedFileName
protected String getGeneratedFileName(XClass clazz)
throws xdoclet.XDocletException
Gets the GeneratedFileName attribute of the DaoSubTask object
clazz
- Describe what the parameter does
- The GeneratedFileName value
xdoclet.XDocletException
-
matchesGenerationRules
protected boolean matchesGenerationRules(XClass clazz)
throws xdoclet.XDocletException
Describe what the method does
clazz
- Describe what the parameter does
- Describe the return value
xdoclet.XDocletException
-
setPattern
public void setPattern(String new_pattern)
Sets the Pattern attribute of the DaoSubTask object
new_pattern
- The new Pattern value
validateOptions
public void validateOptions()
throws xdoclet.XDocletException
Called to validate configuration parameters.
xdoclet.XDocletException
-