GNDMS 0.6.0
RESTful verison of GNDMS
|
The FilePermissions class is used to control access rights for a file. More...
Inherits java::io::Serializable.
Public Member Functions | |
FilePermissions (String owner, String group, String accessMask) | |
String | getUser () |
void | setUser (String user) |
String | getGroup () |
void | setGroup (String group) |
AccessMask | getAccessMask () |
void | setAccessMask (AccessMask accessMask) |
String | toString () |
Returns a String in format. | |
Private Attributes | |
String | user |
String | group |
AccessMask | accessMask |
Static Private Attributes | |
static final long | serialVersionUID = 6117137011878526291L |
The FilePermissions class is used to control access rights for a file.
An instance corresponds to one user and one file. It contains the AccessMask, describing the concrete access rights, the name of the user and the name of the group, the user belongs to.
User: mjorra, Date: 22.12.2008, Time: 13:12:37
String de.zib.gndms.model.common.types.FilePermissions.toString | ( | ) |
Returns a String in format.
FilePermissions{user='$user', group='$group', acesssMask=$accessMask}
where $user is the username $group is the groupname $accessmask is the accessMask in decimal representation
{ return "FilePermissions{" + "user='" + user + '\'' + ", group='" + group + '\'' + ", accessMask=" + accessMask + '}'; }