Class Invitation
- java.lang.Object
-
- org.silverpeas.core.socialnetwork.invitation.Invitation
-
- Direct Known Subclasses:
InvitationEntity
public class Invitation extends Object
-
-
Constructor Summary
Constructors Constructor Description Invitation()
Default ConstructorInvitation(int senderId, int receiverId, String message, Date invitationDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getId()
get Id of invitationDate
getInvitationDate()
get Date of invitationString
getMessage()
get Message of invitationint
getReceiverId()
get the receiver of invitationint
getSenderId()
get the sender of invitationint
hashCode()
void
setId(int id)
void
setInvitationDate(Date invitationDate)
void
setMessage(String message)
void
setReceiverId(int receiverId)
void
setSenderId(int senderId)
-
-
-
Method Detail
-
getId
public int getId()
get Id of invitation- Returns:
- id the invitation identifier
-
getInvitationDate
public Date getInvitationDate()
get Date of invitation- Returns:
- Date
-
getMessage
public String getMessage()
get Message of invitation- Returns:
- String
-
getReceiverId
public int getReceiverId()
get the receiver of invitation- Returns:
- int
-
getSenderId
public int getSenderId()
get the sender of invitation- Returns:
- int
-
setId
public void setId(int id)
-
setInvitationDate
public void setInvitationDate(Date invitationDate)
-
setMessage
public void setMessage(String message)
-
setReceiverId
public void setReceiverId(int receiverId)
-
setSenderId
public void setSenderId(int senderId)
-
-