org.hibernate.test.filter.hql
Class Person

java.lang.Object
  extended by org.hibernate.test.filter.hql.Person
Direct Known Subclasses:
User

public class Person
extends Object

Base of inheritence hierarchy


Constructor Summary
protected Person()
          Used by persistence
  Person(String name, char sex)
           
 
Method Summary
 Long getId()
           
 String getName()
           
 char getSex()
           
 void setName(String name)
           
 void setSex(char sex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

protected Person()
Used by persistence


Person

public Person(String name,
              char sex)
Method Detail

getId

public Long getId()

getName

public String getName()

setName

public void setName(String name)

getSex

public char getSex()

setSex

public void setSex(char sex)


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