|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxdoclet.DocletSupport
xdoclet.SubTask
xdoclet.TemplateSubTask
xdoclet.modules.ejb.AbstractEjbCodeGeneratorSubTask
xdoclet.modules.ejb.entity.EntityFacadeSubTask
public class EntityFacadeSubTask
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class xdoclet.TemplateSubTask |
|---|
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType |
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_ENTITY_FACADE_CLASS_PATTERN
|
static java.lang.String |
DEFAULT_FACADE_EJB_NAME_PATTERN
|
protected static java.lang.String |
DEFAULT_TEMPLATE_FILE
|
protected java.lang.String |
entityFacadeClassPattern
A configuration parameter for specifying the entity bean facade EJB class name pattern. |
protected java.lang.String |
entityFacadeEjbNamePattern
a configuration parameter for specifying facade ejb names pattern {0} means ejb name |
| Fields inherited from class xdoclet.DocletSupport |
|---|
currentClassTag, currentFieldTag, currentMethodTag |
| Constructor Summary | |
|---|---|
EntityFacadeSubTask()
|
|
| Method Summary | |
|---|---|
protected void |
engineStarted()
Describe what the method does |
java.lang.String |
getEntityFacadeClassPattern()
Returns the configuration parameter for specifying the entity bean facade class name pattern. |
java.lang.String |
getEntityFacadeEjbNamePattern()
|
protected java.lang.String |
getGeneratedFileName(xjavadoc.XClass clazz)
Gets the GeneratedFileName attribute of the EntityCmpSubTask object |
protected boolean |
matchesGenerationRules(xjavadoc.XClass clazz)
Returns true if output not already generated for clazz, and is of the specified type and has the specified class tag; false otherwise. |
void |
setEjbNamePattern(java.lang.String new_pattern)
|
void |
setPattern(java.lang.String new_pattern)
Sets the Pattern attribute of the EntityFacadeSubTask object |
void |
validateOptions()
Called to validate configuration parameters. |
| Methods inherited from class xdoclet.SubTask |
|---|
addConfigParam, getConfigParams, getConfigParamsAsMap, getContext, getDestDir, getMergeDir, getSubTaskName, getXJavaDoc, setDestDir, setMergeDir, setSubTaskName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_ENTITY_FACADE_CLASS_PATTERN
public static final java.lang.String DEFAULT_FACADE_EJB_NAME_PATTERN
protected static final java.lang.String DEFAULT_TEMPLATE_FILE
protected java.lang.String entityFacadeClassPattern
protected java.lang.String entityFacadeEjbNamePattern
| Constructor Detail |
|---|
public EntityFacadeSubTask()
| Method Detail |
|---|
public java.lang.String getEntityFacadeClassPattern()
#entityCmpFacadePatternpublic java.lang.String getEntityFacadeEjbNamePattern()
public void setPattern(java.lang.String new_pattern)
new_pattern - The new Pattern valuepublic void setEjbNamePattern(java.lang.String new_pattern)
public void validateOptions()
throws XDocletException
validateOptions in class TemplateSubTaskXDocletException
protected java.lang.String getGeneratedFileName(xjavadoc.XClass clazz)
throws XDocletException
getGeneratedFileName in class TemplateSubTaskclazz - Describe what the parameter does
XDocletException
protected boolean matchesGenerationRules(xjavadoc.XClass clazz)
throws XDocletException
TemplateSubTask
matchesGenerationRules in class TemplateSubTaskclazz - Describe what the parameter does
XDocletException
protected void engineStarted()
throws XDocletException
engineStarted in class TemplateSubTaskXDocletException
|
http://xdoclet.sourceforge.net/ | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||