diff options
| author | Benjamin Culkin <scorpress@gmail.com> | 2024-05-20 17:58:16 -0400 |
|---|---|---|
| committer | Benjamin Culkin <scorpress@gmail.com> | 2024-05-20 17:58:16 -0400 |
| commit | 40a9d99496e098562f090fb7ffce9e749011b131 (patch) | |
| tree | 437df24d65470582e943e494a52db8ed65a881ae /projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EORelationshipManipulation.java | |
| parent | ff072dfe782f6f22123cd4ba050828d35c0d0fbd (diff) | |
Formatting pass
Diffstat (limited to 'projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EORelationshipManipulation.java')
| -rw-r--r-- | projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EORelationshipManipulation.java | 80 |
1 files changed, 35 insertions, 45 deletions
diff --git a/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EORelationshipManipulation.java b/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EORelationshipManipulation.java index 568b555..4b8845b 100644 --- a/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EORelationshipManipulation.java +++ b/projects/net.wotonomy.persistence/src/main/java/net/wotonomy/control/EORelationshipManipulation.java @@ -19,58 +19,48 @@ License along with this library; if not, see http://www.gnu.org package net.wotonomy.control; /** -* EORelationshipManipulation provides methods for generically -* adding and removing relationships between objects, handling -* both one-way and reciprocal relationships. -* -* @author michael@mpowers.net -* @author $Author: cgruber $ -* @version $Revision: 893 $ -*/ -public interface EORelationshipManipulation -{ - /** - * Adds the specified object to the relationship on this - * object specified by the key. For to-one relationships, - * this operation is the same as valueForKey. - */ - void addObjectToPropertyWithKey( - Object anObject, String aKey ); + * EORelationshipManipulation provides methods for generically adding and + * removing relationships between objects, handling both one-way and reciprocal + * relationships. + * + * @author michael@mpowers.net + * @author $Author: cgruber $ + * @version $Revision: 893 $ + */ +public interface EORelationshipManipulation { + /** + * Adds the specified object to the relationship on this object specified by the + * key. For to-one relationships, this operation is the same as valueForKey. + */ + void addObjectToPropertyWithKey(Object anObject, String aKey); - /** - * Removes the specified object from the relationship on - * this object specified by the key. For to-one relationships, - * this operation is the same as takeValueForKey with a null - * value. - */ - void removeObjectFromPropertyWithKey( - Object anObject, String aKey ); + /** + * Removes the specified object from the relationship on this object specified + * by the key. For to-one relationships, this operation is the same as + * takeValueForKey with a null value. + */ + void removeObjectFromPropertyWithKey(Object anObject, String aKey); - /** - * As addObjectToProperty with key, but also performs the - * reciprocal operation on the other side of the relationship. - */ - void addObjectToBothSidesOfRelationshipWithKey( - EORelationshipManipulation anObject, String aKey ); - - /** - * As removeObjectFromPropertyWithKey with key, but also performs the - * reciprocal operation on the other side of the relationship. - */ - void removeObjectFromBothSidesOfRelationshipWithKey( - EORelationshipManipulation anObject, String aKey ); + /** + * As addObjectToProperty with key, but also performs the reciprocal operation + * on the other side of the relationship. + */ + void addObjectToBothSidesOfRelationshipWithKey(EORelationshipManipulation anObject, String aKey); + + /** + * As removeObjectFromPropertyWithKey with key, but also performs the reciprocal + * operation on the other side of the relationship. + */ + void removeObjectFromBothSidesOfRelationshipWithKey(EORelationshipManipulation anObject, String aKey); } /* - * $Log$ - * Revision 1.1 2006/02/16 13:19:57 cgruber - * Check in all sources in eclipse-friendly maven-enabled packages. + * $Log$ Revision 1.1 2006/02/16 13:19:57 cgruber Check in all sources in + * eclipse-friendly maven-enabled packages. * - * Revision 1.1 2001/11/13 04:13:59 mpowers - * Added interfaces needed to begin work on EOCustomObject. + * Revision 1.1 2001/11/13 04:13:59 mpowers Added interfaces needed to begin + * work on EOCustomObject. * * */ - - |
