aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2016-03-18 13:34:24 +0200
committerVaadin Code Review <review@vaadin.com>2016-04-28 12:39:46 +0000
commit635ff2c16ff4b3914ba9cab2e3a4183ee061088a (patch)
tree85e68f0dedf90b9f6b1266689098b1d7e6db03d0 /server
parent3f150daeeed28444cf4bca114d6544f7c2387b2b (diff)
downloadvaadin-framework-635ff2c16ff4b3914ba9cab2e3a4183ee061088a.tar.gz
vaadin-framework-635ff2c16ff4b3914ba9cab2e3a4183ee061088a.zip
Fix PropertyValueGenerator javadocs
Change-Id: I8a6bc3b5807f78f459cc9f9e2f02a55835370d7f
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/data/util/PropertyValueGenerator.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/src/main/java/com/vaadin/data/util/PropertyValueGenerator.java b/server/src/main/java/com/vaadin/data/util/PropertyValueGenerator.java
index 453e45b1db..a09ab33d2d 100644
--- a/server/src/main/java/com/vaadin/data/util/PropertyValueGenerator.java
+++ b/server/src/main/java/com/vaadin/data/util/PropertyValueGenerator.java
@@ -58,10 +58,10 @@ public abstract class PropertyValueGenerator<T> implements Serializable {
/**
* Translates sorting of the generated property in a specific direction to a
* set of property ids and directions in the underlying container.
- *
+ * <p>
* SortOrder is similar to (or the same as) the SortOrder already defined
* for Grid.
- *
+ * <p>
* The default implementation of this method returns an empty array, which
* means that the property will not be included in
* getSortableContainerPropertyIds(). Attempting to sort by that column
@@ -80,17 +80,19 @@ public abstract class PropertyValueGenerator<T> implements Serializable {
/**
* Return an updated filter that should be compatible with the underlying
* container.
- *
+ * <p>
* This function is called when setting a filter for this generated
* property. Returning null from this function causes
* GeneratedPropertyContainer to discard the filter and not use it.
- *
+ * <p>
* By default this function throws UnsupportedFilterException.
*
* @param filter
* original filter for this property
* @return modified filter that is compatible with the underlying container
* @throws UnsupportedFilterException
+ * if the implementation doesn't support modifying the provided
+ * filter
*/
public Filter modifyFilter(Filter filter) throws UnsupportedFilterException {
throw new UnsupportedFilterException("Filter" + filter