xdoclet.modules.ejb.dd

Class RelationTagsHandler.RelationHolder

Enclosing Class:
RelationTagsHandler

public class RelationTagsHandler.RelationHolder
extends java.lang.Object

Holds class/method of the two end points of a relationship.
Author:
Aslak Hellesxy
created
August 28, 2001

Method Summary

boolean
equals(Object o)
Describe what the method does
XClass
getLeft()
Gets the Left attribute of the RelationHolder object
XMethod
getLeftMethod()
Gets the LeftMethod attribute of the RelationHolder object
String
getLeftMultiplicity()
Gets the LeftMultiplicity attribute of the RelationHolder object
String
getLeftRoleName()
Gets the LeftRoleName attribute of the RelationHolder object
String
getName()
XClass
getRight()
Gets the Right attribute of the RelationHolder object
XMethod
getRightMethod()
Gets the RightMethod attribute of the RelationHolder object
String
getRightMultiplicity()
Gets the RightMultiplicity attribute of the RelationHolder object
String
getRightRoleName()
Gets the RightRoleName attribute of the RelationHolder object
int
hashCode()
Describe what the method does
boolean
isBidirectional()
Gets the Bidirectional attribute of the RelationHolder object
boolean
isLeftCascadeDelete()
Gets the LeftCascadeDelete attribute of the RelationHolder object
boolean
isLeftMany()
Gets the LeftMany attribute of the RelationHolder object
boolean
isLeftNavigable()
Gets the LeftNavigable attribute of the RelationHolder object
boolean
isMany2Many()
Gets the Many2Many attribute of the RelationHolder object
boolean
isOne2Many()
Gets the One2Many attribute of the RelationHolder object
boolean
isOne2One()
Gets the One2One attribute of the RelationHolder object
boolean
isRightCascadeDelete()
Gets the RightCascadeDelete attribute of the RelationHolder object
boolean
isRightMany()
Gets the RightMany attribute of the RelationHolder object
boolean
isRightNavigable()
Gets the RightNavigable attribute of the RelationHolder object
void
swap()
Describe what the method does
String
toString()
Describe what the method does

Method Details

equals

public boolean equals(Object o)
Describe what the method does
Parameters:
o - Describe what the parameter does
Returns:
Describe the return value

getLeft

public XClass getLeft()
Gets the Left attribute of the RelationHolder object
Returns:
The Left value

getLeftMethod

public XMethod getLeftMethod()
Gets the LeftMethod attribute of the RelationHolder object
Returns:
The LeftMethod value

getLeftMultiplicity

public String getLeftMultiplicity()
            throws xdoclet.XDocletException
Gets the LeftMultiplicity attribute of the RelationHolder object
Returns:
The LeftMultiplicity value
Throws:
xdoclet.XDocletException -

getLeftRoleName

public String getLeftRoleName()
            throws xdoclet.XDocletException
Gets the LeftRoleName attribute of the RelationHolder object
Returns:
The LeftRoleName value
Throws:
xdoclet.XDocletException -

getName

public String getName()
            throws xdoclet.XDocletException
Returns:
the name of the relation
Throws:
xdoclet.XDocletException -

getRight

public XClass getRight()
Gets the Right attribute of the RelationHolder object
Returns:
The Right value

getRightMethod

public XMethod getRightMethod()
Gets the RightMethod attribute of the RelationHolder object
Returns:
The RightMethod value

getRightMultiplicity

public String getRightMultiplicity()
            throws xdoclet.XDocletException
Gets the RightMultiplicity attribute of the RelationHolder object
Returns:
The RightMultiplicity value
Throws:
xdoclet.XDocletException -

getRightRoleName

public String getRightRoleName()
            throws xdoclet.XDocletException
Gets the RightRoleName attribute of the RelationHolder object
Returns:
The RightRoleName value
Throws:
xdoclet.XDocletException -

hashCode

public int hashCode()
Describe what the method does
Returns:
Describe the return value

isBidirectional

public boolean isBidirectional()
Gets the Bidirectional attribute of the RelationHolder object
Returns:
The Bidirectional value

isLeftCascadeDelete

public boolean isLeftCascadeDelete()
            throws xdoclet.XDocletException
Gets the LeftCascadeDelete attribute of the RelationHolder object
Returns:
The LeftCascadeDelete value
Throws:
xdoclet.XDocletException -

isLeftMany

public boolean isLeftMany()
            throws xdoclet.XDocletException
Gets the LeftMany attribute of the RelationHolder object
Returns:
The LeftMany value
Throws:
xdoclet.XDocletException -

isLeftNavigable

public boolean isLeftNavigable()
Gets the LeftNavigable attribute of the RelationHolder object
Returns:
The LeftNavigable value

isMany2Many

public boolean isMany2Many()
            throws xdoclet.XDocletException
Gets the Many2Many attribute of the RelationHolder object
Returns:
The Many2Many value
Throws:
xdoclet.XDocletException -

isOne2Many

public boolean isOne2Many()
            throws xdoclet.XDocletException
Gets the One2Many attribute of the RelationHolder object
Returns:
The One2Many value
Throws:
xdoclet.XDocletException -

isOne2One

public boolean isOne2One()
            throws xdoclet.XDocletException
Gets the One2One attribute of the RelationHolder object
Returns:
The One2One value
Throws:
xdoclet.XDocletException -

isRightCascadeDelete

public boolean isRightCascadeDelete()
            throws xdoclet.XDocletException
Gets the RightCascadeDelete attribute of the RelationHolder object
Returns:
The RightCascadeDelete value
Throws:
xdoclet.XDocletException -

isRightMany

public boolean isRightMany()
            throws xdoclet.XDocletException
Gets the RightMany attribute of the RelationHolder object
Returns:
The RightMany value
Throws:
xdoclet.XDocletException -

isRightNavigable

public boolean isRightNavigable()
Gets the RightNavigable attribute of the RelationHolder object
Returns:
The RightNavigable value

swap

public void swap()
Describe what the method does

toString

public String toString()
Describe what the method does
Returns:
Describe the return value