org.hibernate.test.unionsubclass
Class Human

java.lang.Object
  extended by org.hibernate.test.unionsubclass.Being
      extended by org.hibernate.test.unionsubclass.Human
Direct Known Subclasses:
Employee

public class Human
extends Being


Constructor Summary
Human()
           
 
Method Summary
 char getSex()
           
 String getSpecies()
           
 void setSex(char sex)
           
 
Methods inherited from class org.hibernate.test.unionsubclass.Being
getId, getIdentity, getInfo, getLocation, getThings, setId, setIdentity, setInfo, setLocation, setThings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Human

public Human()
Method Detail

getSex

public char getSex()
Returns:
Returns the sex.

setSex

public void setSex(char sex)
Parameters:
sex - The sex to set.

getSpecies

public String getSpecies()
Overrides:
getSpecies in class Being


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