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 Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMake an empty record.GroupRecord(Row row) Make a record from a database query result. -
Method Summary
Modifier and TypeMethodDescriptiongetQuota()getType()voidsetGroupName(String groupName) voidsetMembers(Map<String, URI> members) void
-
Constructor Details
-
GroupRecord
public GroupRecord()Make an empty record. -
GroupRecord
Make a record from a database query result.- Parameters:
row- The query result.
-
-
Method Details
-
getGroupId
-
getGroupName
-
setGroupName
- Parameters:
groupName- The group's name.
-
getQuota
-
setQuota
- Parameters:
quota- The quota of the group in board-seconds, if one exists.
-
getType
- Returns:
- What type of group is this.
-
getMembers
-
setMembers
-