A C D E F G H M N O R U

A

addMapperFactoryListener(MapperFactoryListener) - Method in class org.apache.commons.mapper.MapperFactory
Register a listener with this MapperFactory to receive notifications of events.

C

clone() - Method in class org.apache.commons.mapper.util.ObjectFactory
Returns a cloned instance of this ObjectFactory.
construct(String) - Static method in class org.apache.commons.mapper.util.ObjectFactory
Convenience method that creates an object of the class given as a string.
create(Object) - Method in interface org.apache.commons.mapper.Mapper
Create the given object in a persistent data store.
create(Object) - Method in class org.apache.commons.mapper.MapperAdapter
 
create(String) - Method in class org.apache.commons.mapper.util.ObjectFactory
Returns an object of the class associated with the given command.

D

delete(Object) - Method in interface org.apache.commons.mapper.Mapper
Remove an object from the data store.
delete(Object) - Method in class org.apache.commons.mapper.MapperAdapter
 

E

equals(Object) - Method in class org.apache.commons.mapper.util.ObjectFactory
Returns true if the ObjectFactory's maps are equal.

F

factory - Variable in class org.apache.commons.mapper.MapperFactory
This factory actually creates the mappers.
findAllObjects() - Method in interface org.apache.commons.mapper.Mapper
Returns a Collection of all objects for the given mapper.
findAllObjects() - Method in class org.apache.commons.mapper.MapperAdapter
 
findByUniqueId(Object) - Method in interface org.apache.commons.mapper.Mapper
Find the given Object based on its unique identifier.
findByUniqueId(Object) - Method in class org.apache.commons.mapper.MapperAdapter
 

G

getCause() - Method in exception org.apache.commons.mapper.MapperException
Returns the cause.
getMap() - Method in class org.apache.commons.mapper.util.ObjectFactory
Gets a copy of the Map this factory is using to construct instances of classes.
getMapper(Class) - Method in class org.apache.commons.mapper.MapperFactory
Factory method for getting the mapper associated with the given class.
getMapper(String) - Method in class org.apache.commons.mapper.MapperFactory
Factory method for getting the mapper associated with the given class.
getMapper() - Method in class org.apache.commons.mapper.MapperFactoryEvent
 
getMapperFactory() - Method in class org.apache.commons.mapper.MapperFactoryEvent
 

H

hashCode() - Method in class org.apache.commons.mapper.util.ObjectFactory
ObjectFactory's hashcode is based on its underlying Map's hashcodes.

M

Mapper - Interface in org.apache.commons.mapper
A Mapper is responsible for mapping domain objects to a persistent data store.
MapperAdapter - Class in org.apache.commons.mapper
A default implementation of the Mapper interface that throws UnsupportedOperationExceptions for all methods.
MapperAdapter() - Constructor for class org.apache.commons.mapper.MapperAdapter
Default constructor for MapperAdapter.
mapperCreated(MapperFactoryEvent) - Method in interface org.apache.commons.mapper.MapperFactoryListener
Called whenever a Mapper is created.
MapperException - Exception in org.apache.commons.mapper
MapperException encapsulates everything that could go wrong with mappers.
MapperException() - Constructor for exception org.apache.commons.mapper.MapperException
Constructor for MapperException.
MapperException(String) - Constructor for exception org.apache.commons.mapper.MapperException
Constructor for MapperException.
MapperException(String, Throwable) - Constructor for exception org.apache.commons.mapper.MapperException
Constructor for MapperException.
MapperException(Throwable) - Constructor for exception org.apache.commons.mapper.MapperException
Constructor for MapperException.
MapperFactory - Class in org.apache.commons.mapper
MapperFactory is responsible for creating mappers based on domain class names or any other String name.
MapperFactory(Map) - Constructor for class org.apache.commons.mapper.MapperFactory
Create a new MapperFactory with the mappings contained in the given Map.
MapperFactoryEvent - Class in org.apache.commons.mapper
An event that MapperFactory generates.
MapperFactoryEvent(MapperFactory) - Constructor for class org.apache.commons.mapper.MapperFactoryEvent
Constructor for MapperFactoryEvent.
MapperFactoryEvent(MapperFactory, Mapper) - Constructor for class org.apache.commons.mapper.MapperFactoryEvent
Constructor for MapperFactoryEvent.
MapperFactoryListener - Interface in org.apache.commons.mapper
Listeners are notified every time a MapperFactory creates a new Mapper instance.

N

nameMap - Variable in class org.apache.commons.mapper.util.ObjectFactory
Stores "name"="qualified class name".

O

ObjectFactory - Class in org.apache.commons.mapper.util
ObjectFactory maps string names to classes to be instantiated.
ObjectFactory(Map) - Constructor for class org.apache.commons.mapper.util.ObjectFactory
Create an ObjectFactory with the given mapping of names to fully qualified class names.
ObjectNotFoundException - Exception in org.apache.commons.mapper
Indicates that the requested Object could not be found in the datastore.
ObjectNotFoundException() - Constructor for exception org.apache.commons.mapper.ObjectNotFoundException
Constructor for ObjectNotFoundException.
ObjectNotFoundException(String) - Constructor for exception org.apache.commons.mapper.ObjectNotFoundException
Constructor for ObjectNotFoundException.
ObjectNotFoundException(String, Throwable) - Constructor for exception org.apache.commons.mapper.ObjectNotFoundException
Constructor for ObjectNotFoundException.
ObjectNotFoundException(Throwable) - Constructor for exception org.apache.commons.mapper.ObjectNotFoundException
Constructor for ObjectNotFoundException.
org.apache.commons.mapper - package org.apache.commons.mapper
 
org.apache.commons.mapper.util - package org.apache.commons.mapper.util
 

R

removeMapperFactoryListener(MapperFactoryListener) - Method in class org.apache.commons.mapper.MapperFactory
Unregister a listener from this MapperFactory.

U

UniqueFieldAlreadyExistsException - Exception in org.apache.commons.mapper
Indicates that a record was unable to be created in the datastore because a unique field would have duplicates.
UniqueFieldAlreadyExistsException() - Constructor for exception org.apache.commons.mapper.UniqueFieldAlreadyExistsException
Constructor for UniqueFieldAlreadyExistsException.
UniqueFieldAlreadyExistsException(String) - Constructor for exception org.apache.commons.mapper.UniqueFieldAlreadyExistsException
Constructor for UniqueFieldAlreadyExistsException.
UniqueFieldAlreadyExistsException(String, Throwable) - Constructor for exception org.apache.commons.mapper.UniqueFieldAlreadyExistsException
Constructor for UniqueFieldAlreadyExistsException.
UniqueFieldAlreadyExistsException(Throwable) - Constructor for exception org.apache.commons.mapper.UniqueFieldAlreadyExistsException
Constructor for UniqueFieldAlreadyExistsException.
update(Object) - Method in interface org.apache.commons.mapper.Mapper
Update the given object in the data store.
update(Object) - Method in class org.apache.commons.mapper.MapperAdapter
 

A C D E F G H M N O R U

Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.