org.hibernate.test.unionsubclass
Class Location
java.lang.Object
org.hibernate.test.unionsubclass.Location
public class Location
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Location
public Location(String name)
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.