Package jmri.configurexml
Class LoadAndStorePermissionOwner.LoadXmlFilePermission
java.lang.Object
jmri.configurexml.LoadAndStorePermissionOwner.LoadXmlFilePermission
- All Implemented Interfaces:
Comparator<PermissionValue>,BooleanPermission,Permission
- Enclosing class:
- LoadAndStorePermissionOwner
public static class LoadAndStorePermissionOwner.LoadXmlFilePermission
extends Object
implements BooleanPermission
-
Nested Class Summary
Nested classes/interfaces inherited from interface jmri.BooleanPermission
BooleanPermission.BooleanValue -
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
-
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
-