Class GroupRecord
java.lang.Object
uk.ac.manchester.spinnaker.alloc.model.GroupRecord
The description and model of a group. POJO class; changes not automatically
 reflected in the DB.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionMake an empty record.GroupRecord(Row row) Make a record from a database query result.
- 
Method SummaryModifier and TypeMethodDescription@Null Integer@NotBlank StringgetQuota()getType()voidsetGroupName(String groupName) voidsetMembers(Map<String, URI> members) void
- 
Constructor Details- 
GroupRecordpublic GroupRecord()Make an empty record.
- 
GroupRecordMake a record from a database query result.- Parameters:
- row- The query result.
 
 
- 
- 
Method Details- 
getGroupId- Returns:
- The group identifier. Read-only; cannot be set by the service.
 
- 
getGroupName- Returns:
- The group's name.
 
- 
setGroupName- Parameters:
- groupName- The group's name.
 
- 
getQuota- Returns:
- The quota of the group in board-seconds, if one exists.
 
- 
setQuota- Parameters:
- quota- The quota of the group in board-seconds, if one exists.
 
- 
getType- Returns:
- What type of group is this.
 
- 
getMembers- Returns:
- The members of the group, if populated.
 
- 
setMembers- Parameters:
- members- The members of the group.
 
 
-