org.hibernate.test.unionsubclass
Class Location

java.lang.Object
  extended by org.hibernate.test.unionsubclass.Location

public class Location
extends Object


Constructor Summary
Location(String name)
           
 
Method Summary
 void addBeing(Being b)
           
 Collection getBeings()
           
 long getId()
           
 String getName()
           
 void setBeings(Collection beings)
           
 void setId(long id)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Location

public Location(String name)
Method Detail

addBeing

public void addBeing(Being b)

getId

public long getId()
Returns:
Returns the id.

setId

public void setId(long id)
Parameters:
id - The id to set.

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.

getBeings

public Collection getBeings()
Returns:
Returns the beings.

setBeings

public void setBeings(Collection beings)
Parameters:
beings - The beings to set.


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