xdoclet.modules.ejb.dd
public class RelationTagsHandler extends EjbTagsHandler
Version: $Revision: 1.12 $
UNKNOWN: Oct 15, 2001 namespace = "EjbRel"
Nested Class Summary | |
---|---|
class | RelationTagsHandler.RelationHolder
Holds class/method of the two end points of a relationship.
|
Field Summary | |
---|---|
protected static RelationTagsHandler.RelationHolder | currentRelation
The current relation, set by forAllRelationships and used by forAllRelationshipRoles. |
protected static Map | relationMap
A map containing all relations. |
Method Summary | |
---|---|
void | forAllRelationships(String template)
Evaluates the body block for each relationship. |
protected boolean | hasRelationships() |
void | ifHasLeftRoleName(String template)
Describe what the method does
|
void | ifHasRelationships(String template)
Evaluates the body if at least one of the classes has an ejb:relation tag, otherwise not.
|
void | ifHasRightRoleName(String template)
Describe what the method does
|
void | ifIsBidirectional(String template)
Describe what the method does
|
void | ifIsLeftMany(String template)
Describe what the method does
|
void | ifIsMany2Many(String template)
Evaluates the body block if the current relationship is a many to many type, meaning, both sides of the relation
returns java.util.Collection or java.util.Set. |
void | ifIsNotACollection(String template)
Evaluates the body block if current method's return type is not a java.util.Collection or java.util.Set. |
void | ifIsOne2Many(String template)
Evaluates the body block if the current relationship is a one to many type, meaning, ONLY ONE side of the
relation returns java.util.Collection or java.util.Set. |
void | ifIsOne2One(String template)
Evaluates the body block if the current relationship is a one to one type, meaning, neither side of the relation
returns java.util.Collection or java.util.Set. |
void | ifIsRightMany(String template)
Describe what the method does
|
void | ifIsUnidirectional(String template)
Describe what the method does
|
void | ifLeftCascadeDelete(String template)
Evaluates the body if the left side of this relation has cascade-delete=yes
|
void | ifLeftNavigable(String template)
Describe what the method does
|
void | ifNotHasRelationships(String template)
Evaluates the body if none of the classes has an ejb:relation tag, otherwise not.
|
void | ifNotIsMany2Many(String template)
Evaluates the body block if the current relationship IS NOT a many to many type, meaning, at least one side of
the relation does not return java.util.Collection or java.util.Set. |
void | ifNotIsOne2Many(String template)
Evaluates the body block if the current relationship IS NOT a one to many type, meaning, either both sides, or
neither side of the relation returns java.util.Collection or java.util.Set. |
void | ifNotIsOne2One(String template)
Evaluates the body block if the current relationship IS NOT a one to one type, meaning, at least one side of the
relation returns java.util.Collection or java.util.Set. |
void | ifRightCascadeDelete(String template)
Evaluates the body if the right side of this relation has cascade-delete=yes, or the left side has
target-relation cascade-delete="yes"
|
void | ifRightNavigable(String template)
Describe what the method does
|
protected boolean | isSetOrCollection(String type)
Returns true if current method's return type is a java.util.Collection or java.util.Set, false otherwise.
|
String | leftEJBName()
Returns the EJB Name of the left side of this relationship
|
String | leftFieldName()
Describe what the method does
|
String | leftFieldType()
Describe what the method does
|
String | leftMultiplicity()
Describe what the method does
|
String | leftRoleName()
Describe what the method does
|
String | relationComment()
Describe what the method does
|
String | relationName() |
String | rightEJBName()
Returns the EJB Name of the right side of this relationship
|
String | rightFieldName()
Describe what the method does
|
String | rightFieldType()
Describe what the method does
|
String | rightMultiplicity()
Describe what the method does
|
String | rightRoleName()
Describe what the method does
|
See Also: RelationTagsHandler
Parameters: template The body of the block tag
Throws: XDocletException
See Also: CmpTagsHandler PersistentTagsHandler MethodTagsHandler RelationTagsHandler
UNKNOWN: type = "block"
Parameters: template Describe what the parameter does
Throws: XDocletException
Parameters: template The body of the block tag
Throws: XDocletException
Parameters: template Describe what the parameter does
Throws: XDocletException
Parameters: template Describe what the parameter does
Throws: XDocletException
Parameters: template Describe what the parameter does
Throws: XDocletException
Parameters: template The body of the block tag
Throws: XDocletException
See Also: RelationTagsHandler
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: RelationTagsHandler
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: RelationTagsHandler
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: RelationTagsHandler
UNKNOWN: type = "block"
Parameters: template Describe what the parameter does
Throws: XDocletException
Parameters: template Describe what the parameter does
Throws: XDocletException
Parameters: template The body of the block tag
Throws: XDocletException
Parameters: template Describe what the parameter does
Throws: XDocletException
Parameters: template The body of the block tag
Throws: XDocletException
Parameters: template The body of the block tag
Throws: XDocletException
See Also: RelationTagsHandler
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: RelationTagsHandler
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: RelationTagsHandler
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
Parameters: template Describe what the parameter does
Throws: XDocletException
Parameters: type Description of Parameter
Returns: true if Collection or Set
Returns: Left side's EJB name
Throws: XDocletException
Returns: Describe the return value
Throws: XDocletException
Returns: Describe the return value
Throws: XDocletException
Returns: Describe the return value
Throws: XDocletException
Returns: Describe the return value
Throws: XDocletException
Returns: Describe the return value
Returns: the name of the current relation
Throws: XDocletException
Returns: Right side's EJB name
Throws: XDocletException
Returns: Describe the return value
Throws: XDocletException
Returns: Describe the return value
Throws: XDocletException
Returns: Describe the return value
Throws: XDocletException
Returns: Describe the return value
Throws: XDocletException