org.hibernate.test.propertyref.inheritence.discrim
Class Person

java.lang.Object
  extended by org.hibernate.test.propertyref.inheritence.discrim.Person
Direct Known Subclasses:
Customer

public class Person
extends Object


Constructor Summary
Person()
           
 
Method Summary
 Long getId()
           
 String getName()
           
 String getPersonId()
           
 void setId(Long id)
           
 void setName(String name)
           
 void setPersonId(String personId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

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.

getPersonId

public String getPersonId()

setPersonId

public void setPersonId(String personId)


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