Package org.epics.pvdata.accessSecurity
Interface AccessSecurityLevel
-
public interface AccessSecurityLevelInterface for assigning names to access security levels- Author:
- mrk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetLevel(String name)Get the access security level with the specified name.StringgetName(int level)Get the name associated with an access security level.String[]getNames()Get an array of names for each access security level.
-
-
-
Method Detail
-
getName
String getName(int level) throws IndexOutOfBoundsException
Get the name associated with an access security level.- Parameters:
level- the level- Returns:
- the name associated with the level
- Throws:
IndexOutOfBoundsException- if the level does not exist
-
getLevel
int getLevel(String name) throws NoSuchFieldException
Get the access security level with the specified name.- Parameters:
name- the name- Returns:
- the access security level. An exception is thrown for an illegal name.
- Throws:
NoSuchFieldException- if name is illegal
-
getNames
String[] getNames()
Get an array of names for each access security level.- Returns:
- a String array of names
-
-