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.com.vaadin.flow.internal.StateNodeGets the state node that this instance is backed by.void$stateNode(com.vaadin.flow.internal.StateNode node) Sets the state node that this instance is backed by.
-
Method Details
-
$stateNode
com.vaadin.flow.internal.StateNode $stateNode()Gets the state node that this instance is backed by.- Returns:
- the state node, not
null
-
$stateNode
void $stateNode(com.vaadin.flow.internal.StateNode node) 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
-