xdoclet.modules.objectweb.jonas.ejb
Class JonasRelationTagsHandler

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.objectweb.jonas.ejb.JonasRelationTagsHandler

public class JonasRelationTagsHandler
extends RelationTagsHandler

This tag handler handles tags needed for JOnAS relations

Version:
$Revision$
Author:
Aslak Helles?y
xdoclet.taghandler
namespace = "JOnASEjbRel"
created
12 mei 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
JonasRelationTagsHandler()
           
 
Method Summary
 void ensureColumnMapTagsRight()
          Makes sure the column-map tags are on the right side and target-column-map tags left
 void forAllColumnMaps(java.lang.String template, boolean left)
          Describe what the method does
 void forAllLeftColumnMaps(java.lang.String template)
           
 void forAllRightColumnMaps(java.lang.String template)
          Describe what the method does
 java.lang.String foreignKeyColumn()
          Describe what the method does
 void ifHasKeyColumn(java.lang.String template)
          Describe what the method does
 java.lang.String keyColumn()
          Describe what the method does
 
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

JonasRelationTagsHandler

public JonasRelationTagsHandler()
Method Detail

forAllColumnMaps

public void forAllColumnMaps(java.lang.String template,
                             boolean left)
                      throws XDocletException
Describe what the method does

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

forAllLeftColumnMaps

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

forAllRightColumnMaps

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

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

ensureColumnMapTagsRight

public void ensureColumnMapTagsRight()
Makes sure the column-map tags are on the right side and target-column-map tags left


ifHasKeyColumn

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

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

keyColumn

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

Returns:
Describe the return value
Throws:
XDocletException

foreignKeyColumn

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

Returns:
Describe the return value

http://xdoclet.sourceforge.net/