ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1796717 - /webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMDataSourceExt.java
Date Mon, 29 May 2017 22:46:12 GMT
Author: veithen
Date: Mon May 29 22:46:12 2017
New Revision: 1796717

URL: http://svn.apache.org/viewvc?rev=1796717&view=rev
Log:
Fix some Javadoc.

Modified:
    webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMDataSourceExt.java

Modified: webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMDataSourceExt.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMDataSourceExt.java?rev=1796717&r1=1796716&r2=1796717&view=diff
==============================================================================
--- webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMDataSourceExt.java
(original)
+++ webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMDataSourceExt.java
Mon May 29 22:46:12 2017
@@ -105,24 +105,31 @@ public interface OMDataSourceExt extends
     OMDataSourceExt copy();
     
     /**
-     * Returns true if property is set
-     * @param key
-     * @return TODO
+     * Check if a property with the given name is set on this instance.
+     * 
+     * @param name
+     *            the property name
+     * @return {@code true} if the property is set
      */
-    boolean hasProperty(String key);
+    boolean hasProperty(String name);
     
     /**
-     * Query a property stored on the OMDataSource
-     * @param key
-     * @return value or null
+     * Get the value of a property stored on this instance.
+     * 
+     * @param name
+     *            the property name
+     * @return the property value or {@code null}
      */
-    Object getProperty(String key);
+    Object getProperty(String name);
     
     /**
-     * Set a property on the OMDataSource
-     * @param key
+     * Set a property on this instance.
+     * 
+     * @param name
+     *            the property name
      * @param value
-     * @return old property object or null
+     *            the property value
+     * @return the old property value or {@link null}
      */
-    Object setProperty(String key, Object value);
+    Object setProperty(String name, Object value);
 }



Mime
View raw message