org.hibernate.jpamodelgen.xml.jaxb
Class EntityListeners

java.lang.Object
  extended by org.hibernate.jpamodelgen.xml.jaxb.EntityListeners

public class EntityListeners
extends Object


Field Summary
protected  List<EntityListener> entityListener
           
 
Constructor Summary
EntityListeners()
           
 
Method Summary
 List<EntityListener> getEntityListener()
          Gets the value of the entityListener property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityListener

protected List<EntityListener> entityListener
Constructor Detail

EntityListeners

public EntityListeners()
Method Detail

getEntityListener

public List<EntityListener> getEntityListener()
Gets the value of the entityListener property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the entityListener property.

For example, to add a new item, do as follows:

    getEntityListener().add(newItem);
 

Objects of the following type(s) are allowed in the list EntityListener



Copyright © 2009-2010. All Rights Reserved.