xdoclet.modules.ejb.dd

Class RelationTagsHandler.RelationHolder

public class RelationTagsHandler.RelationHolder extends Object

Holds class/method of the two end points of a relationship.

Author: Aslak Hellesxy

UNKNOWN: August 28, 2001

Method Summary
booleanequals(Object o)
Describe what the method does
XClassgetLeft()
Gets the Left attribute of the RelationHolder object
XMethodgetLeftMethod()
Gets the LeftMethod attribute of the RelationHolder object
StringgetLeftMultiplicity()
Gets the LeftMultiplicity attribute of the RelationHolder object
StringgetLeftRoleName()
Gets the LeftRoleName attribute of the RelationHolder object
StringgetName()
XClassgetRight()
Gets the Right attribute of the RelationHolder object
XMethodgetRightMethod()
Gets the RightMethod attribute of the RelationHolder object
StringgetRightMultiplicity()
Gets the RightMultiplicity attribute of the RelationHolder object
StringgetRightRoleName()
Gets the RightRoleName attribute of the RelationHolder object
inthashCode()
Describe what the method does
booleanisBidirectional()
Gets the Bidirectional attribute of the RelationHolder object
booleanisLeftCascadeDelete()
Gets the LeftCascadeDelete attribute of the RelationHolder object
booleanisLeftMany()
Gets the LeftMany attribute of the RelationHolder object
booleanisLeftNavigable()
Gets the LeftNavigable attribute of the RelationHolder object
booleanisMany2Many()
Gets the Many2Many attribute of the RelationHolder object
booleanisOne2Many()
Gets the One2Many attribute of the RelationHolder object
booleanisOne2One()
Gets the One2One attribute of the RelationHolder object
booleanisRightCascadeDelete()
Gets the RightCascadeDelete attribute of the RelationHolder object
booleanisRightMany()
Gets the RightMany attribute of the RelationHolder object
booleanisRightNavigable()
Gets the RightNavigable attribute of the RelationHolder object
voidswap()
Describe what the method does
StringtoString()
Describe what the method does

Method Detail

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()
Gets the LeftMultiplicity attribute of the RelationHolder object

Returns: The LeftMultiplicity value

Throws: XDocletException

getLeftRoleName

public String getLeftRoleName()
Gets the LeftRoleName attribute of the RelationHolder object

Returns: The LeftRoleName value

Throws: XDocletException

getName

public String getName()

Returns: the name of the relation

Throws: 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()
Gets the RightMultiplicity attribute of the RelationHolder object

Returns: The RightMultiplicity value

Throws: XDocletException

getRightRoleName

public String getRightRoleName()
Gets the RightRoleName attribute of the RelationHolder object

Returns: The RightRoleName value

Throws: 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()
Gets the LeftCascadeDelete attribute of the RelationHolder object

Returns: The LeftCascadeDelete value

Throws: XDocletException

isLeftMany

public boolean isLeftMany()
Gets the LeftMany attribute of the RelationHolder object

Returns: The LeftMany value

Throws: XDocletException

isLeftNavigable

public boolean isLeftNavigable()
Gets the LeftNavigable attribute of the RelationHolder object

Returns: The LeftNavigable value

isMany2Many

public boolean isMany2Many()
Gets the Many2Many attribute of the RelationHolder object

Returns: The Many2Many value

Throws: XDocletException

isOne2Many

public boolean isOne2Many()
Gets the One2Many attribute of the RelationHolder object

Returns: The One2Many value

Throws: XDocletException

isOne2One

public boolean isOne2One()
Gets the One2One attribute of the RelationHolder object

Returns: The One2One value

Throws: XDocletException

isRightCascadeDelete

public boolean isRightCascadeDelete()
Gets the RightCascadeDelete attribute of the RelationHolder object

Returns: The RightCascadeDelete value

Throws: XDocletException

isRightMany

public boolean isRightMany()
Gets the RightMany attribute of the RelationHolder object

Returns: The RightMany value

Throws: 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