Package jmri
Class PermissionsSystemAdmin.PermissionEditOwnPassword
- java.lang.Object
-
- jmri.PermissionsSystemAdmin.PermissionEditOwnPassword
-
- All Implemented Interfaces:
java.util.Comparator<PermissionValue>
,BooleanPermission
,Permission
- Enclosing class:
- PermissionsSystemAdmin
public static class PermissionsSystemAdmin.PermissionEditOwnPassword extends java.lang.Object implements BooleanPermission
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jmri.BooleanPermission
BooleanPermission.BooleanValue
-
-
Constructor Summary
Constructors Constructor Description PermissionEditOwnPassword()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanPermission.BooleanValue
getDefaultPermission(Role role)
Get the default permission for a role.java.lang.String
getName()
Get the name of the permissionPermissionOwner
getOwner()
Get the owner-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jmri.BooleanPermission
compare, getDefaultPermission, getValue, valueOf
-
-
-
-
Constructor Detail
-
PermissionEditOwnPassword
public PermissionEditOwnPassword()
-
-
Method Detail
-
getOwner
public PermissionOwner getOwner()
Description copied from interface:Permission
Get the owner- Specified by:
getOwner
in interfacePermission
- Returns:
- the owner
-
getName
public java.lang.String getName()
Description copied from interface:Permission
Get the name of the permission- Specified by:
getName
in interfacePermission
- Returns:
- the name
-
getDefaultPermission
public BooleanPermission.BooleanValue getDefaultPermission(Role role)
Description copied from interface:BooleanPermission
Get the default permission for a role.- Specified by:
getDefaultPermission
in interfaceBooleanPermission
- Specified by:
getDefaultPermission
in interfacePermission
- Parameters:
role
- the role- Returns:
- the default
-
-