org.hibernate.test.hql
Class SimpleEntityWithAssociation

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

public class SimpleEntityWithAssociation
extends Object


Constructor Summary
SimpleEntityWithAssociation()
           
SimpleEntityWithAssociation(String name)
           
 
Method Summary
 void addAssociation(SimpleAssociatedEntity association)
           
 SimpleAssociatedEntity addAssociation(String name)
           
 Set getAssociatedEntities()
           
 Long getId()
           
 Set getManyToManyAssociatedEntities()
           
 String getName()
           
 Integer getNegatedNumber()
           
 void removeAssociation(SimpleAssociatedEntity association)
           
 void setAssociatedEntities(Set associatedEntities)
           
 void setId(Long id)
           
 void setManyToManyAssociatedEntities(Set manyToManyAssociatedEntities)
           
 void setName(String name)
           
 void setNegatedNumber(Integer negatedNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleEntityWithAssociation

public SimpleEntityWithAssociation()

SimpleEntityWithAssociation

public SimpleEntityWithAssociation(String name)
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getName

public String getName()

setName

public void setName(String name)

getNegatedNumber

public Integer getNegatedNumber()

setNegatedNumber

public void setNegatedNumber(Integer negatedNumber)

getAssociatedEntities

public Set getAssociatedEntities()

setAssociatedEntities

public void setAssociatedEntities(Set associatedEntities)

addAssociation

public SimpleAssociatedEntity addAssociation(String name)

addAssociation

public void addAssociation(SimpleAssociatedEntity association)

removeAssociation

public void removeAssociation(SimpleAssociatedEntity association)

getManyToManyAssociatedEntities

public Set getManyToManyAssociatedEntities()

setManyToManyAssociatedEntities

public void setManyToManyAssociatedEntities(Set manyToManyAssociatedEntities)


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