org.hibernate.test.annotations.manytomany
Class Cat

java.lang.Object
  extended by org.hibernate.test.annotations.manytomany.Cat

@Entity
public class Cat
extends Object


Constructor Summary
Cat()
           
 
Method Summary
 boolean equals(Object o)
           
 int getAge()
           
 Set<Woman> getHumanContacts()
           
 CatPk getId()
           
 int hashCode()
           
 void setAge(int age)
           
 void setHumanContacts(Set<Woman> humanContacts)
           
 void setId(CatPk id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cat

public Cat()
Method Detail

getHumanContacts

public Set<Woman> getHumanContacts()

setHumanContacts

public void setHumanContacts(Set<Woman> humanContacts)

getId

public CatPk getId()

setId

public void setId(CatPk id)

getAge

public int getAge()

setAge

public void setAge(int age)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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