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 Details

    • $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, not null
    • $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, not null