## Uses of Interface
org.apache.tapestry5.model.ComponentModel

- Packages that use ComponentModel
  Package | Description
  --- | ---
  org.apache.tapestry5 | Root package for Tapestry, containing common interfaces and data types used throughout the framework.
  org.apache.tapestry5.internal.model | [INTERNAL USE ONLY] support classes for component models; API subject to change
  org.apache.tapestry5.internal.pageload | [INTERNAL USE ONLY] support classes for assembling and loading pages; API subject to change
  org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
  org.apache.tapestry5.internal.services.templates | [INTERNAL USE ONLY] component template support classes; API subject to change
  org.apache.tapestry5.internal.structure | [INTERNAL USE ONLY] page structure implementation details; API subject to change.
  org.apache.tapestry5.model | Interfaces for various types of component and parameter models used by Tapestry
  org.apache.tapestry5.services.messages | Services supporting component and application message catalogs.
  org.apache.tapestry5.services.pageload | Services for locating and loading pages and component resources.
  org.apache.tapestry5.services.templates | Template services
  org.apache.tapestry5.test | Support for testing Tapestry pages

- - ### Uses of ComponentModel in org.apache.tapestry5

    Methods in org.apache.tapestry5 that return ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `ComponentModel` | ComponentResources.`getComponentModel()` | Returns the component model object that defines the behavior of the component.

  - ### Uses of ComponentModel in org.apache.tapestry5.internal.model

    Classes in org.apache.tapestry5.internal.model that implement ComponentModel
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `MutableComponentModelImpl` | Internal implementation of `MutableComponentModel`.

    Methods in org.apache.tapestry5.internal.model that return ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `ComponentModel` | ParameterModelImpl.`getComponentModel()` |
    `ComponentModel` | MutableComponentModelImpl.`getParentModel()` |

    Constructors in org.apache.tapestry5.internal.model with parameters of type ComponentModel
    Constructor | Description
    --- | ---
    `MutableComponentModelImpl​(java.lang.String componentClassName, org.slf4j.Logger logger, Resource baseResource, ComponentModel parentModel, boolean pageClass, java.lang.String libraryName)` |
    `ParameterModelImpl​(ComponentModel componentModel, java.lang.String name, boolean required, boolean allowNull, java.lang.String defaultBindingPrefix, boolean cached)` |

  - ### Uses of ComponentModel in org.apache.tapestry5.internal.pageload

    Methods in org.apache.tapestry5.internal.pageload with parameters of type ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `Resource` | DefaultComponentResourceLocator.`locateTemplate​(ComponentModel model, ComponentResourceSelector selector)` |

  - ### Uses of ComponentModel in org.apache.tapestry5.internal.services

    Methods in org.apache.tapestry5.internal.services that return ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `ComponentModel` | ComponentModelSource.`getModel​(java.lang.String componentClassName)` | Returns the model for a particular component class name.
    `ComponentModel` | ComponentModelSourceImpl.`getModel​(java.lang.String componentClassName)` |
    `ComponentModel` | Instantiator.`getModel()` | Returns the model that defines the behavior of the component.
    `ComponentModel` | ComponentModelSource.`getPageModel​(java.lang.String pageName)` | Returns the model for a page.
    `ComponentModel` | ComponentModelSourceImpl.`getPageModel​(java.lang.String pageName)` |

    Methods in org.apache.tapestry5.internal.services with parameters of type ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `Messages` | ComponentMessagesSourceImpl.`getMessages​(ComponentModel componentModel, java.util.Locale locale)` |
    `Messages` | ComponentMessagesSourceImpl.`getMessages​(ComponentModel componentModel, ComponentResourceSelector selector)` |
    `ComponentTemplate` | ComponentTemplateSource.`getTemplate​(ComponentModel componentModel, ComponentResourceSelector selector)` | Provides access to a template.
    `ComponentTemplate` | ComponentTemplateSourceImpl.`getTemplate​(ComponentModel componentModel, java.util.Locale locale)` | Resolves the component name to a localized `Resource` (using the `ComponentTemplateLocator` chain of command service).
    `ComponentTemplate` | ComponentTemplateSourceImpl.`getTemplate​(ComponentModel componentModel, ComponentResourceSelector selector)` |

    Constructors in org.apache.tapestry5.internal.services with parameters of type ComponentModel
    Constructor | Description
    --- | ---
    `ComponentEventImpl​(java.lang.String eventType, java.lang.String originatingComponentId, EventContext context, ComponentEventCallback handler, ComponentPageElementResources elementResources, boolean exactParameterCountMatch, ComponentModel model, org.slf4j.Logger logger)` |

  - ### Uses of ComponentModel in org.apache.tapestry5.internal.services.templates

    Methods in org.apache.tapestry5.internal.services.templates with parameters of type ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `Resource` | DefaultTemplateLocator.`locateTemplate​(ComponentModel model, java.util.Locale locale)` |
    `Resource` | PageTemplateLocator.`locateTemplate​(ComponentModel model, java.util.Locale locale)` |

  - ### Uses of ComponentModel in org.apache.tapestry5.internal.structure

    Methods in org.apache.tapestry5.internal.structure that return ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `ComponentModel` | InternalComponentResourcesImpl.`getComponentModel()` |

    Methods in org.apache.tapestry5.internal.structure with parameters of type ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `Messages` | ComponentPageElementResources.`getMessages​(ComponentModel componentModel)` | Used to obtain a `Messages` instance for a particular component.
    `Messages` | ComponentPageElementResourcesImpl.`getMessages​(ComponentModel componentModel)` |

  - ### Uses of ComponentModel in org.apache.tapestry5.model

    Subinterfaces of ComponentModel in org.apache.tapestry5.model
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `MutableComponentModel` | Mutable version of `ComponentModel` used during the transformation phase.

    Methods in org.apache.tapestry5.model that return ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `ComponentModel` | ParameterModel.`getComponentModel()` | Identifies the component model in which the parameter is defined.
    `ComponentModel` | ComponentModel.`getParentModel()` | Returns the component model for this component's super-class, if it exists.

  - ### Uses of ComponentModel in org.apache.tapestry5.services.messages

    Methods in org.apache.tapestry5.services.messages with parameters of type ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `Messages` | ComponentMessagesSource.`getMessages​(ComponentModel componentModel, java.util.Locale locale)` | Deprecated. Deprecated in 5.3; use `ComponentMessagesSource.getMessages(ComponentModel, ComponentResourceSelector)` instead.
    `Messages` | ComponentMessagesSource.`getMessages​(ComponentModel componentModel, ComponentResourceSelector selector)` | Used to obtain a `Messages` instance for a particular component, using a particular selector.

  - ### Uses of ComponentModel in org.apache.tapestry5.services.pageload

    Methods in org.apache.tapestry5.services.pageload with parameters of type ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `Resource` | ComponentResourceLocator.`locateTemplate​(ComponentModel model, ComponentResourceSelector selector)` | Locates the template for a component (including pages and base classes).

  - ### Uses of ComponentModel in org.apache.tapestry5.services.templates

    Methods in org.apache.tapestry5.services.templates with parameters of type ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `Resource` | ComponentTemplateLocator.`locateTemplate​(ComponentModel model, java.util.Locale locale)` | Deprecated. Locates the template for the given model as a `Resource`.

  - ### Uses of ComponentModel in org.apache.tapestry5.test

    Methods in org.apache.tapestry5.test that return ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected ComponentModel` | TapestryTestCase.`mockComponentModel()` |

    Methods in org.apache.tapestry5.test with parameters of type ComponentModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | TapestryTestCase.`train_getBaseResource​(ComponentModel model, Resource resource)` |
    `protected void` | TapestryTestCase.`train_getComponentClassName​(ComponentModel model, java.lang.String className)` |
    `protected void` | TapestryTestCase.`train_getFieldPersistenceStrategy​(ComponentModel model, java.lang.String fieldName, java.lang.String fieldStrategy)` |
    `protected void` | TapestryTestCase.`train_getMeta​(ComponentModel model, java.lang.String key, java.lang.String value)` |
    `protected void` | TapestryTestCase.`train_getParameterModel​(ComponentModel model, java.lang.String parameterName, ParameterModel parameterModel)` |
    `protected void` | TapestryTestCase.`train_getParameterNames​(ComponentModel model, java.lang.String... names)` |
    `protected void` | TapestryTestCase.`train_getParentModel​(ComponentModel model, ComponentModel parentModel)` |
    `protected void` | TapestryTestCase.`train_getPersistentFieldNames​(ComponentModel model, java.lang.String... names)` |
    `protected void` | TapestryTestCase.`train_getSupportsInformalParameters​(ComponentModel model, boolean supports)` |