com.mycompany.model
Class UserRelationship
java.lang.Object
com.mycompany.model.AbstractEntity
com.mycompany.model.UserRelationship
- All Implemented Interfaces:
- java.io.Serializable
@Entity
public class UserRelationship
- extends AbstractEntity
JPA entity for a relationship between two users.
- Author:
- Ian Hlavats (ian@tarantulaconsulting.com)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
UserRelationship
public UserRelationship()
getRelationshipType
public RelationshipType getRelationshipType()
getFromUser
public User getFromUser()
getToUser
public User getToUser()
setRelationshipType
public void setRelationshipType(RelationshipType contactType)
setFromUser
public void setFromUser(User firstUser)
setToUser
public void setToUser(User secondUser)