|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.socialnetwork.relationShip.RelationShip
public class RelationShip
Constructor Summary | |
---|---|
RelationShip()
|
|
RelationShip(int user1Id,
int user2Id,
int typeRelationShipId,
Date acceptanceDate,
int inviterId)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
Date |
getAcceptanceDate()
get date of relationShip |
int |
getId()
get id of relationShip |
int |
getInviterId()
get the inviter |
int |
getTypeRelationShipId()
get the id of this ralationShip type |
int |
getUser1Id()
get the first user of this Invitation (the inviter) |
int |
getUser2Id()
get the second user of this Invitation |
int |
hashCode()
|
void |
setAcceptanceDate(Date acceptanceDate)
set the date of relationShip |
void |
setId(int id)
set the id of relationShip |
void |
setInviterId(int inviterId)
set the inviter user |
void |
setTypeRelationShipId(int typeRelationShipId)
set the date of relationShip |
void |
setUser1Id(int user1Id)
set the first user of relationShip |
void |
setUser2Id(int user2Id)
set the second user of relationShip |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RelationShip(int user1Id, int user2Id, int typeRelationShipId, Date acceptanceDate, int inviterId)
public RelationShip()
Method Detail |
---|
public int getId()
public Date getAcceptanceDate()
public int getTypeRelationShipId()
public int getUser1Id()
public int getUser2Id()
public void setId(int id)
int
- idpublic void setAcceptanceDate(Date acceptanceDate)
Date
- acceptanceDatepublic void setTypeRelationShipId(int typeRelationShipId)
int
- typeRelationShipIdpublic void setUser1Id(int user1Id)
int
- user1Idpublic void setUser2Id(int user2Id)
int
- user2Idpublic void setInviterId(int inviterId)
int
- inviterIdpublic int getInviterId()
public boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
true
if this object is the same as the obj argument; false
otherwise.public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |