xdoclet.modules.ejb.entity
public class EntityCmpSubTask extends AbstractEjbCodeGeneratorSubTask
Version: $Revision: 1.8 $
UNKNOWN: Oct 15, 2001 display-name = "CMP" name = "entitycmp" parent = "xdoclet.modules.ejb.EjbDocletTask" file = "entitycmp-custom.xdt" relates-to = "{0}CMP.java" description = "A text file containing custom * template and/or java code to include in the EJB CMP class."
| Nested Class Summary | |
|---|---|
| static class | EntityCmpSubTask.CmpSpecVersion |
| Field Summary | |
|---|---|
| static String | DEFAULT_ENTITYCMP_CLASS_PATTERN |
| protected static String | DEFAULT_TEMPLATE_FILE |
| protected String | entityCmpClassPattern
A configuration parameter for specifying the concrete CMP entity bean class name pattern. |
| Constructor Summary | |
|---|---|
| EntityCmpSubTask()
Describe what the EntityCmpSubTask constructor does | |
| Method Summary | |
|---|---|
| protected void | engineStarted()
Describe what the method does
|
| String | getCmpSpec()
Gets the CmpSpec attribute of the EntityCmpSubTask object
|
| String | getEntityCmpClassPattern()
Returns the configuration parameter for specifying the concrete CMP entity bean class name pattern. |
| protected String | getGeneratedFileName(XClass clazz)
Gets the GeneratedFileName attribute of the EntityCmpSubTask object
|
| protected boolean | matchesGenerationRules(XClass clazz) |
| void | setCmpSpec(EntityCmpSubTask.CmpSpecVersion cmpspec)
Sets the CmpSpec attribute of the EntityCmpSubTask object
|
| void | setPattern(String new_pattern)
Sets the Pattern attribute of the EntityCmpSubTask object
|
| void | validateOptions()
Called to validate configuration parameters.
|
See Also: getEntityCmpClassPattern
Throws: XDocletException
Returns: The CmpSpec value
Returns: The EntityCmpClassPattern value
See Also: entityCmpClassPattern
Parameters: clazz Describe what the parameter does
Returns: The GeneratedFileName value
Throws: XDocletException
Parameters: clazz Describe what the parameter does
Returns: Describe the return value
Throws: XDocletException
UNKNOWN: refactor/merge this method with matchesGenerationRules from EntityBmpSubTask
Parameters: cmpspec The new CmpSpec value
Parameters: new_pattern The new Pattern value
Throws: XDocletException