xdoclet.modules.ejb.entity
public class EntityPkSubTask extends AbstractEjbCodeGeneratorSubTask
Version: $Revision: 1.11 $
UNKNOWN: Oct 15, 2001 display-name = "PK Class" name = "entitypk" parent = "xdoclet.modules.ejb.EjbDocletTask" file = "entitypk-custom.xdt" relates-to = "{0}PK.java" description = "A text file containing custom * template and/or java code to include in the primary key class."
Field Summary | |
---|---|
static String | DEFAULT_ENTITY_PK_CLASS_PATTERN |
protected static String | DEFAULT_TEMPLATE_FILE |
protected String | entityPkClassPattern
A configuration parameter for specifying the entity bean primary class name pattern. |
Constructor Summary | |
---|---|
EntityPkSubTask()
Describe what the EntityPkSubTask constructor does |
Method Summary | |
---|---|
protected void | engineStarted()
Describe what the method does
|
String | getEntityPkClassPattern()
Returns the configuration parameter for specifying the entity bean primary class name pattern. |
protected String | getGeneratedFileName(XClass clazz)
Gets the GeneratedFileName attribute of the EntityPkSubTask object
|
protected boolean | matchesGenerationRules(XClass clazz)
Describe what the method does
|
void | setPattern(String new_pattern)
The pattern by which the primary key classes are named. |
void | validateOptions()
Called to validate configuration parameters.
|
See Also: getEntityPkClassPattern
Throws: XDocletException
Returns: The EntityPkClassPattern value
See Also: entityPkClassPattern
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
Parameters: new_pattern The new Pattern value
UNKNOWN: No,defaultsto {0}PK
Throws: XDocletException