xdoclet.ejb.tags
Class RelationTagsHandler.RelationHolder
java.lang.Object
|
+--xdoclet.ejb.tags.RelationTagsHandler.RelationHolder
- Enclosing class:
- RelationTagsHandler
- public class RelationTagsHandler.RelationHolder
- extends java.lang.Object
Holds class/method of the two end points of a relationship.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RelationTagsHandler.RelationHolder
public RelationTagsHandler.RelationHolder()
isBidirectional
public boolean isBidirectional()
isOne2One
public boolean isOne2One()
throws XDocletException
isOne2Many
public boolean isOne2Many()
throws XDocletException
isMany2Many
public boolean isMany2Many()
throws XDocletException
getLeftMultiplicity
public java.lang.String getLeftMultiplicity()
throws XDocletException
getRightMultiplicity
public java.lang.String getRightMultiplicity()
throws XDocletException
getLeft
public com.sun.javadoc.ClassDoc getLeft()
getLeftMethod
public com.sun.javadoc.MethodDoc getLeftMethod()
getRight
public com.sun.javadoc.ClassDoc getRight()
getRightMethod
public com.sun.javadoc.MethodDoc getRightMethod()
getLeftRoleName
public java.lang.String getLeftRoleName()
throws XDocletException
getRightRoleName
public java.lang.String getRightRoleName()
throws XDocletException
isLeftMany
public boolean isLeftMany()
throws XDocletException
isRightMany
public boolean isRightMany()
throws XDocletException
getName
public java.lang.String getName()
throws XDocletException
- Returns:
- the name of the relation
- Throws:
XDocletException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object