org.hibernate.test.hql
Class SimpleAssociatedEntity

java.lang.Object
  extended by org.hibernate.test.hql.SimpleAssociatedEntity

public class SimpleAssociatedEntity
extends Object


Constructor Summary
SimpleAssociatedEntity()
           
SimpleAssociatedEntity(String name)
           
SimpleAssociatedEntity(String name, SimpleEntityWithAssociation owner)
           
 
Method Summary
 void bindToOwner(SimpleEntityWithAssociation owner)
           
 Long getId()
           
 String getName()
           
 SimpleEntityWithAssociation getOwner()
           
 void setId(Long id)
           
 void setName(String name)
           
 void setOwner(SimpleEntityWithAssociation owner)
           
 void unbindFromCurrentOwner()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAssociatedEntity

public SimpleAssociatedEntity()

SimpleAssociatedEntity

public SimpleAssociatedEntity(String name)

SimpleAssociatedEntity

public SimpleAssociatedEntity(String name,
                              SimpleEntityWithAssociation owner)
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getName

public String getName()

setName

public void setName(String name)

getOwner

public SimpleEntityWithAssociation getOwner()

setOwner

public void setOwner(SimpleEntityWithAssociation owner)

bindToOwner

public void bindToOwner(SimpleEntityWithAssociation owner)

unbindFromCurrentOwner

public void unbindFromCurrentOwner()


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