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.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
-
-
-
-
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
-
-