org.hibernate.test.unionsubclass2
Class Person
java.lang.Object
org.hibernate.test.unionsubclass2.Person
- Direct Known Subclasses:
- Customer, Employee
public class Person
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Person
public Person()
getAddress
public Address getAddress()
- Returns:
- Returns the address.
setAddress
public void setAddress(String string)
setZip
public void setZip(String string)
setCountry
public void setCountry(String string)
getSex
public char getSex()
- Returns:
- Returns the sex.
setSex
public void setSex(char sex)
- Parameters:
sex
- The sex to set.
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 identity.
setName
public void setName(String identity)
- Parameters:
identity
- The identity to set.
getHeightInches
public double getHeightInches()
- Returns:
- Returns the height in inches.
setHeightInches
public void setHeightInches(double heightInches)
- Parameters:
heightInches
- The height in inches to set.
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.