Class MemberRecord
java.lang.Object
uk.ac.manchester.spinnaker.alloc.model.MemberRecord
Description of the membership of one user in one group.
- Author:
- Donal Fellows
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintintgetId()intvoidsetGroupId(int groupId) voidsetGroupName(String groupName) voidsetGroupUrl(URI groupUrl) voidsetId(int id) voidsetUserId(int userId) voidsetUserName(String userName) voidsetUserUrl(URI userUrl) 
- 
Constructor Details- 
MemberRecordpublic MemberRecord()
 
- 
- 
Method Details- 
getIdpublic int getId()- Returns:
- The ID of this membership. Distinct from both the user and the group.
 
- 
setIdpublic void setId(int id) - Parameters:
- id- The ID of this membership. Distinct from both the user and the group.
 
- 
getGroupIdpublic int getGroupId()- Returns:
- The ID of the group that this is a membership of.
 
- 
setGroupIdpublic void setGroupId(int groupId) - Parameters:
- groupId- The ID of the group that this is a membership of.
 
- 
getGroupName- Returns:
- The name of the group that this is a membership of.
 
- 
setGroupName- Parameters:
- groupName- The name of the group that this is a membership of.
 
- 
getGroupUrl- Returns:
- The URL for the group that this is a membership of.
 
- 
setGroupUrl- Parameters:
- groupUrl- The URL for the group that this is a membership of.
 
- 
getUserIdpublic int getUserId()- Returns:
- The ID of the user that this is a membership of.
 
- 
setUserIdpublic void setUserId(int userId) - Parameters:
- userId- The ID of the user that this is a membership of.
 
- 
getUserName- Returns:
- The name of the user that this is a membership of.
 
- 
setUserName- Parameters:
- userName- The name of the user that this is a membership of.
 
- 
getUserUrl- Returns:
- The URL for the user that this is a membership of.
 
- 
setUserUrl- Parameters:
- userUrl- The URL for the user that this is a membership of.
 
 
-