public class EntityListenerMetadataImpl extends Object implements EntityListenerMetadata
EntityListenerMetadata.EntityListenerMetadata.EntityListenerType| Constructor and Description |
|---|
EntityListenerMetadataImpl(AbstractLocator locator,
Class<?> clazz) |
EntityListenerMetadataImpl(AbstractLocator locator,
Class<?> clazz,
Set<Class<? extends Annotation>> annotationsParsed) |
EntityListenerMetadataImpl(AbstractLocator locator,
EntityListenerMetadata metadata) |
EntityListenerMetadataImpl(AbstractLocator locator,
IdentifiableTypeMetadata metadata,
String className) |
| Modifier and Type | Method and Description |
|---|---|
List<CallbackMetadata> |
getCallbacks()
Returns the list of callbacks.
|
String |
getClassName()
Returns the entity listener class.
|
AbstractLocator |
getLocator()
Returns the locator.
|
boolean |
self()
Returns if the listeners is the entity itself.
|
public EntityListenerMetadataImpl(AbstractLocator locator, Class<?> clazz)
locator - the locatorclazz - the name of the classpublic EntityListenerMetadataImpl(AbstractLocator locator, Class<?> clazz, Set<Class<? extends Annotation>> annotationsParsed)
locator - the locatorclazz - the classannotationsParsed - the set of annotations parsedpublic EntityListenerMetadataImpl(AbstractLocator locator, EntityListenerMetadata metadata)
locator - the locatormetadata - the metadatapublic EntityListenerMetadataImpl(AbstractLocator locator, IdentifiableTypeMetadata metadata, String className)
locator - the locatormetadata - the metadataclassName - the name of the classpublic List<CallbackMetadata> getCallbacks()
getCallbacks in interface EntityListenerMetadatapublic String getClassName()
getClassName in interface EntityListenerMetadatapublic AbstractLocator getLocator()
getLocator in interface LocatableMatadatapublic boolean self()
Copyright © 2012-2013 Batoo. All Rights Reserved.