Package jmri.configurexml
Class LoadAndStorePermissionOwner.LoadXmlFilePermission
- java.lang.Object
-
- jmri.configurexml.LoadAndStorePermissionOwner.LoadXmlFilePermission
-
- All Implemented Interfaces:
java.util.Comparator<PermissionValue>,BooleanPermission,Permission
- Enclosing class:
- LoadAndStorePermissionOwner
public static class LoadAndStorePermissionOwner.LoadXmlFilePermission extends java.lang.Object implements BooleanPermission
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jmri.BooleanPermission
BooleanPermission.BooleanValue
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanPermission.BooleanValuegetDefaultPermission(Role role)Get the default permission for a role.java.lang.StringgetName()Get the name of the permissionPermissionOwnergetOwner()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
-
-
-
-
Method Detail
-
getOwner
public PermissionOwner getOwner()
Description copied from interface:PermissionGet the owner- Specified by:
getOwnerin interfacePermission- Returns:
- the owner
-
getName
public java.lang.String getName()
Description copied from interface:PermissionGet the name of the permission- Specified by:
getNamein interfacePermission- Returns:
- the name
-
getDefaultPermission
public BooleanPermission.BooleanValue getDefaultPermission(Role role)
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
-
-