org.hibernate.test.annotations.manytomany
Class Friend
java.lang.Object
org.hibernate.test.annotations.manytomany.Friend
- All Implemented Interfaces:
- Serializable
@Entity
public class Friend
- extends Object
- implements Serializable
Friend has other friends in a many to many way
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Friend
public Friend()
getId
public Integer getId()
getName
public String getName()
setId
public void setId(Integer integer)
setName
public void setName(String string)
getFriends
public Set<Friend> getFriends()
setFriends
public void setFriends(Set<Friend> friend)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.