com.caucho.amber.type
Class SubListenerType

java.lang.Object
  extended by com.caucho.amber.type.AmberType
      extended by com.caucho.amber.type.AbstractEnhancedType
          extended by com.caucho.amber.type.ListenerType
              extended by com.caucho.amber.type.SubListenerType

public class SubListenerType
extends ListenerType

Represents a listener type with a parent listener: either a default listener declared in orm.xml meta-data or an entity listener specified in @EntityListeners entity annotation.


Field Summary
 
Fields inherited from class com.caucho.amber.type.ListenerType
CALLBACK_CLASS
 
Constructor Summary
SubListenerType(AmberPersistenceUnit amberPersistenceUnit, ListenerType parent)
           
 
Method Summary
 ListenerType getParentType()
          Returns the parent type.
 java.lang.String toString()
          Printable version of the listener.
 
Methods inherited from class com.caucho.amber.type.ListenerType
getInstanceClass
 
Methods inherited from class com.caucho.amber.type.AbstractEnhancedType
addCallback, addPostLoadCallback, addPostPersistCallback, addPostRemoveCallback, addPostUpdateCallback, addPrePersistCallback, addPreRemoveCallback, addPreUpdateCallback, addStubMethod, getBeanClass, getCallbacks, getClassName, getComponentGenerator, getComponentInterfaceName, getConfigException, getInstance, getInstanceClass, getInstanceClassName, getJavaBeanClass, getMethods, getName, getPersistenceUnit, getPostLoadCallbacks, getPostPersistCallbacks, getPostRemoveCallbacks, getPostUpdateCallbacks, getPrePersistCallbacks, getPreRemoveCallbacks, getPreUpdateCallbacks, isEnhanced, isGenerated, isIdClass, isInit, setBeanClass, setConfigException, setEnhanced, setGenerated, setIdClass, setInstance, setInstanceClassLoader, setInstanceClassName, setName
 
Methods inherited from class com.caucho.amber.type.AmberType
findItem, fromObject, generateCastFromObject, generateCreateColumnSQL, generateEquals, generateIncrementVersion, generateIsNull, generateLoad, generateLoad, generateLoadForeign, generateLoadNative, generateNull, generateSet, generateSetNull, generateSetVersion, getColumnCount, getForeignType, getForeignTypeName, getJavaTypeName, getObject, getObject, init, isAssignableTo, isAutoIncrement, isBoolean, isNumeric, setParameter, toObject, toObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubListenerType

public SubListenerType(AmberPersistenceUnit amberPersistenceUnit,
                       ListenerType parent)
Method Detail

getParentType

public ListenerType getParentType()
Returns the parent type.

Overrides:
getParentType in class ListenerType

toString

public java.lang.String toString()
Printable version of the listener.

Overrides:
toString in class ListenerType