xdoclet.modules.jboss.ejb
Class JBossRelationTagsHandler

java.lang.Object
  extended by xdoclet.template.TemplateTagHandler
      extended by xdoclet.XDocletTagSupport
          extended by xdoclet.modules.ejb.EjbTagsHandler
              extended by xdoclet.modules.ejb.dd.RelationTagsHandler
                  extended by xdoclet.modules.jboss.ejb.JBossRelationTagsHandler

public class JBossRelationTagsHandler
extends RelationTagsHandler

Version:
$Revision: 1.12 $
Author:
David Budworth
xdoclet.taghandler
namespace = "JBEjbRel"
created
Feb 4, 2002

Nested Class Summary
 
Nested classes/interfaces inherited from class xdoclet.modules.ejb.dd.RelationTagsHandler
RelationTagsHandler.RelationHolder
 
Field Summary
 
Fields inherited from class xdoclet.modules.ejb.dd.RelationTagsHandler
currentRelation, relationMap
 
Fields inherited from class xdoclet.modules.ejb.EjbTagsHandler
ALL, LOCAL_SUFFIX, SERVICE_ENDPOINT, SERVICE_ENDPOINT_SUFFIX
 
Fields inherited from class xdoclet.XDocletTagSupport
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
 
Constructor Summary
JBossRelationTagsHandler()
           
 
Method Summary
 java.lang.String fkColumn()
          Describe what the method does
 void forAllLeftForeignKeys(java.lang.String template)
          Describe what the method does
 void forAllRightForeignKeys(java.lang.String template)
          Describe what the method does
 void ifHasJdbcType(java.lang.String template, java.util.Properties attributes)
           
 void ifHasRelationTableAttribute(java.lang.String template, java.util.Properties attributes)
           
 void ifHasSqlType(java.lang.String template, java.util.Properties attributes)
           
 void ifIsForeignKeyMapping(java.lang.String template)
           
 void ifIsLeftBatchCascadeDelete(java.lang.String template)
           
 void ifIsRelationTableMapping(java.lang.String template)
           
 void ifIsRightBatchCascadeDelete(java.lang.String template)
           
 void ifLeftHasFK(java.lang.String template)
          Describe what the method does
 void ifLeftHasFKConstraint(java.lang.String template)
          Describe what the method does
 void ifLeftHasReadAhead(java.lang.String template)
           
 void ifLeftHasReadAheadEagerLoadGroup(java.lang.String template)
           
 void ifLeftHasReadAheadPageSize(java.lang.String template)
           
 void ifNotIsForeignKeyMapping(java.lang.String template)
           
 void ifNotIsRelationTableMapping(java.lang.String template)
           
 void ifNotLeftHasFK(java.lang.String template)
          Describe what the method does
 void ifNotRightHasFK(java.lang.String template)
          Describe what the method does
 void ifRightHasFK(java.lang.String template)
          Describe what the method does
 void ifRightHasFKConstraint(java.lang.String template)
          Describe what the method does
 void ifRightHasReadAhead(java.lang.String template)
           
 void ifRightHasReadAheadEagerLoadGroup(java.lang.String template)
           
 void ifRightHasReadAheadPageSize(java.lang.String template)
           
 java.lang.String jdbcType()
           
 java.lang.String leftFKConstraint()
          Describe what the method does
 java.lang.String leftReadAheadEagerLoadGroup()
           
 java.lang.String leftReadAheadPageSize()
           
 java.lang.String leftReadAheadStrategy()
           
 java.lang.String relatedPKField()
          Describe what the method does
 java.lang.String relationTableAttribute(java.util.Properties attributes)
           
 java.lang.String rightFKConstraint()
          Describe what the method does
 java.lang.String rightReadAheadEagerLoadGroup()
           
 java.lang.String rightReadAheadPageSize()
           
 java.lang.String rightReadAheadStrategy()
           
 java.lang.String sqlType()
           
 
Methods inherited from class xdoclet.modules.ejb.dd.RelationTagsHandler
forAllRelationships, hasRelationships, ifHasLeftRoleName, ifHasRelationships, ifHasRightRoleName, ifIsBidirectional, ifIsLeftMany, ifIsMany2Many, ifIsNotACollection, ifIsOne2Many, ifIsOne2One, ifIsRightMany, ifIsUnidirectional, ifLeftCascadeDelete, ifLeftNavigable, ifNotHasRelationships, ifNotIsMany2Many, ifNotIsOne2Many, ifNotIsOne2One, ifRightCascadeDelete, ifRightNavigable, isSetOrCollection, leftEJBName, leftFieldName, leftFieldType, leftMultiplicity, leftRoleName, relationComment, relationName, rightEJBName, rightFieldName, rightFieldType, rightMultiplicity, rightRoleName
 
Methods inherited from class xdoclet.modules.ejb.EjbTagsHandler
beanType, choosePackage, concreteFullClassName, ejbExternalRefName, ejbName, ejbRefName, ejbRefName, extendsFromFor, forAllBeans, getDependentClassFor, getDependentClassTagName, getEjb, getEjbIdFor, getEjbNameFor, getEjbSpec, getShortEjbNameFor, hasTransaction, id, ifIsAConcreteEJBean, ifLocalEjb, ifNotLocalEjb, ifNotRemoteEjb, ifNotServiceEndpointEjb, ifRemoteEjb, ifServiceEndpointEjb, isAConcreteEJBean, isEjb, isLocalEjb, isOnlyLocalEjb, isOnlyRemoteEjb, isOnlyServiceEndpointEjb, isRemoteEjb, isServiceEndpointEjb, prefixWithEjbSlash, shortEjbName, shouldTraverseSuperclassForDependentClass, symbolicClassName
 
Methods inherited from class xdoclet.XDocletTagSupport
delimit, expandClassName, generate, getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getDocletContext, getEngine, getExpandedDelimitedTagValue, getTagValue, getTagValue, getTagValue, hasHavingClassTag, hasTag, isTagValueEqual, mandatoryParamNotFound, mandatoryTemplateTagParamNotFound, modifiers, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage
 
Methods inherited from class xdoclet.template.TemplateTagHandler
getXJavaDoc, setXJavaDoc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossRelationTagsHandler

public JBossRelationTagsHandler()
Method Detail

relationTableAttribute

public java.lang.String relationTableAttribute(java.util.Properties attributes)
                                        throws XDocletException
Throws:
XDocletException

ifHasRelationTableAttribute

public void ifHasRelationTableAttribute(java.lang.String template,
                                        java.util.Properties attributes)
                                 throws XDocletException
Throws:
XDocletException

ifNotLeftHasFK

public void ifNotLeftHasFK(java.lang.String template)
                    throws XDocletException
Describe what the method does

Parameters:
template - Describe what the parameter does
Throws:
XDocletException - Describe the exception

ifNotRightHasFK

public void ifNotRightHasFK(java.lang.String template)
                     throws XDocletException
Describe what the method does

Parameters:
template - Describe what the parameter does
Throws:
XDocletException - Describe the exception

ifLeftHasFK

public void ifLeftHasFK(java.lang.String template)
                 throws XDocletException
Describe what the method does

Parameters:
template - Describe what the parameter does
Throws:
XDocletException - Describe the exception

ifRightHasFK

public void ifRightHasFK(java.lang.String template)
                  throws XDocletException
Describe what the method does

Parameters:
template - Describe what the parameter does
Throws:
XDocletException - Describe the exception

ifLeftHasReadAhead

public void ifLeftHasReadAhead(java.lang.String template)
                        throws XDocletException
Throws:
XDocletException

ifRightHasReadAhead

public void ifRightHasReadAhead(java.lang.String template)
                         throws XDocletException
Throws:
XDocletException

ifLeftHasReadAheadPageSize

public void ifLeftHasReadAheadPageSize(java.lang.String template)
                                throws XDocletException
Throws:
XDocletException

ifRightHasReadAheadPageSize

public void ifRightHasReadAheadPageSize(java.lang.String template)
                                 throws XDocletException
Throws:
XDocletException

ifLeftHasReadAheadEagerLoadGroup

public void ifLeftHasReadAheadEagerLoadGroup(java.lang.String template)
                                      throws XDocletException
Throws:
XDocletException

ifRightHasReadAheadEagerLoadGroup

public void ifRightHasReadAheadEagerLoadGroup(java.lang.String template)
                                       throws XDocletException
Throws:
XDocletException

forAllLeftForeignKeys

public void forAllLeftForeignKeys(java.lang.String template)
                           throws XDocletException
Describe what the method does

Parameters:
template - Describe what the parameter does
Throws:
XDocletException - Describe the exception

forAllRightForeignKeys

public void forAllRightForeignKeys(java.lang.String template)
                            throws XDocletException
Describe what the method does

Parameters:
template - Describe what the parameter does
Throws:
XDocletException - Describe the exception

relatedPKField

public java.lang.String relatedPKField()
Describe what the method does

Returns:
Describe the return value

fkColumn

public java.lang.String fkColumn()
Describe what the method does

Returns:
Describe the return value

ifLeftHasFKConstraint

public void ifLeftHasFKConstraint(java.lang.String template)
                           throws XDocletException
Describe what the method does

Parameters:
template - Describe what the parameter does
Throws:
XDocletException - Describe the exception

ifRightHasFKConstraint

public void ifRightHasFKConstraint(java.lang.String template)
                            throws XDocletException
Describe what the method does

Parameters:
template - Describe what the parameter does
Throws:
XDocletException - Describe the exception

leftFKConstraint

public java.lang.String leftFKConstraint()
                                  throws XDocletException
Describe what the method does

Returns:
Describe the return value
Throws:
XDocletException - Describe the exception

rightFKConstraint

public java.lang.String rightFKConstraint()
                                   throws XDocletException
Describe what the method does

Returns:
Describe the return value
Throws:
XDocletException - Describe the exception

leftReadAheadStrategy

public java.lang.String leftReadAheadStrategy()
                                       throws XDocletException
Throws:
XDocletException

rightReadAheadStrategy

public java.lang.String rightReadAheadStrategy()
                                        throws XDocletException
Throws:
XDocletException

leftReadAheadPageSize

public java.lang.String leftReadAheadPageSize()
                                       throws XDocletException
Throws:
XDocletException

rightReadAheadPageSize

public java.lang.String rightReadAheadPageSize()
                                        throws XDocletException
Throws:
XDocletException

leftReadAheadEagerLoadGroup

public java.lang.String leftReadAheadEagerLoadGroup()
                                             throws XDocletException
Throws:
XDocletException

rightReadAheadEagerLoadGroup

public java.lang.String rightReadAheadEagerLoadGroup()
                                              throws XDocletException
Throws:
XDocletException

ifIsRelationTableMapping

public void ifIsRelationTableMapping(java.lang.String template)
                              throws XDocletException
Throws:
XDocletException

ifNotIsRelationTableMapping

public void ifNotIsRelationTableMapping(java.lang.String template)
                                 throws XDocletException
Throws:
XDocletException

ifIsRightBatchCascadeDelete

public void ifIsRightBatchCascadeDelete(java.lang.String template)
                                 throws XDocletException
Throws:
XDocletException

ifIsLeftBatchCascadeDelete

public void ifIsLeftBatchCascadeDelete(java.lang.String template)
                                throws XDocletException
Throws:
XDocletException

ifIsForeignKeyMapping

public void ifIsForeignKeyMapping(java.lang.String template)
                           throws XDocletException
Throws:
XDocletException

ifNotIsForeignKeyMapping

public void ifNotIsForeignKeyMapping(java.lang.String template)
                              throws XDocletException
Throws:
XDocletException

ifHasJdbcType

public void ifHasJdbcType(java.lang.String template,
                          java.util.Properties attributes)
                   throws XDocletException
Throws:
XDocletException

jdbcType

public java.lang.String jdbcType()

ifHasSqlType

public void ifHasSqlType(java.lang.String template,
                         java.util.Properties attributes)
                  throws XDocletException
Throws:
XDocletException

sqlType

public java.lang.String sqlType()

http://xdoclet.sourceforge.net/