nl.surfnet.coin.teams.domain
Class InvitationMessage

java.lang.Object
  extended by nl.surfnet.coin.shared.domain.DomainObject
      extended by 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

Constructor Summary
InvitationMessage()
          Constructor necessary for Hibernate
InvitationMessage(String message, String inviter)
           
 
Method Summary
 int compareTo(InvitationMessage o)
           
 Invitation getInvitation()
           
 String getInviter()
           
 String getMessage()
           
 long getTimestamp()
           
 void setInvitation(Invitation invitation)
           
 void setInviter(String inviter)
           
 void setMessage(String message)
           
 void setTimestamp(long timestamp)
           
 
Methods inherited from class nl.surfnet.coin.shared.domain.DomainObject
equals, getId, hashCode, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvitationMessage

public InvitationMessage()
Constructor necessary for Hibernate


InvitationMessage

public InvitationMessage(String message,
                         String inviter)
Method Detail

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.