Package jmri
Class PermissionsSystemAdmin.PermissionEditOwnPassword
java.lang.Object
jmri.PermissionsSystemAdmin.PermissionEditOwnPassword
- All Implemented Interfaces:
Comparator<PermissionValue>,BooleanPermission,Permission
- Enclosing class:
- PermissionsSystemAdmin
public static class PermissionsSystemAdmin.PermissionEditOwnPassword
extends Object
implements BooleanPermission
-
Nested Class Summary
Nested classes/interfaces inherited from interface jmri.BooleanPermission
BooleanPermission.BooleanValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultPermission(Role role) Get the default permission for a role.getName()Get the name of the permissiongetOwner()Get the ownerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jmri.BooleanPermission
compare, getDefaultPermission, getValue, valueOfMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
PermissionEditOwnPassword
public PermissionEditOwnPassword()
-
-
Method Details
-
getOwner
Description copied from interface:PermissionGet the owner- Specified by:
getOwnerin interfacePermission- Returns:
- the owner
-
getName
Description copied from interface:PermissionGet the name of the permission- Specified by:
getNamein interfacePermission- Returns:
- the name
-
getDefaultPermission
Description copied from interface:BooleanPermissionGet the default permission for a role.- Specified by:
getDefaultPermissionin interfaceBooleanPermission- Specified by:
getDefaultPermissionin interfacePermission- Parameters:
role- the role- Returns:
- the default
-