xdoclet.modules.ejb.entity
public class DataObjectTagsHandler extends EjbTagsHandler
Version: $Revision: 1.12 $
UNKNOWN: 13. juni 2002 namespace = "EjbDataObj"
| Field Summary | |
|---|---|
| protected static String | currentDataObjectClassname |
| protected static HashMap | dataObjectClassnames |
| Method Summary | |
|---|---|
| String | dataMostSuperObjectClass()
Returns the data-object class name highest in the hierarchy of derived beans. |
| String | dataObjectClass()
Returns data-object class name for the bean.
|
| String | dataObjectClassNameFromInterfaceName()
Return the dataobject class name from interface name.
|
| String | extendsFrom()
Returns the name of the class dataobject class extends.
|
| protected void | forAllSuper(String template, String methodName)
Browse all super classes and search for a special method to generate it in the current CMP/BMP class.
|
| void | forAllSuperSetData(String template)
Evaluates the body block for each setData method.
|
| static String | generateDataObjectClass(XClass clazz)
Used by dataMostSuperObjectClass() to get the data object's full qualified class name. |
| String | generateDataObjectClass() |
| static String | getCurrentDataObjectClassname() |
| static String | getDataMostSuperObjectClass(XClass clazz) |
| static String | getDataObjectClassFor(XClass clazz) |
| protected static String | getDataObjectClassPattern() |
| protected String | getDependentClassFor(XClass clazz, String type)
Gets the DependentClassFor attribute of the DataObjectTagsHandler object
|
| static boolean | hasCustomBulkData(XClass clazz) |
| protected static boolean | hasDataEquals(XClass clazz) |
| void | ifIsAggregate(String template)
Evaluate the body block if ejb:aggregate is defined for current getter method, denoting that the specified getter
method returns an aggregated object.
|
| void | ifIsNotAggregate(String template)
Evaluate the body block if ejb:aggregate is not defined for current getter method.
|
| void | ifIsWithDataContainer(String pTemplate)
Evaluate the body block if ejb:data-object container="true". |
| void | ifIsWithDataMethod(String pTemplate)
Evaluate the body block if ejb:data-object setdata="true". |
| protected boolean | isAggregate(XMethod method)
Returns true if method has ejb:aggregate, false otherwise.
|
| void | isDataContentEquals(String pTemplate) |
| static boolean | isDataObjectMethod(XMethod method)
Gets the DataObjectMethod attribute of the DataObjectTagsHandler class
|
| static boolean | isGenerationNeeded(XClass clazz)
Returns true if ejb:data-object defined and generate param is true, false if not true.
|
| String | parentDataObjectClass() |
| static void | putDataObjectClassnames(String name, String value) |
| static void | setCurrentDataObjectClassname(String current_data_object_classname) |
Returns: The data-object class name highest in the hierarchy of derived beans.
Throws: XDocletException
UNKNOWN: type = "content"
Returns: The data-object class name for the bean.
Throws: XDocletException
UNKNOWN: type = "content"
Returns: the data-object class name
Throws: XDocletException
UNKNOWN: type = "content"
Returns: The name of generated PK class.
Throws: XDocletException
UNKNOWN: type = "content"
Parameters: template The body of the block tag methodName Description of Parameter
Throws: XDocletException
Parameters: template The body of the block tag
Throws: XDocletException
See Also: DataObjectTagsHandler
UNKNOWN: type = "block"
Parameters: clazz Description of Parameter
Returns: Description of the Returned Value
See Also: dataMostSuperObjectClass
Returns: Description of the Returned Value
Throws: XDocletException
UNKNOWN: type = "content"
Returns: the current data-object class name
Parameters: clazz Description of Parameter
Returns: the full qualified data-object class name
Throws: XDocletException
Parameters: clazz Description of Parameter
Returns: the full qualified data-object class name
Returns: the data-object class pattern
Parameters: clazz Describe what the parameter does type Describe what the parameter does
Returns: The DependentClassFor value
Throws: XDocletException
Parameters: clazz Description of Parameter
Returns: Description of the Returned Value
Parameters: clazz
Returns: True if there is a Data Container equals() needed because user set tag "data-equals" to true or ommitted it
Throws: XDocletException
Parameters: template The body of the block tag
Throws: XDocletException
See Also: DataObjectTagsHandler DataObjectTagsHandler
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: DataObjectTagsHandler DataObjectTagsHandler
UNKNOWN: type = "block"
Parameters: pTemplate Description of Parameter
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: pTemplate Description of Parameter
Throws: XDocletException
See Also: DataObjectTagsHandler
UNKNOWN: type = "block"
Parameters: method Description of Parameter
Returns: The Aggregate value
Throws: XDocletException
Parameters: pTemplate Description of Parameter
Throws: XDocletException
Parameters: method Describe what the parameter does
Returns: The DataObjectMethod value
Throws: XDocletException
Parameters: clazz Description of Parameter
Returns: Description of the Returned Value
Returns: Description of the Returned Value
Throws: XDocletException
Parameters: name Description of Parameter value Description of Parameter
Parameters: current_data_object_classname