You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by al...@apache.org on 2007/05/04 20:08:47 UTC
svn commit: r535339 -
/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/Feature.java
Author: alally
Date: Fri May 4 11:08:46 2007
New Revision: 535339
URL: http://svn.apache.org/viewvc?view=rev&rev=535339
Log:
Fixed JavaDoc for isMultipleReferencesAllowed
UIMA-396: https://issues.apache.org/jira/browse/UIMA-396
Modified:
incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/Feature.java
Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/Feature.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/Feature.java?view=diff&rev=535339&r1=535338&r2=535339
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/Feature.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/Feature.java Fri May 4 11:08:46 2007
@@ -62,12 +62,15 @@
String getShortName();
/**
- * Checks if there can be multiple references to values of this feature. There can only be a
- * single reference to a value of a feature if the value type is primitive, or if the feature is
- * array valued and has been declared in the type system to not allow multiple references.
- *
- * @return <code>true</code> iff the value type of this feature is primitive, or if it's an
- * array valued feature and has been declared not to allow multiple references.
+ * Checks if there can be multiple references to values of this feature. This is only
+ * meaningful for array-valued or list-values features.
+ * <p>
+ * If this is false it indicates that this feature has exclusive ownership of the
+ * array or list, so changes to the array or list are localized. If this is true it indicates
+ * that the array or list may be shared, so changes to it may affect other objects in the CAS.
+ *
+ * @return <code>true</code> iff the value type of this feature is an array or list and has been
+ * declared to allow multiple references.
*/
boolean isMultipleReferencesAllowed();