nl.surfnet.coin.teams.domain
Class JoinTeamRequest
java.lang.Object
nl.surfnet.coin.shared.domain.DomainObject
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
| Methods inherited from class nl.surfnet.coin.shared.domain.DomainObject |
equals, getId, hashCode, setId, toString |
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 PersongroupId - id of the Team
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.