json/src/main/java/net/java/html/json/ComputedProperty.java
branchDeepWatch
changeset 788 f8ac4d547ad3
parent 787 a0e8f185c0d4
child 790 30f20d9c0986
     1.1 --- a/json/src/main/java/net/java/html/json/ComputedProperty.java	Sat Aug 02 07:28:37 2014 +0200
     1.2 +++ b/json/src/main/java/net/java/html/json/ComputedProperty.java	Sat Aug 02 07:54:15 2014 +0200
     1.3 @@ -54,7 +54,11 @@
     1.4   * The name of the derived property is the name of the method. The arguments
     1.5   * of the method must match names and types of some of the properties 
     1.6   * from {@link Model#properties()} list. As soon as one of these properties
     1.7 - * changes, the method is called to recompute its new value.
     1.8 + * changes, the method is called to recompute its new value. 
     1.9 + * This applies to inner changes in derived properties as well - e.g.
    1.10 + * if the dependant property is another type generated by {@link Model @Model} annotation -
    1.11 + * changes in its own properties trigger recomputation of this derived 
    1.12 + * property as well (since version 0.9).
    1.13   * <p>
    1.14   * Method's return type defines the type of the derived property. It may be
    1.15   * any primitive type, {@link String}, {@link Enum enum type} or a