org.objectweb.jorm.api
Class ClassMappedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.objectweb.jorm.api.ClassMappedEvent
All Implemented Interfaces:
java.io.Serializable

public class ClassMappedEvent
extends java.util.EventObject

This event is sent when a persistent class is mapped.

Author:
S.Chassande-Barrioz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ClassMappedEvent(PMapper mapper, java.lang.String jormClassName)
           
 
Method Summary
 java.lang.String getJormClassName()
           
 PMapper getPMapper()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassMappedEvent

public ClassMappedEvent(PMapper mapper,
                        java.lang.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 Detail

getPMapper

public PMapper getPMapper()
Returns:
the mapper containing the new persistent class. The mapper is the source of the event.

getJormClassName

public java.lang.String getJormClassName()
Returns:
The name of the persistent class which has been mapped.