org.hibernate.test.event.collection.association.bidirectional.onetomany
Class ParentWithBidirectionalOneToMany
java.lang.Object
org.hibernate.test.event.collection.AbstractParentWithCollection
org.hibernate.test.event.collection.association.bidirectional.onetomany.ParentWithBidirectionalOneToMany
- All Implemented Interfaces:
- Entity, ParentWithCollection
- Direct Known Subclasses:
- ParentWithBidirectionalOneToManySubclass
public class ParentWithBidirectionalOneToMany
- extends AbstractParentWithCollection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParentWithBidirectionalOneToMany
public ParentWithBidirectionalOneToMany()
ParentWithBidirectionalOneToMany
public ParentWithBidirectionalOneToMany(String name)
createChild
public Child createChild(String name)
addChild
public Child addChild(String name)
- Specified by:
addChild
in interface ParentWithCollection
- Overrides:
addChild
in class AbstractParentWithCollection
addChild
public void addChild(Child child)
- Specified by:
addChild
in interface ParentWithCollection
- Overrides:
addChild
in class AbstractParentWithCollection
newChildren
public void newChildren(Collection children)
- Specified by:
newChildren
in interface ParentWithCollection
- Overrides:
newChildren
in class AbstractParentWithCollection
removeChild
public void removeChild(Child child)
- Specified by:
removeChild
in interface ParentWithCollection
- Overrides:
removeChild
in class AbstractParentWithCollection
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.