nl.surfnet.coin.teams.domain
Class JoinTeamRequest

java.lang.Object
  extended by nl.surfnet.coin.shared.domain.DomainObject
      extended by nl.surfnet.coin.teams.domain.JoinTeamRequest
All Implemented Interfaces:
Serializable

public class JoinTeamRequest
extends nl.surfnet.coin.shared.domain.DomainObject

Represents the request to join a team

See Also:
Serialized Form

Constructor Summary
JoinTeamRequest()
          Necessary constructor for Hibernate.
JoinTeamRequest(String personId, String groupId)
          Constructor with required fields
 
Method Summary
 String getGroupId()
           
 String getMessage()
           
 String getPersonId()
           
 long getTimestamp()
           
 void setGroupId(String groupId)
           
 void setMessage(String message)
           
 void setPersonId(String personId)
           
 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

JoinTeamRequest

public JoinTeamRequest()
Necessary constructor for Hibernate. Avoid to call this in the code.


JoinTeamRequest

public JoinTeamRequest(String personId,
                       String groupId)
Constructor with required fields

Parameters:
personId - id of the Person
groupId - id of the Team
Method Detail

getGroupId

public String getGroupId()
Returns:
id of the group

setGroupId

public void setGroupId(String groupId)
Parameters:
groupId - to set

getTimestamp

public long getTimestamp()
Returns:
timestamp of the request

setTimestamp

public void setTimestamp(long timestamp)
Parameters:
timestamp - of the request

getPersonId

public String getPersonId()
Returns:
personId that wants to join the team

setPersonId

public void setPersonId(String personId)
Parameters:
personId - to set

getMessage

public String getMessage()
Returns:
message that was sent during the request

setMessage

public void setMessage(String message)
Parameters:
message - to send to the admin/manager of the group


Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.