public class EntityListenerMetadataImpl extends java.lang.Object implements EntityListenerMetadata
EntityListenerMetadata.EntityListenerMetadata.EntityListenerType| Constructor and Description |
|---|
EntityListenerMetadataImpl(AbstractLocator locator,
java.lang.Class<?> clazz) |
EntityListenerMetadataImpl(AbstractLocator locator,
java.lang.Class<?> clazz,
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> annotationsParsed) |
EntityListenerMetadataImpl(AbstractLocator locator,
EntityListenerMetadata metadata) |
EntityListenerMetadataImpl(AbstractLocator locator,
IdentifiableTypeMetadata metadata,
java.lang.String className) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CallbackMetadata> |
getCallbacks()
Returns the list of callbacks.
|
java.lang.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, java.lang.Class<?> clazz)
locator - the locatorclazz - the name of the classpublic EntityListenerMetadataImpl(AbstractLocator locator, java.lang.Class<?> clazz, java.util.Set<java.lang.Class<? extends java.lang.annotation.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, java.lang.String className)
locator - the locatormetadata - the metadataclassName - the name of the classpublic java.util.List<CallbackMetadata> getCallbacks()
getCallbacks in interface EntityListenerMetadatapublic java.lang.String getClassName()
getClassName in interface EntityListenerMetadatapublic AbstractLocator getLocator()
getLocator in interface LocatableMatadatapublic boolean self()
Copyright © 2012-2013 Batoo Software & Consultancy. All Rights Reserved.