org.hibernate.test.event.collection
Interface ParentWithCollection
- All Superinterfaces:
- Entity
- All Known Implementing Classes:
- AbstractParentWithCollection, ParentWithBidirectionalManyToMany, ParentWithBidirectionalOneToMany, ParentWithBidirectionalOneToManySubclass, ParentWithCollectionOfEntities, ParentWithCollectionOfValues
public interface ParentWithCollection
- extends Entity
newChildren
void newChildren(Collection collection)
createChild
Child createChild(String name)
getId
Long getId()
- Specified by:
getId
in interface Entity
setId
void setId(Long id)
- Specified by:
setId
in interface Entity
getName
String getName()
setName
void setName(String name)
getChildren
Collection getChildren()
setChildren
void setChildren(Collection children)
addChild
Child addChild(String name)
addChild
void addChild(Child child)
addAllChildren
void addAllChildren(Collection children)
removeChild
void removeChild(Child child)
removeAllChildren
void removeAllChildren(Collection children)
clearChildren
void clearChildren()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.