| 
WebObjects 5.2.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.webobjects.eoaccess.EOJoin
An EOJoin describes one source-destination attribute pair for an EORelationship.
EORelationship| Constructor Summary | |
EOJoin(EOAttribute source,
       EOAttribute destination)
Creates and returns a new EOJoin with the given source and destination
 attributes. | 
|
| Method Summary | |
 Object | 
clone()
Returns a reference to the receiver.  | 
 EOAttribute | 
destinationAttribute()
Returns the destination ("right") attribute of the receiver.  | 
 boolean | 
equals(Object object)
Compares object with the receiver and returns
 true if they are identical, false
 otherwise. | 
 boolean | 
isReciprocalToJoin(EOJoin otherJoin)
Returns true if the receiver's source attribute is
 identical to otherJoin's destination attribute, and
 otherJoin's source attribute is equal to the
 receiver's destination attribute; returns false 
 otherwise. | 
 EOAttribute | 
sourceAttribute()
Returns the source ("left") attribute of the receiver.  | 
 String | 
toString()
Returns a string representation of the receiver.  | 
| Methods inherited from class java.lang.Object | 
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public EOJoin(EOAttribute source,
              EOAttribute destination)
source and destination
 attributes. See the EORelationship class documentation
 for an example of creating a relationship using EOJoins.
source - The source attribute for the new EOJoin.destination - The destination attribute for the new EOJoin.EORelationship, 
EORelationship.addJoin(EOJoin aJoin)| Method Detail | 
public Object clone()
clone in class Objectpublic EOAttribute destinationAttribute()
EORelationship.destinationAttributes()public boolean equals(Object object)
object with the receiver and returns
 true if they are identical, false
 otherwise.
equals in class Objectobject - An object to be compared with the receiver.
true if object and
               the receiver are identical.public boolean isReciprocalToJoin(EOJoin otherJoin)
true if the receiver's source attribute is
 identical to otherJoin's destination attribute, and
 otherJoin's source attribute is equal to the
 receiver's destination attribute; returns false 
 otherwise. This type of join is known as a  back-referencing join.
otherJoin - An EOJoin object to compare with the receiver.
true if otherJoin
                  is a back-referencing join relative to the 
                  receiver.EORelationship.inverseRelationship()public EOAttribute sourceAttribute()
EORelationship.sourceAttributes()public String toString()
toString in class Object
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||