Package com.vaadin.flow.templatemodel
Interface TemplateModelProxyHandler.ModelProxy
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TemplateModelProxyHandler.InterfaceProxy
- Enclosing class:
- TemplateModelProxyHandler
Gives access to the state node of a proxy instance.
-
Method Summary
Modifier and TypeMethodDescriptionGets the model type definition for this type.void$modelType(BeanModelType<?> type) Sets the model type for this instance.Gets the state node that this instance is backed by.void$stateNode(StateNode node) Sets the state node that this instance is backed by.
-
Method Details
-
$stateNode
StateNode $stateNode()Gets the state node that this instance is backed by.- Returns:
- the state node, not
null
-
$stateNode
Sets the state node that this instance is backed by.- Parameters:
node- the state node, notnull
-
$modelType
BeanModelType<?> $modelType()Gets the model type definition for this type.- Returns:
- the model type, not
null
-
$modelType
Sets the model type for this instance.- Parameters:
type- the model type, notnull
-