Package com.vaadin.collaborationengine
Interface PropertyChangeHandler.PropertyChangeEvent
- Enclosing interface:
PropertyChangeHandler
public static interface PropertyChangeHandler.PropertyChangeEvent
The property change event.
-
Method Summary
-
Method Details
-
getPropertyName
String getPropertyName()Gets the property name.- Returns:
- the property name, not
null
-
getValue
Object getValue()Gets the new value.- Returns:
- the value, not
null
-
getValue
Gets the new value as an instance of the given class.- Type Parameters:
T- the type of the value fromtypeparameter, e.g.String- Parameters:
type- the expected type of the returned instance- Returns:
- throws an
UnsupportedOperationException
-
getValue
default <T> T getValue(tools.jackson.core.type.TypeReference<T> typeRef) Gets the new value as an instance of the given type reference.- Type Parameters:
T- the type reference of the value fromtypeRefparameter, e.g.List> - Parameters:
typeRef- the expected type reference of the returned instance- Returns:
- throws an
UnsupportedOperationException
-