Class UpdatableModelProperties

java.lang.Object
com.vaadin.client.flow.model.UpdatableModelProperties

public class UpdatableModelProperties extends Object
The storage class for set of updatable model properties.

This class is stored inside a StateNode via StateNode.setNodeData(Object) if there is any data to store at all. Once it's stored in the StateNode the code which sends updates to the server side when a polymer property is updated uses this data to detect whether server expects the update to be sent(see SimpleElementBindingStrategy).

Since:
1.0
Author:
Vaadin Ltd
  • Constructor Details

    • UpdatableModelProperties

      public UpdatableModelProperties(JsArray<String> properties)
      Creates a new instance of storage class based on given properties.
      Parameters:
      properties - updatable properties array
  • Method Details

    • isUpdatableProperty

      public boolean isUpdatableProperty(String property)
      Tests whether the property is updatable.
      Parameters:
      property - the property to test
      Returns:
      true if property is updatable