aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/data/util/NestedMethodProperty.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java/com/vaadin/data/util/NestedMethodProperty.java')
-rw-r--r--server/src/main/java/com/vaadin/data/util/NestedMethodProperty.java30
1 files changed, 15 insertions, 15 deletions
diff --git a/server/src/main/java/com/vaadin/data/util/NestedMethodProperty.java b/server/src/main/java/com/vaadin/data/util/NestedMethodProperty.java
index 7790b8ab45..0b39efef5c 100644
--- a/server/src/main/java/com/vaadin/data/util/NestedMethodProperty.java
+++ b/server/src/main/java/com/vaadin/data/util/NestedMethodProperty.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -30,16 +30,16 @@ import com.vaadin.shared.util.SharedUtil;
/**
* Nested accessor based property for a bean.
- *
+ *
* The property is specified in the dotted notation, e.g. "address.street", and
* can contain multiple levels of nesting.
- *
+ *
* When accessing the property value, all intermediate getters must exist and
* should return non-null values when the property value is accessed. If an
* intermediate getter returns null, a null value will be returned.
- *
+ *
* @see MethodProperty
- *
+ *
* @since 6.6
*/
public class NestedMethodProperty<T> extends AbstractProperty<T> {
@@ -83,7 +83,7 @@ public class NestedMethodProperty<T> extends AbstractProperty<T> {
* e.g. "manager.address.street".
* <p>
* Calling getValue will return null if any intermediate getter returns null
- *
+ *
* @param instance
* top-level bean to which the property applies
* @param propertyName
@@ -100,7 +100,7 @@ public class NestedMethodProperty<T> extends AbstractProperty<T> {
* For internal use to deduce property type etc. without a bean instance.
* Calling {@link #setValue(Object)} or {@link #getValue()} on properties
* constructed this way is not supported.
- *
+ *
* @param instanceClass
* class of the top-level bean
* @param propertyName
@@ -113,7 +113,7 @@ public class NestedMethodProperty<T> extends AbstractProperty<T> {
/**
* Initializes most of the internal fields based on the top-level bean
* instance and property name (dot-separated string).
- *
+ *
* @param beanClass
* class of the top-level bean to which the property applies
* @param propertyName
@@ -193,7 +193,7 @@ public class NestedMethodProperty<T> extends AbstractProperty<T> {
/**
* Gets the value stored in the Property. The value is resolved by calling
* the specified getter method with the argument specified at instantiation.
- *
+ *
* @return the value of the Property
*/
@Override
@@ -215,7 +215,7 @@ public class NestedMethodProperty<T> extends AbstractProperty<T> {
/**
* Sets the value of the property. The new value must be assignable to the
* type of this property.
- *
+ *
* @param newValue
* the New value of the property.
* @throws <code>Property.ReadOnlyException</code>
@@ -236,7 +236,7 @@ public class NestedMethodProperty<T> extends AbstractProperty<T> {
/**
* Internal method to actually call the setter method of the wrapped
* property.
- *
+ *
* @param value
*/
protected void invokeSetMethod(T value) {
@@ -256,9 +256,9 @@ public class NestedMethodProperty<T> extends AbstractProperty<T> {
/**
* Returns an unmodifiable list of getter methods to call in sequence to get
* the property value.
- *
+ *
* This API may change in future versions.
- *
+ *
* @return unmodifiable list of getter methods corresponding to each segment
* of the property name
*/