Package com.vaadin.flow.templatemodel
Interface TemplateModelProxyHandler.ModelProxy
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TemplateModelProxyHandler.InterfaceProxy
- Enclosing class:
- TemplateModelProxyHandler
protected static interface TemplateModelProxyHandler.ModelProxy extends Serializable
Gives access to the state node of a proxy instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanModelType<?>$modelType()Gets the model type definition for this type.void$modelType(BeanModelType<?> type)Sets the model type for this instance.StateNode$stateNode()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 Detail
-
$stateNode
StateNode $stateNode()
Gets the state node that this instance is backed by.- Returns:
- the state node, not
null
-
$stateNode
void $stateNode(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
void $modelType(BeanModelType<?> type)
Sets the model type for this instance.- Parameters:
type- the model type, notnull
-
-