## 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 and 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 and Description
    --- | ---
    `class` | `MutableComponentModelImpl` Internal implementation of `MutableComponentModel`.

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

    Constructors in org.apache.tapestry5.internal.model with parameters of type ComponentModel
    Constructor and Description
    `MutableComponentModelImpl(String componentClassName, org.slf4j.Logger logger, Resource baseResource, ComponentModel parentModel, boolean pageClass, String libraryName)`
    `ParameterModelImpl(ComponentModel componentModel, String name, boolean required, boolean allowNull, 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 and 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 and Description
    --- | ---
    `ComponentModel` | Instantiator.`getModel()` Returns the model that defines the behavior of the component.
    `ComponentModel` | ComponentModelSource.`getModel(String componentClassName)` Returns the model for a particular component class name.
    `ComponentModel` | ComponentModelSourceImpl.`getModel(String componentClassName)`
    `ComponentModel` | ComponentModelSource.`getPageModel(String pageName)` Returns the model for a page.
    `ComponentModel` | ComponentModelSourceImpl.`getPageModel(String pageName)`

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

    Constructors in org.apache.tapestry5.internal.services with parameters of type ComponentModel
    Constructor and Description
    `ComponentEventImpl(String eventType, 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 and Description
    --- | ---
    `Resource` | PageTemplateLocator.`locateTemplate(ComponentModel model, Locale locale)`
    `Resource` | DefaultTemplateLocator.`locateTemplate(ComponentModel model, 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 and Description
    --- | ---
    `ComponentModel` | InternalComponentResourcesImpl.`getComponentModel()`

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

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

    Subinterfaces of ComponentModel in org.apache.tapestry5.model
    Modifier and Type | Interface and 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 and 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 and Description
    --- | ---
    `Messages` | ComponentMessagesSource.`getMessages(ComponentModel componentModel, ComponentResourceSelector selector)` Used to obtain a `Messages` instance for a particular component, using a particular selector.
    `Messages` | ComponentMessagesSource.`getMessages(ComponentModel componentModel, Locale locale)` Deprecated. Deprecated in 5.3; use `ComponentMessagesSource.getMessages(ComponentModel, ComponentResourceSelector)` instead.

  - ### 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 and 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 and Description
    --- | ---
    `Resource` | ComponentTemplateLocator.`locateTemplate(ComponentModel model, 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 and Description
    --- | ---
    `protected ComponentModel` | TapestryTestCase.`mockComponentModel()`

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

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.