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


Method Summary
 void addAllChildren(Collection children)
           
 void addChild(Child child)
           
 Child addChild(String name)
           
 void clearChildren()
           
 Child createChild(String name)
           
 Collection getChildren()
           
 Long getId()
           
 String getName()
           
 void newChildren(Collection collection)
           
 void removeAllChildren(Collection children)
           
 void removeChild(Child child)
           
 void setChildren(Collection children)
           
 void setId(Long id)
           
 void setName(String name)
           
 

Method Detail

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.