/** * If not already created, a new <code>entity-listeners</code> element with the given value will be created. * Otherwise, the existing <code>entity-listeners</code> element will be returned. * @return a new or existing instance of <code>EntityListeners<Entity<T>></code> */ public EntityListeners<Entity<T>> getOrCreateEntityListeners() { Node node = childNode.getOrCreate("entity-listeners"); EntityListeners<Entity<T>> entityListeners = new EntityListenersImpl<Entity<T>>(this, "entity-listeners", childNode, node); return entityListeners; }
/** * If not already created, a new <code>entity-listeners</code> element with the given value will be created. * Otherwise, the existing <code>entity-listeners</code> element will be returned. * @return a new or existing instance of <code>EntityListeners<Entity<T>></code> */ public EntityListeners<Entity<T>> getOrCreateEntityListeners() { Node node = childNode.getOrCreate("entity-listeners"); EntityListeners<Entity<T>> entityListeners = new EntityListenersImpl<Entity<T>>(this, "entity-listeners", childNode, node); return entityListeners; }
/** * If not already created, a new <code>entity-listeners</code> element with the given value will be created. * Otherwise, the existing <code>entity-listeners</code> element will be returned. * @return a new or existing instance of <code>EntityListeners<PersistenceUnitDefaults<T>></code> */ public EntityListeners<PersistenceUnitDefaults<T>> getOrCreateEntityListeners() { Node node = childNode.getOrCreate("entity-listeners"); EntityListeners<PersistenceUnitDefaults<T>> entityListeners = new EntityListenersImpl<PersistenceUnitDefaults<T>>(this, "entity-listeners", childNode, node); return entityListeners; }
/** * If not already created, a new <code>entity-listeners</code> element with the given value will be created. * Otherwise, the existing <code>entity-listeners</code> element will be returned. * @return a new or existing instance of <code>EntityListeners<MappedSuperclass<T>></code> */ public EntityListeners<MappedSuperclass<T>> getOrCreateEntityListeners() { Node node = childNode.getOrCreate("entity-listeners"); EntityListeners<MappedSuperclass<T>> entityListeners = new EntityListenersImpl<MappedSuperclass<T>>(this, "entity-listeners", childNode, node); return entityListeners; }
/** * If not already created, a new <code>entity-listeners</code> element with the given value will be created. * Otherwise, the existing <code>entity-listeners</code> element will be returned. * @return a new or existing instance of <code>EntityListeners<MappedSuperclass<T>></code> */ public EntityListeners<MappedSuperclass<T>> getOrCreateEntityListeners() { Node node = childNode.getOrCreate("entity-listeners"); EntityListeners<MappedSuperclass<T>> entityListeners = new EntityListenersImpl<MappedSuperclass<T>>(this, "entity-listeners", childNode, node); return entityListeners; }
/** * If not already created, a new <code>entity-listeners</code> element with the given value will be created. * Otherwise, the existing <code>entity-listeners</code> element will be returned. * @return a new or existing instance of <code>EntityListeners<PersistenceUnitDefaults<T>></code> */ public EntityListeners<PersistenceUnitDefaults<T>> getOrCreateEntityListeners() { Node node = childNode.getOrCreate("entity-listeners"); EntityListeners<PersistenceUnitDefaults<T>> entityListeners = new EntityListenersImpl<PersistenceUnitDefaults<T>>(this, "entity-listeners", childNode, node); return entityListeners; }