org.objectweb.jorm.api

Class ClassMappedEvent


public class ClassMappedEvent
extends EventObject

This event is sent when a persistent class is mapped.

Author:
S.Chassande-Barrioz

Constructor Summary

ClassMappedEvent(PMapper mapper, String jormClassName)

Method Summary

String
getJormClassName()
PMapper
getPMapper()

Constructor Details

ClassMappedEvent

public ClassMappedEvent(PMapper mapper,
                        String jormClassName)

Parameters:
mapper - is the mapper containing the new persistent class. The mapper is the source of the event.
jormClassName - is the name of the persistent class which has been mapped.

Method Details

getJormClassName

public String getJormClassName()

Returns:
The name of the persistent class which has been mapped.


getPMapper

public PMapper getPMapper()

Returns:
the mapper containing the new persistent class. The mapper is the source of the event.