diff options
author | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-21 20:40:57 +0000 |
---|---|---|
committer | Matt Windsor <mattwindsor@btinternet.com> | 2011-03-21 20:40:57 +0000 |
commit | 2d073129857a42ab4195cd433c8be152e357033f (patch) | |
tree | 967a4bbd1989df9847539a4c4c28e0ca6a79a453 /src/uk/org/ury/database/UserClass.java | |
parent | 0645ec66e1618ce4b52e56212c79196dd7c5c608 (diff) |
Documentation refresh; ResourceBundle in ShowUtils; probably some format pokery.
Diffstat (limited to 'src/uk/org/ury/database/UserClass.java')
-rw-r--r-- | src/uk/org/ury/database/UserClass.java | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/src/uk/org/ury/database/UserClass.java b/src/uk/org/ury/database/UserClass.java index 79af61a..48cb2d3 100644 --- a/src/uk/org/ury/database/UserClass.java +++ b/src/uk/org/ury/database/UserClass.java @@ -3,38 +3,36 @@ */ package uk.org.ury.database; - /** * The various user classes of the database driver. * - * These refer to various users in the database proper, and thus - * grant various levels of permission to the program. + * These refer to various users in the database proper, and thus grant various + * levels of permission to the program. + * + * Please use the least privileged user class that works. For most cases, + * READ_ONLY should work perfectly. * - * Please use the least privileged user class that works. For most - * cases, READ_ONLY should work perfectly. + * @author Matt Windsor * - * @author Matt Windsor - * */ -public enum UserClass - { - // Constant configName - READ_ONLY ("read_only"), - READ_WRITE ("read_write"); - - +public enum UserClass { + // Constant configName + READ_ONLY ("read_only"), + READ_WRITE ("read_write"); + /** - * The name of the tag in the configuration file that contains - * the credentials for this user class. + * The name of the tag in the configuration file that contains the + * credentials for this user class. */ - public String configName; - - - private - UserClass (String configName) - { - this.configName = configName; + + /** + * Constructs a new UserClass. + * + * @param configName The name of the user class in the config. + */ + private UserClass(String configName) { + this.configName = configName; } - } +} |