|
Release Planner v1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--rp.util.TwoList
|
+--rp.util.dom.DOMRelation.Endpoint
|
+--rp.util.dom.DOMRelation.Left
The left endpoint of a relationship.
| Nested Class Summary |
| Nested classes inherited from class rp.util.dom.DOMRelation.Endpoint |
DOMRelation.Endpoint.Iterator |
| Nested classes inherited from class rp.util.TwoList |
TwoList.Iterator, TwoList.IteratorA, TwoList.IteratorB |
| Field Summary |
| Fields inherited from class rp.util.TwoList |
headA, headB, nextA, nextB, numsA, numsB, prevA, prevB |
| Constructor Summary | |
protected |
DOMRelation.Left(DOMObject o)
Initializes a left endpoint held by the specified object. |
| Method Summary | |
int |
count()
Returns a count of the number of relationships attached to this endpoint. |
DOMObject |
getOther()
Returns the (first) object on the other side of the relationship or null if none. |
boolean |
isLeft()
Indicates if this is a left endpoint. |
boolean |
isRight()
Indicates if this is a right endpoint. |
DOMObject.Iterator |
iterator()
Returns an iterator over all objects on the other side of the relationship. |
DOMRelation.Instance.Iterator |
relationIterator()
Returns an iterator over all relationship instances attached to this endpoint. |
| Methods inherited from class rp.util.dom.DOMRelation.Endpoint |
getObject, getRelation |
| Methods inherited from class rp.util.TwoList |
addA, addB, countA, countB, decommissionAsHeadA, decommissionAsHeadB, firstA, firstB, headA, headB, initAsHeadA, initAsHeadB, isElementA, isElementB, isHeadA, isHeadB, rmA, rmB |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected DOMRelation.Left(DOMObject o)
o - the object that wishes to participate on the left side of relationships
and that holds this endpoint| Method Detail |
public boolean isLeft()
DOMRelation.Endpoint
isLeft in class DOMRelation.Endpointpublic boolean isRight()
DOMRelation.Endpoint
isRight in class DOMRelation.Endpointpublic int count()
DOMRelation.Endpoint
count in class DOMRelation.Endpointpublic DOMObject getOther()
DOMRelation.Endpoint
getOther in class DOMRelation.Endpointpublic DOMRelation.Instance.Iterator relationIterator()
DOMRelation.Endpoint
relationIterator in class DOMRelation.Endpointpublic DOMObject.Iterator iterator()
DOMRelation.Endpoint
iterator in class DOMRelation.Endpoint
|
Release Planner v1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||