org.hibernate.test.event.collection.association.bidirectional.manytomany
Class ChildWithBidirectionalManyToMany

java.lang.Object
  extended by org.hibernate.test.event.collection.ChildValue
      extended by org.hibernate.test.event.collection.ChildEntity
          extended by org.hibernate.test.event.collection.association.bidirectional.manytomany.ChildWithBidirectionalManyToMany
All Implemented Interfaces:
Child, Entity

public class ChildWithBidirectionalManyToMany
extends ChildEntity


Constructor Summary
ChildWithBidirectionalManyToMany()
           
ChildWithBidirectionalManyToMany(String name, Collection parents)
           
 
Method Summary
 void addParent(ParentWithBidirectionalManyToMany parent)
           
 Collection getParents()
           
 void removeParent(ParentWithBidirectionalManyToMany parent)
           
 void setParents(Collection parents)
           
 
Methods inherited from class org.hibernate.test.event.collection.ChildEntity
getId, setId
 
Methods inherited from class org.hibernate.test.event.collection.ChildValue
equals, getName, hashCode, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildWithBidirectionalManyToMany

public ChildWithBidirectionalManyToMany()

ChildWithBidirectionalManyToMany

public ChildWithBidirectionalManyToMany(String name,
                                        Collection parents)
Method Detail

getParents

public Collection getParents()

setParents

public void setParents(Collection parents)

addParent

public void addParent(ParentWithBidirectionalManyToMany parent)

removeParent

public void removeParent(ParentWithBidirectionalManyToMany parent)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.