nl.surfnet.coin.teams.domain
Class InvitationMessage
java.lang.Object
nl.surfnet.coin.shared.domain.DomainObject
nl.surfnet.coin.teams.domain.InvitationMessage
- All Implemented Interfaces:
- Serializable, Comparable<InvitationMessage>
public class InvitationMessage
- extends nl.surfnet.coin.shared.domain.DomainObject
- implements Comparable<InvitationMessage>
Message content of the sent invitation
- See Also:
- Serialized Form
| Methods inherited from class nl.surfnet.coin.shared.domain.DomainObject |
equals, getId, hashCode, setId, toString |
InvitationMessage
public InvitationMessage()
- Constructor necessary for Hibernate
InvitationMessage
public InvitationMessage(String message,
String inviter)
getInvitation
public Invitation getInvitation()
- Returns:
Invitation basic information
setInvitation
public void setInvitation(Invitation invitation)
- Parameters:
invitation - Invitation to set
getMessage
public String getMessage()
- Returns:
- message body that was sent
setMessage
public void setMessage(String message)
- Parameters:
message - body to sent
getInviter
public String getInviter()
- Returns:
- id of the person that has sent the invitation
setInviter
public void setInviter(String inviter)
- Parameters:
inviter - person the sends the invitation
getTimestamp
public long getTimestamp()
- Returns:
- timestamp of the invitation
setTimestamp
public void setTimestamp(long timestamp)
- Parameters:
timestamp - of the invitation
compareTo
public int compareTo(InvitationMessage o)
- Specified by:
compareTo in interface Comparable<InvitationMessage>
Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.