Package com.vaadin.client.flow.model
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
StateNodeviaStateNode.setNodeData(Object)if there is any data to store at all. Once it's stored in theStateNodethe 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(seeSimpleElementBindingStrategy).- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description UpdatableModelProperties(JsArray<String> properties)Creates a new instance of storage class based on givenproperties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisUpdatableProperty(String property)Tests whether thepropertyis updatable.
-
-
-
Method Detail
-
isUpdatableProperty
public boolean isUpdatableProperty(String property)
Tests whether thepropertyis updatable.- Parameters:
property- the property to test- Returns:
trueif property is updatable
-
-