Logo Search packages:      
Sourcecode: libloader version File versions  Download package

org.pentaho.reporting.libraries.resourceloader.ResourceKey Class Reference
Inheritance diagram for org.pentaho.reporting.libraries.resourceloader.ResourceKey:
Collaboration diagram for org.pentaho.reporting.libraries.resourceloader.ResourceKey:

List of all members.

Public Member Functions

boolean equals (final Object o)
Map getFactoryParameters ()
Object getIdentifier ()
String getIdentifierAsString ()
ResourceKey getParent ()
Object getSchema ()
int hashCode ()
 ResourceKey (final Object schema, final Object identifier, final Map factoryParameters)
 ResourceKey (final ResourceKey parent, final Object schema, final Object identifier, final Map factoryParameters)
String toString ()

Private Attributes

Map factoryParameters
Integer hashCode
Object identifier
ResourceKey parent
Object schema

Static Private Attributes

static final Map EMPTY_MAP = Collections.unmodifiableMap(new HashMap())
static final long serialVersionUID = -7764107570068726772L

Detailed Description

The key is an unique identifier for the resource. Most of the time, this may be an URL, but other (especially database based) schemas are possible.

A resource key must provide an 'equals' implementation. ResourceKeys should be implemented as immutable classes, so that they can be safely stored in collections or on external storages (like caches).

Author:
Thomas Morgner

Definition at line 39 of file ResourceKey.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index