You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by km...@apache.org on 2007/12/11 16:23:00 UTC
svn commit: r603270 -
/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ObjRelationship.java
Author: kmenard
Date: Tue Dec 11 07:22:59 2007
New Revision: 603270
URL: http://svn.apache.org/viewvc?rev=603270&view=rev
Log:
JavaDoc update.
Modified:
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ObjRelationship.java
Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ObjRelationship.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ObjRelationship.java?rev=603270&r1=603269&r2=603270&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ObjRelationship.java (original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ObjRelationship.java Tue Dec 11 07:22:59 2007
@@ -19,13 +19,6 @@
package org.apache.cayenne.map;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.EventListener;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-
import org.apache.cayenne.CayenneRuntimeException;
import org.apache.cayenne.event.EventManager;
import org.apache.cayenne.exp.ExpressionException;
@@ -35,6 +28,8 @@
import org.apache.cayenne.util.XMLEncoder;
import org.apache.commons.lang.builder.ToStringBuilder;
+import java.util.*;
+
/**
* Describes navigational association between two Java classes, represented as source and
* target ObjEntity. Maps to a path of DbRelationships.
@@ -746,7 +741,10 @@
/**
* Returns a property name of a target entity used to create a relationship map. Only
* has effect if collectionType property is set to "java.util.Map".
- *
+ *
+ * @return The attribute name used for the map key or <code>null</code> if the default (PK) is used
+ * as the map key.
+ *
* @since 3.0
*/
public String getMapKey() {