package user; import java.util.*; /** * A single key/value store. */ class Permission { /** * Name of the given permission. */ String key; /** * Name of the associated value. */ String value; } /** * Encapsulates a set of permissions for a single user or class of users, * used as a key/value store in LevelPermission and UserPermission. */ public class Permissions { /** * Set of permissions set for the associated group and/or person. */ Collection permissions; }