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

Packages that use Resource
Package
Description
org.apache.cayenne.configuration
org.apache.cayenne.configuration.xml
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
  Description
  `protected Resource`
  DataChannelDescriptor.`configurationSource`
  `protected Resource`
  DataNodeDescriptor.`configurationSource`
  Methods in org.apache.cayenne.configuration that return Resource
  Modifier and Type
  Method
  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
  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)`
  `void`
  DataChannelDescriptor.`setConfigurationSource(Resource configurationSource)`
  `void`
  DataNodeDescriptor.`setConfigurationSource(Resource configurationResource)`
  Sets configuration resource for this descriptor.

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

  Methods in org.apache.cayenne.configuration.xml with parameters of type Resource
  Modifier and Type
  Method
  Description
  `ConfigurationTree<DataChannelDescriptor>`
  XMLDataChannelDescriptorLoader.`load(Resource configurationResource)`
  `DataMap`
  XMLDataMapLoader.`load(Resource configurationResource)`

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

  Fields in org.apache.cayenne.map declared as Resource
  Modifier and Type
  Field
  Description
  `protected Resource`
  DataMap.`configurationSource`
  Methods in org.apache.cayenne.map that return Resource
  Modifier and Type
  Method
  Description
  `Resource`
  DataMap.`getConfigurationSource()`
  Methods in org.apache.cayenne.map with parameters of type Resource
  Modifier and Type
  Method
  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
  Description
  `class`
  `URLResource`
  A `Resource` implementation wrapping a resource URL.
  Methods in org.apache.cayenne.resource that return Resource
  Modifier and Type
  Method
  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
  Description
  `Collection<Resource>`
  ClassLoaderResourceLocator.`findResources(String name)`
  `Collection<Resource>`
  ResourceLocator.`findResources(String name)`
  Finds a collection of matching resources for a given name.