summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2016-09-05 19:40:31 +0300
committerIlia Motornyi <elmot@vaadin.com>2016-09-07 07:20:30 +0000
commit1d6b5a7594e8db3d86449fa8e8726d5a383293af (patch)
tree07d19c3e1911439988d40bc07c777ee532a14173 /client
parentd8562821deedbbce7985a8b02cf14ee604934ac3 (diff)
downloadvaadin-framework-1d6b5a7594e8db3d86449fa8e8726d5a383293af.tar.gz
vaadin-framework-1d6b5a7594e8db3d86449fa8e8726d5a383293af.zip
Improve listing and data source Javadocs a bit
Change-Id: Ie3821df9bcb13af5f3955776a11d33fd2c16020e
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/connectors/data/HasDataSource.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/client/src/main/java/com/vaadin/client/connectors/data/HasDataSource.java b/client/src/main/java/com/vaadin/client/connectors/data/HasDataSource.java
index 79a70a1fe9..f32dae4ac0 100644
--- a/client/src/main/java/com/vaadin/client/connectors/data/HasDataSource.java
+++ b/client/src/main/java/com/vaadin/client/connectors/data/HasDataSource.java
@@ -20,7 +20,11 @@ import com.vaadin.client.data.DataSource;
import elemental.json.JsonObject;
/**
- * Marker interface for Connectors that have a {@link DataSource}.
+ * A marker interface for connectors that have a data source.
+ *
+ * @author Vaadin Ltd.
+ * @see DataSource
+ * @since 8.0
*/
public interface HasDataSource {
@@ -28,14 +32,14 @@ public interface HasDataSource {
* Sets the data source for this Connector.
*
* @param dataSource
- * new data source
+ * the new data source, not null
*/
void setDataSource(DataSource<JsonObject> dataSource);
/**
* Gets the current data source for this Connector.
*
- * @return data source
+ * @return the data source, not null
*/
DataSource<JsonObject> getDataSource();
}