org.hibernate.test.discriminator
Class Customer

java.lang.Object
  extended by org.hibernate.test.discriminator.Person
      extended by org.hibernate.test.discriminator.Customer

public class Customer
extends Person


Constructor Summary
Customer()
           
 
Method Summary
 String getComments()
           
 Employee getSalesperson()
           
 void setComments(String comments)
           
 void setSalesperson(Employee salesperson)
           
 
Methods inherited from class org.hibernate.test.discriminator.Person
getAddress, getId, getName, getSex, setAddress, setCountry, setId, setName, setSex, setZip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Customer

public Customer()
Method Detail

getSalesperson

public Employee getSalesperson()
Returns:
Returns the salesperson.

setSalesperson

public void setSalesperson(Employee salesperson)
Parameters:
salesperson - The salesperson to set.

getComments

public String getComments()
Returns:
Returns the comments.

setComments

public void setComments(String comments)
Parameters:
comments - The comments to set.


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