## Uses of Interface
org.apache.cayenne.resource.Resource

- Packages that use Resource
  Package | Description
  --- | ---
  org.apache.cayenne.configuration |
  org.apache.cayenne.map | Contains O/R mapping classes that store relational database metadata information and map it to Java classes.
  org.apache.cayenne.resource |

- - ### Uses of Resource in org.apache.cayenne.configuration

    Fields in org.apache.cayenne.configuration declared as Resource
    Modifier and Type | Field and Description
    --- | ---
    `protected Resource` | DataChannelDescriptor.`configurationSource`
    `protected Resource` | DataNodeDescriptor.`configurationSource`

    Methods in org.apache.cayenne.configuration that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | DataChannelDescriptor.`getConfigurationSource()`
    `Resource` | DataNodeDescriptor.`getConfigurationSource()` Returns configuration resource for this descriptor.

    Methods in org.apache.cayenne.configuration with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `String` | ConfigurationNameMapper.`configurationNodeName(Class<? extends ConfigurationNode> type, Resource resource)` Returns a node name for a given configuration type and a configuration resource.
    `String` | DefaultConfigurationNameMapper.`configurationNodeName(Class<? extends ConfigurationNode> type, Resource resource)`
    `ConfigurationTree<DataChannelDescriptor>` | DataChannelDescriptorLoader.`load(Resource configurationResource)` Loads a DataChannelDescriptor from some configuration resource, usually an XML file found on classpath.
    `DataMap` | DataMapLoader.`load(Resource configurationResource)`
    `ConfigurationTree<DataChannelDescriptor>` | XMLDataChannelDescriptorLoader.`load(Resource configurationResource)`
    `DataMap` | XMLDataMapLoader.`load(Resource configurationResource)`
    `void` | DataChannelDescriptor.`setConfigurationSource(Resource configurationSource)`
    `void` | DataNodeDescriptor.`setConfigurationSource(Resource configurationResource)` Sets configuration resource for this descriptor.

  - ### Uses of Resource in org.apache.cayenne.map

    Fields in org.apache.cayenne.map declared as Resource
    Modifier and Type | Field and Description
    --- | ---
    `protected Resource` | DataMap.`configurationSource`

    Methods in org.apache.cayenne.map that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | DataMap.`getConfigurationSource()`

    Methods in org.apache.cayenne.map with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `void` | DataMap.`setConfigurationSource(Resource configurationSource)`

  - ### Uses of Resource in org.apache.cayenne.resource

    Classes in org.apache.cayenne.resource that implement Resource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `URLResource` A `Resource` implementation wrapping a resource URL.

    Methods in org.apache.cayenne.resource that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | Resource.`getRelativeResource(String relativePath)` Returns a resource resolved relatively to the current resource.
    `Resource` | URLResource.`getRelativeResource(String relativePath)`

    Methods in org.apache.cayenne.resource that return types with arguments of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `Collection<Resource>` | ClassLoaderResourceLocator.`findResources(String name)`
    `Collection<Resource>` | FilesystemResourceLocator.`findResources(String name)`
    `Collection<Resource>` | ResourceLocator.`findResources(String name)` Finds a collection of matching resources for a given name.

Copyright © 2001–2023 Apache Cayenne. All rights reserved.